joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10a9c51
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x10b3fc4], edi
jne 0x10a9d6d
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x10a9cb8
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x10b3fc4], edi
pop esi
je 0x10a9d40
dec eax
jne 0x10a9d6d
cmp dword [ebp - 0x11c], 5
jne 0x10a9d2d
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x10a9d21
dec eax
je 0x10a9d0e
dec eax
je 0x10a9cf4
mov dword [0x10b3fc4], 0x14
jmp 0x10a9d6d
cmp word [ebp - 0xc], 1
jb 0x10a9d05
mov dword [0x10b3fc4], 0x10
or dword [0x10b3fc4], 4
jmp 0x10a9d6d
cmp word [ebp - 0xc], 2
jb 0x10a9d05
mov dword [0x10b3fc4], 8
jmp 0x10a9d05
mov dword [0x10b3fc4], 4
jmp 0x10a9d6d
cmp dword [ebp - 0x11c], 4
ja 0x10a9d7f
mov dword [0x10b3fc4], 2
cmp dword [ebp - 0x11c], 4
jne 0x10a9d6d
cmp dword [ebp - 0x118], edi
je 0x10a9d63
cmp dword [ebp - 0x118], 0xa
je 0x10a9d63
cmp dword [ebp - 0x118], 0x5a
jne 0x10a9d6d
mov dword [0x10b3fc4], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x10b3fc4]
xor ecx, ebp
pop edi
call fcn.01001feb
leave
ret
mov dword [0x10b3fc4], 0x20
jmp 0x10a9d6d

Function at 0x10a9d90
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10a9de4
push 3
lea eax, [ebp - 0x44]
push 0x10a9df4
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret

Function at 0x10a9dff
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x10b3fc8]
jne 0x10a9e9a
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x10a9f90
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10a9e99
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x10aa048
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x10a9e99
push 3
push dword [esi*8 + 0x10a9eb0]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x10a9e8b
inc esi
cmp esi, 0x1c
jae 0x10a9e99
jmp 0x10a9e6a
mov ax, word [esi*8 + 0x10a9eb4]
mov word [0x10b3fc8], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x10b3fc8]
xor ecx, ebp
call fcn.01001feb
leave
ret
Function at 0x10ab1e1
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp - 4], eax
xor esi, esi
push 6
push 0x4ff
push dword [ebp + 0xc]
push esi
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov ebx, eax
cmp ebx, esi
je 0x10ab257
jmp 0x10ab291
cmp dword [ebp - 0x1c], 0x12
je 0x10ab268
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [ebp - 0x1c], 0x20
jne 0x10ab24d
mov eax, 0xfffe
cmp word [ebp - 0x14], ax
je 0x10ab24d
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x10ab257
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
je 0x10ab276
jmp 0x10ab217
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ebx, 0x102
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jbe 0x10ab289
mov ebx, 0x102
cmp ebx, esi
je 0x10ab1fd
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc

