joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000fd20
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x1000fed0
mov eax, 0x10017080
test eax, eax
je 0x1000fed0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push str.NtSetContextThread
push str.ntdll.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1015eb10], 0x10017080
mov ecx, dword [esi]
mov dword [0x1015eb00], ecx
mov edx, dword [esi + 4]
mov dword [0x1015eb04], edx
mov dword [ebp - 0x2d4], eax
mov eax, dword [esi + 8]
mov dword [0x1015eb08], eax
mov ecx, dword [esi + 0xc]
mov dword [0x1015eb0c], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
call fcn.1000fef0
push eax
push 1
push 0x1a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000fde5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR100.dll_srand]
add esp, 4
push 0x1000fcb0
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0xffffff
idiv ecx
push edx
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
test eax, eax
jne 0x1000fdf8
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001efe5
mov esp, ebp
pop ebp
ret
push edi
mov dword [0x1015eb14], eax
mov dword [ebp - 0x2d0], 0x10010
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push str.NtGetContextThread
push str.ntdll.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [ebp - 0x2d0]
push edx
push edi
call eax
mov eax, dword [esi]
test eax, eax
setne cl
test cl, cl
je 0x1000fe43
mov edx, 1
mov dword [ebp - 0x2cc], eax
jmp 0x1000fe49
mov edx, dword [ebp - 0x2d4]
lea eax, [esi + 4]
test eax, eax
je 0x1000fe64
mov eax, dword [eax]
test eax, eax
setne cl
test cl, cl
je 0x1000fe64
or edx, 4
mov dword [ebp - 0x2c8], eax
lea eax, [esi + 8]
test eax, eax
je 0x1000fe7f
mov eax, dword [eax]
test eax, eax
setne cl
test cl, cl
je 0x1000fe7f
or edx, 0x10
mov dword [ebp - 0x2c4], eax
add esi, 0xc
je 0x1000fe98
mov eax, dword [esi]
test eax, eax
setne cl
test cl, cl
je 0x1000fe98
or edx, 0x40
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2d0]
push eax
push edi
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], edx
call dword [ebp - 0x2d4]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001efe5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.1001efe5
mov esp, ebp
pop ebp
ret
Function at 0x1000fef0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000ff22
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001efe5
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1000ff50
mov ebx, dword [sym.imp.KERNEL32.dll_Thread32Next]
nop
cmp dword [ebp - 0x14], edi
je 0x1000ff69
lea ecx, [ebp - 0x20]
push ecx
push esi
call ebx
test eax, eax
jne 0x1000ff40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001efe5
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop ebx
xor ecx, ebp
pop esi
call fcn.1001efe5
mov esp, ebp
pop ebp
ret
Function at 0x100155f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp + 8]
jne 0x10015629
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001562d
cmp edx, esi
jne 0x10015612
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp + 8]
jne 0x1001564d
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10015651
cmp edx, esi
jne 0x10015636
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 8]
jne 0x10015671
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10015675
cmp edx, esi
jne 0x1001565a
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017790
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x100177ec
mov byte [ebp - 6], al
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], 0x742e4d47
mov word [ebp - 8], 0x7478
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
push esi
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
mov byte [ebp - 6], al
call fcn.100155f0
add esp, 4
call fcn.1001edb0
mov ecx, eax
call fcn.1001ecf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.1001efe5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10019690
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021a28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x100197e8
cmp byte [edi + 0x49], 0
je 0x100197e8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x100197dc
lea esi, [ebp - 0x2c]
call fcn.10019380
mov dword [ebp - 4], 0
mov ebx, 0x10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp eax, ebx
jae 0x1001973b
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x10019740
dec eax
je 0x10019744
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x100197e3
call fcn.100013c0
xor al, al
jmp 0x100197ea
mov eax, dword [ebp - 0x2c]
jmp 0x10019705
mov byte [edi + 0x49], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ecx, ebx
jae 0x10019753
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x10019778
mov eax, edx
cmp ecx, ebx
jae 0x10019763
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x100197d4
cmp byte [edi + 0x49], 0
je 0x100197e0
test esi, esi
jne 0x100196f6
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, eax
cmp edx, 8
jbe 0x10019805
lea esi, [eax + 8]
lea eax, [ebp - 0x2c]
call fcn.10001640
test al, al
je 0x100196f6
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x100197b1
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x18], ebx
jae 0x100197cb
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x100196f6
lea esi, [ebp - 0x2c]
call fcn.100013c0
xor al, al
jmp 0x100197ea
lea esi, [ebp - 0x2c]
call fcn.100013c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001efe5
mov esp, ebp
pop ebp
ret
push 0x10025b4c
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3

Function at 0x1001a8a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xf1
xor ecx, ecx
jmp 0x1001a8b0
mov al, byte [edi + ecx - 0x210f19]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001a8cd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001a8b0
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1001af70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001af80
mov al, byte [edi + ecx - 0x321a2a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001af9d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x26
jl 0x1001af80
mov byte [esi + 0x26], 0
mov eax, esi
ret

Function at 0x1001afb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001afc0
mov al, byte [edi + ecx - 0x321a2a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001afdd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x20
jl 0x1001afc0
mov byte [esi + 0x20], 0
mov eax, esi
ret

Function at 0x1001b570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x29
xor ecx, ecx
jmp 0x1001b580
mov al, byte [edi + ecx + 0x1e7b41dd]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b59d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001b580
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001b5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x6c
xor ecx, ecx
jmp 0x1001b5c0
mov al, byte [edi + ecx + 0x6fad512a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b5dd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001b5c0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001b5f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x49
xor ecx, ecx
jmp 0x1001b600
mov al, byte [edi + ecx + 0x16440e0f]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b61d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001b600
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001bdd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xfa
xor ecx, ecx
jmp 0x1001bde0
mov al, byte [edi + ecx - 0x2b3158]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001bdfd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001bde0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001c140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x1f
xor ecx, ecx
jmp 0x1001c150
mov al, byte [edi + ecx - 0x97d5a03]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c16d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c150
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001c710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x1d
xor ecx, ecx
jmp 0x1001c720
mov al, byte [edi + ecx - 0x1a1d45]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c73d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c720
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001c790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x87
xor ecx, ecx
jmp 0x1001c7a0
mov al, byte [edi + ecx - 0x24993e0c]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c7bd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c7a0
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1001c810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x30
xor ecx, ecx
jmp 0x1001c820
mov al, byte [edi + ecx + 0x5ec4cd49]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c83d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c820
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001ca30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xfe
xor ecx, ecx
jmp 0x1001ca40
mov al, byte [edi + ecx - 0x71ebf2be]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001ca5d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001ca40
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001e6d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021c58
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x1001e733
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.1001e490
mov ecx, esi
call fcn.1001e540
mov ecx, edi
mov ebx, esi
call fcn.1001e620
cmp dword [ebp + 0x1c], 0x10
jb 0x1001e762
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001efe5
mov esp, ebp
pop ebp
ret
Function at 0x1001ea60
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021528
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
xor edx, edx
mov ecx, 0x49
xor eax, eax
lea esp, [esp]
mov bl, byte [eax + 0x1002954c]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x20], bl
jns 0x1001eabd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x1001eaa0
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], edx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push ecx
push edx
call fcn.1001e820
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x30]
call dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1001eb11
xor eax, eax
jmp 0x1001eb48
push esi
push eax
call fcn.1001e820
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1001eb0d
test edi, edi
jle 0x1001eb3f
lea eax, [ebp + 0xc]
mov ecx, edi
jmp 0x1001eb30
mov edx, dword [eax + 4]
add eax, 4
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
dec ecx
jne 0x1001eb30
call dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001efe5
mov esp, ebp
pop ebp
ret

Function at 0x1001efe5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002e018]
jne 0x1001efef
repz ret
jmp fcn.1001f4ad
Function at 0x10003f16
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c060]
jne 0x10003f20
repz ret
jmp fcn.10006efa