Function at 0x10ab79d
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x104f8c0
push 0x10ab878
push 2
push 0
mov dword [ebp - 0x418], 0x104
call sub.SHLWAPI.dll_AssocQueryStringW
mov ebx, eax
test ebx, ebx
jl 0x10ab853
push edi
push 0x10ab868
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.010343ca
push 0x38
lea eax, [ebp - 0x450]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x440], eax
add esp, 0x1c
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x454], 0x3c
mov dword [ebp - 0x438], 1
call sub.SHELL32.dll_ShellExecuteExW
test eax, eax
jne 0x10ab853
mov ebx, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 4
Function at 0x10ab887
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x20e0
call fcn.010545e1
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x20a4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2098], eax
lea eax, [ebp - 0x209c]
push eax
lea eax, [ebp - 0x104c]
push eax
push 0
push 0xffff
push 0x10aba38
push 0x101c150
mov esi, 0x80004005
mov dword [ebp - 0x209c], 0x1048
call sub.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM
test eax, eax
jne 0x10ab9fa
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, 0x10aba28
push ebx
call edi
push eax
push ebx
lea eax, [ebp - 0x104c]
push eax
call sub.SHLWAPI.dll_StrCmpNICW
test eax, eax
je 0x10ab92e
mov ebx, 0x10aba14
push ebx
call edi
push eax
push ebx
lea eax, [ebp - 0x104c]
push eax
call sub.SHLWAPI.dll_StrCmpNICW
test eax, eax
jne 0x10ab9f8
mov ebx, 0x10aba0c
push ebx
lea eax, [ebp - 0x104c]
push eax
call sub.SHLWAPI.dll_StrStrIW
mov dword [ebp - 0x20a0], eax
test eax, eax
je 0x10ab9f8
lea ecx, [ebp - 0x104c]
sub eax, ecx
sar eax, 1
push eax
mov eax, ecx
push eax
mov esi, 0x824
push esi
lea eax, [ebp - 0x2094]
push eax
call fcn.0101cd02
push dword [ebp - 0x20a4]
lea eax, [ebp - 0x2094]
push esi
push eax
call fcn.01010e3b
push ebx
call edi
mov ecx, dword [ebp - 0x20a0]
lea eax, [ecx + eax*2]
push eax
push esi
lea eax, [ebp - 0x2094]
push eax
call fcn.01010e3b
push 0x38
lea eax, [ebp - 0x20dc]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x2098]
mov dword [ebp - 0x20d8], eax
lea eax, [ebp - 0x2094]
mov dword [ebp - 0x20d0], eax
add esp, 0xc
lea eax, [ebp - 0x20e0]
push eax
mov dword [ebp - 0x20e0], 0x3c
mov dword [ebp - 0x20c4], 1
call sub.SHELL32.dll_ShellExecuteExW
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret 8
Function at 0x10aba6d
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
dec eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x94], ecx
mov esi, 0x80004005
je 0x10abab0
dec eax
je 0x10abb65
dec eax
je 0x10abb5c
dec eax
jne 0x10abb4a
lea ecx, [ebp - 0x90]
call fcn.0107eb2d
push 0xffffffffffffffff
push 0x10abb70
lea ecx, [ebp - 0x90]
call fcn.0107ed4b
mov esi, eax
test esi, esi
jl 0x10abb3f
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x94]
call fcn.010ab6f8
mov esi, eax
test esi, esi
jl 0x10abb3f
push 0x38
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc0], eax
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
mov dword [ebp - 0xd0], 0x3c
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xb4], 1
call sub.SHELL32.dll_ShellExecuteExW
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
lea ecx, [ebp - 0x90]
call fcn.0107eb4a
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 0xc
push ebx
push ecx
call fcn.010ab887
jmp 0x10abb6b
push ecx
call fcn.010ab79d
mov esi, eax
jmp 0x10abb4a
Function at 0x40bd30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590673
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x600d40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 8], eax
mov dword [ebp - 4], 0
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x40]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 0x40], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x4c], ecx
mov eax, dword [edi + 0x50]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 0x50], eax
mov byte [ebp - 4], 3
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x58]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 0x58], eax
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x5c]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 0x5c], eax
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x60]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 0x60], eax
mov byte [ebp - 4], 6
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x68]
mov dword [esi + 0x68], ecx
mov eax, dword [edi + 0x6c]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 0x6c], eax
mov byte [ebp - 4], 7
mov eax, dword [edi + 0x70]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 0x70], eax
mov byte [ebp - 4], 8
mov edx, dword [edi + 0x74]
mov dword [esi + 0x74], edx
mov edi, dword [edi + 0x78]
sub edi, 0x10
push edi
call fcn.004090a0
add esp, 0x28
add eax, 0x10
mov dword [esi + 0x78], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x424310
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x600d40]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
mov eax, edx
push edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424332
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
sub eax, esi
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00423a90
add esp, 4
lea esi, [esp + 0x10]
lea ebx, [esp + 0x68]
call fcn.00423b50
xor esi, esi
lea edi, [esp + 0x79]
mov bl, byte [esp + esi + 0x68]
movzx eax, bl
push eax
lea ecx, [edi - 1]
push 0x5cb88c
push ecx
call fcn.00566dd3
shl bl, 4
movzx edx, bl
push edx
push 0x5cb88c
push edi
call fcn.00566dd3
inc esi
add esp, 0x18
add edi, 2
cmp esi, 0x10
jl 0x424385
push 0x20
lea eax, [esp + 0x7c]
push eax
push 0x60a4bc
call fcn.0056c030
mov ecx, dword [esp + 0xa8]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0x60a4bc
call fcn.00564dd2
mov esp, ebp
pop ebp
ret

Function at 0x427640
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fffb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x600d40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x5cbc6c
call fcn.00583d8c
push 4
mov dword [ebp - 4], 0
call fcn.00462157
mov edi, eax
add esp, 4
test edi, edi
je 0x4276bc
call fcn.005836ad
mov dword [edi], eax
call fcn.0058346c
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.005833a1
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4276b2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.005833c9
jmp 0x4276be
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42dab0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592173
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x600d40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, esi
mov dword [ebp - 0x24], esi
call fcn.0046eb37
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi], 0x5cc1dc
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], 0x59d878
mov byte [ebp - 4], 1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ebx
lea edi, [esi + 0x20]
xor eax, eax
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
cmp dword [ebx + 0xc], ecx
sete al
mov dword [esi + 0x30], eax
cmp eax, ecx
je 0x42dbc5
mov eax, dword [ebx + 4]
push eax
call dword [0x59b1a8]
push eax
mov ecx, esi
call fcn.0046f109
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
push ecx
call dword [0x59b884]
test eax, eax
je 0x42db64
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
push edi
mov ecx, ebx
call eax
jmp 0x42db7b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [0x59b1b0]
lea ebx, [esi + 0x10]
push eax
mov ecx, ebx
call fcn.0046f3dd
test ebx, ebx
je 0x42dba4
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.0046f46e
mov ecx, dword [esi + 0x24]
mov edx, dword [edi]
push ecx
mov dword [esi + 0x18], eax
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0046ecb9
jmp 0x42dbd7
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, esi
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.00564dd2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x442fe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5904c1
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x600d40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
sub eax, 0x10
push eax
call fcn.004090a0
add eax, 0x10
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x40]
sub eax, 0x10
push eax
call fcn.004090a0
add esp, 0x10
add eax, 0x10
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x48]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x50], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x542a4e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0046caf6
call fcn.004324f0
cmp eax, esi
pop esi
jne 0x542a6a
mov ecx, 0x605560
jmp fcn.004809f3
ret
Function at 0x4056d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b9eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045e931
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405752
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045c3e7
mov eax, dword [eax]
push 0x49c1d0
push eax
call fcn.0044f134
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045ebbc
test bl, bl
je 0x405752
push 0x49c1d0
lea ecx, [esp + 0xc]
call fcn.0045ef98
push 0x49fd18
lea ecx, [esp + 0xc]
call fcn.0045ef98
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40578e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045ebbc
jmp 0x405859
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x405812
lea edx, [esp + 0x7c]
push 0x49fd14
push edx
call fcn.0044f134
add esp, 8
test eax, eax
je 0x405812
lea eax, [esp + 0x7c]
push 0x49fd10
push eax
call fcn.0044f134
add esp, 8
test eax, eax
je 0x405812
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4057a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045ebbc
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x406050
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4060b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4060c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ba6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a6be8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4061f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406126
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045ebbc
xor eax, eax
jmp 0x40626f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045ed45
push esi
lea ecx, [esp + 0xc]
call fcn.0045efd4
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40624d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00406050
test eax, eax
jne 0x40624d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.00406050
test eax, eax
jne 0x40624d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00450210
mov esi, eax
add esp, 8
test esi, esi
jne 0x40622c
lea ecx, [esp + 0x14]
push 0x49fd28
push ecx
call fcn.00450190
mov esi, eax
add esp, 8
test esi, esi
jne 0x40622c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40622f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045ecf5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40613e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045ebbc
xor eax, eax
jmp 0x40626f
mov byte [esi], 0
push 0x49fd24
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045ebbc
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4