Function at 0x100100bf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10007381
and dword [ebp - 4], 0
cmp dword [0x1001dadc], 0
mov ebx, eax
jne 0x10010170
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10010221
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10019bec
push edi
call esi
test eax, eax
je 0x10010221
push eax
call fcn.1000730f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001dadc], eax
call esi
push eax
call fcn.1000730f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001dae0], eax
call esi
push eax
call fcn.1000730f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001dae4], eax
call esi
push eax
call fcn.1000730f
pop ecx
mov dword [0x1001daec], eax
test eax, eax
je 0x10010170
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000730f
pop ecx
mov dword [0x1001dae8], eax
mov eax, dword [0x1001dae8]
cmp eax, ebx
je 0x100101c8
cmp dword [0x1001daec], ebx
je 0x100101c8
push eax
call fcn.1000738a
push dword [0x1001daec]
mov esi, eax
call fcn.1000738a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100101c8
test edi, edi
je 0x100101c8
call esi
test eax, eax
je 0x100101bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100101bf
test byte [ebp - 0xc], 1
jne 0x100101c8
or dword [ebp + 0x10], 0x200000
jmp 0x10010201
mov eax, dword [0x1001dae0]
cmp eax, ebx
je 0x10010201
push eax
call fcn.1000738a
pop ecx
test eax, eax
je 0x10010201
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10010201
mov eax, dword [0x1001dae4]
cmp eax, ebx
je 0x10010201
push eax
call fcn.1000738a
pop ecx
test eax, eax
je 0x10010201
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001dadc]
call fcn.1000738a
pop ecx
test eax, eax
je 0x10010221
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10010223
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10012130
Capabilities:
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
mov eax, dword [0x1001c060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x364], ecx
push 0
push 0x2a
lea eax, [ebp - 0x250]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x10012169
xor eax, eax
jmp 0x100122b6
mov ecx, dword [ebp - 0x364]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x364]
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [ebp - 0x35c], 0xffffffff
lea eax, [ebp - 0x250]
push eax
push str._s
push 0x104
lea ecx, [ebp - 0x358]
push ecx
call fcn.100049b3
add esp, 0x10
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0xffffffff
jne 0x100121e4
xor eax, eax
jmp 0x100122b6
mov ecx, dword [ebp - 0x148]
and ecx, 0x10
je 0x1001220f
sub esp, 0x140
mov ecx, 0x50
lea esi, [ebp - 0x148]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x364]
call fcn.10011cf0
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100121e4
mov ecx, dword [ebp - 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x364]
mov dword [ebp - 0x368], edx
mov eax, dword [ebp - 0x368]
mov ecx, dword [ebp - 0x368]
mov edx, dword [eax]
or edx, dword [ecx + 4]
je 0x100122b4
mov ecx, dword [ebp - 0x364]
call fcn.10011bf0
mov ecx, dword [ebp - 0x364]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x364]
mov eax, dword [ebp - 0x364]
mov ecx, dword [edx + 8]
sub ecx, dword [eax]
mov edx, dword [edx + 0xc]
sbb edx, dword [eax + 4]
mov eax, dword [ebp - 0x364]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x364]
mov eax, dword [ecx + 8]
cdq
mov ecx, 0xe10
idiv ecx
cdq
mov ecx, 0x18
idiv ecx
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x360]
jmp 0x100122b6
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003f16
mov esp, ebp
pop ebp
ret
Function at 0x100124b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0x1001df34], 0
jne 0x100124c4
jmp 0x100125c0
mov eax, dword [ebp + 0xc]
push eax
call fcn.100064b1
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
push 0xf
call dword [0x1001df30]
push eax
push 0
push 0x443
mov edx, dword [ebp - 0xc]
push edx
call dword [0x1001df34]
push 0x7fffffff
push 0
push 0x435
mov eax, dword [ebp - 0xc]
push eax
call dword [0x1001df34]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100125ae
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.10003f00
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x100123d0
lea edx, [ebp - 0x2c]
push edx
push 2
push 0x449
mov eax, dword [ebp - 0xc]
push eax
call dword [0x1001df34]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.1000634f
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x10012700
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret