joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fe620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5fe7ca
sub esp, 0x48
movzx eax, word [esp + 0x78]
cmp ax, 0x303
jb 0x5fe64e
movzx ecx, byte [esp + 0x80]
jmp 0x5fe65b
movzx ecx, byte [esp + 0x80]
cmp cl, 0xe4
jne 0x5fe693
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x5fe7b1
cmp cl, 0xe4
je 0x5fe672
cmp ax, 0x303
jmp 0x5fe697
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x48
ret
cmp ax, 0x303
jae 0x5fe725
cmp cl, 0xe3
jne 0x5fe6ef
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.00464ace
call fcn.005fe300
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.004f01b0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea eax, [0x6871e0]
mov dword [esp], eax
lea eax, [0x726a18]
mov dword [esp + 4], eax
call fcn.00436170
nop
call fcn.00462f90
jmp fcn.005fe620
Function at 0x640030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6401c3
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
test ecx, ecx
jne 0x640064
nop
mov eax, dword [0x8b1e9c]
lea ecx, [0x7284c4]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], eax
lea eax, [0x68ab40]
mov dword [esp + 4], eax
lea eax, [0x8d8e54]
mov dword [esp + 8], eax
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x694960]
cmp dword [esp + 0xc], ecx
je 0x640092
xor eax, eax
test eax, eax
je 0x6401bf
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x6401bf
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.0046463b
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
movzx edx, byte [esp + 0x70]
mov byte [esp + 0x44], dl
lea ebx, [ecx + 0x34]
mov dword [esp + 0x24], ebx
mov dword [esp], ebx
call fcn.0046b610
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x64]
test edx, edx
je 0x6400ed
mov eax, dword [edx]
jmp 0x6400ef
xor eax, eax
test eax, eax
sete al
movzx edx, byte [esp + 0x70]
and edx, eax
mov byte [esp + 0x45], dl
test dl, dl
je 0x640198
lea esi, [ecx + 0x7c]
mov dword [esp + 0x20], esi
lea edi, [esp + 0x28]
call fcn.00464b1e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test ecx, 0x80000000
je 0x64014b
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or ecx, eax
mov eax, edx
shl edx, 1
mov ebx, ecx
shl ecx, 1
shr edx, 0x1f
or ecx, edx
shr ebx, 0x1f
add ecx, 0xd7b17f80
adc ebx, 0xd
jmp 0x640153
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
test ecx, ecx
sete cl
test ebx, ebx
sete dl
and edx, ecx
test dl, dl
je 0x64016a
test eax, 0x3fffffff
je 0x640198
lea edi, [esp + 0x50]
mov esi, dword [esp + 0x20]
call fcn.00464b1e
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.00464b1e
call fcn.004b0270
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0046b990
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [edx]
lea edi, [esp]
lea esi, [esp + 0x3c]
call fcn.00464b1e
call eax
add esp, 0x64
ret
add esp, 0x64
ret
call fcn.00462f90
jmp fcn.00640030
Function at 0x70a47e10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
test eax, eax
je 0x70a47ec0
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ebx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov edi, eax
sub esp, 0x18
lea ecx, [edi + edi]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov esi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov eax, esi
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
test eax, eax
je 0x70a47fa0
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov ebx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x20
mov edi, eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov esi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 8], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov eax, esi
sub esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x70a47fb0
Capabilities:
Get process heap flags

Disassembly:
test eax, eax
je 0x70a48028
push ebp
mov ebp, esp
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x10
test edx, edx
je 0x70a47ff8
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
call sym._convert_from_unicode
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
call sym._convert_from_unicode
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 8], 0x18
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
jmp 0x70a47fc4
xor eax, eax
ret
Function at 0x70a4a300
Capabilities:
Get process heap flags
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x1c]
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x5c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
mov dword [esp], esi
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], edx
call esi
sub esp, 0x18
test eax, eax
jne 0x70a4a357
mov eax, dword [ebp - 0x20]
dec eax
cmp eax, 1
jbe 0x70a4a360
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x70a4a357
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x3c], eax
call eax
mov dword [ebp - 0x34], eax
sub esp, 0xc
test eax, eax
je 0x70a4a357
mov dword [esp + 0x14], edi
mov edi, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
sub esp, 0x18
mov dword [esp + 4], 0x70a50778
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
je 0x70a4a402
cmp dword [ebp - 0x20], 2
je 0x70a4a462
test byte [0x70a4d060], 8
jne 0x70a4a430
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, dword [ebp - 0x30]
sub esp, 4
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x70a4a357
mov eax, dword [ebp - 0x34]
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.loading__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.load_mapi_provider
mov dword [esp + 4], 0x70a4d060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x70a4a3ee
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov esi, dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov dword [esp], eax
call esi
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub esp, 0xc
mov edi, eax
lea eax, [eax + eax + 1]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x70a4a3e5
inc edi
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov edi, dword [ebp - 0x34]
mov dword [esp], edi
call esi
mov eax, dword [ebp - 0x38]
sub esp, 0xc
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x34], ebx
sub esp, 0xc
jmp 0x70a4a3e5
Function at 0x70a4a5d0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x70a4d060], 8
jne 0x70a4a680
mov eax, dword [0x70a5d070]
test eax, eax
je 0x70a4a620
mov dword [esp + 4], esi
mov dword [esp], ebx
call eax
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
test esi, esi
je 0x70a4a6e9
add ebx, 4
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x70a4a6f3
lea edi, [eax + 4]
test byte [0x70a4d060], 8
jne 0x70a4a6b8
mov dword [ebx], 0
xor eax, eax
mov dword [esi], edi
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__ld__p__n
mov dword [esp + 8], str.MAPIAllocateBuffer
mov dword [esp + 4], 0x70a4d060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x70a4a5f6
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.initial_allocation:_p__returning__p_n
mov dword [esp + 8], str.MAPIAllocateBuffer
mov dword [esp + 4], 0x70a4d060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x70a4a665
mov eax, 0x80070057
jmp 0x70a4a60b
mov eax, 0x8007000e
jmp 0x70a4a60b
Function at 0x70a4b610
Capabilities:
Identify system language via api

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
push ecx
sub esp, 0x78
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x3c], eax
test byte [0x70a4d060], 8
jne 0x70a4b680
mov eax, dword [0x70a5d068]
test eax, eax
je 0x70a4b6d7
mov esi, dword [ebp - 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 8], edx
mov dword [esp], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edi
call eax
sub esp, 0x14
mov esi, eax
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 0x20], ecx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s__s__p__lu__d_n
mov dword [esp + 8], 0x70a50c44
mov dword [esp + 4], 0x70a4d060
mov dword [esp], 3
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
call sym._wine_dbg_log.constprop.0_4
mov eax, dword [0x70a5d068]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
test eax, eax
jne 0x70a4b64a
mov byte [edx], 0
xor esi, esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov dword [esp], str.msi.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 0x40], eax
sub esp, 4
test eax, eax
je 0x70a4b66a
mov dword [esp + 4], str.MsiProvideQualifiedComponentA
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
sub esp, 8
test eax, eax
je 0x70a4b763
lea eax, [ebx + 0xc]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
xor ebx, ebx
test ecx, ecx
lea eax, [ebp - 0x2c]
sete bl
neg ebx
cmp edi, eax
je 0x70a4b788
test edi, edi
je 0x70a4b788
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 0x14
test eax, eax
je 0x70a4b7ee
xor esi, esi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [ebp - 0x4c], ecx
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [esp + 8], eax
mov eax, dword [esi*4 + 0x70a50c38]
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call sym._sprintf
mov eax, dword [ebp - 0x50]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 0x14
test eax, eax
je 0x70a4b7ee
inc esi
mov ecx, dword [ebp - 0x4c]
lea edi, [ebp - 0x2c]
cmp esi, 3
jne 0x70a4b721
jmp 0x70a4b761
mov esi, 1
jmp 0x70a4b763
Function at 0x70a4c140
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x70a4c19b
cmp byte [esi + ebx - 1], 0xa
je 0x70a4c16f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x70a5d144], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x44cae9
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, dword [0x400820]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
push esi
xor ecx, ecx
xor edx, edx
mov esi, 0xff
cmp byte [eax], 0xcc
jne 0x44cb17
cmp byte [eax + 1], cl
jne 0x44cb17
cmp byte [eax + 2], cl
jne 0x44cb17
cmp byte [eax + 3], cl
jne 0x44cb17
cmp byte [eax - 6], 0xe4
je 0x44cb21
inc eax
inc edx
cmp edx, esi
jl 0x44cafd
xor eax, eax
pop esi
ret
xor edx, edx
cmp byte [eax], 0xff
jne 0x44cb34
cmp byte [eax + 1], 0x75
jne 0x44cb34
cmp byte [eax + 2], 0xf4
je 0x44cb3d
inc eax
inc edx
cmp edx, 0x30
jl 0x44cb23
jmp 0x44cb1d
add eax, 5
mov edx, dword [eax]
lea edx, [edx + eax + 4]
mov dword [0x400908], edx
cmp byte [eax], 0xff
jne 0x44cb5d
cmp byte [eax + 1], 0x75
jne 0x44cb5d
cmp byte [eax + 2], 0xfc
je 0x44cb65
inc eax
inc ecx
cmp ecx, esi
jl 0x44cb4c
jmp 0x44cb1d
add eax, 4
mov ecx, dword [eax]
lea eax, [ecx + eax + 4]
mov dword [0x400914], eax
xor eax, eax
inc eax
pop esi
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.00401a1c
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x40473d]
lea edx, [fcn.00401a80]
sub eax, edx
push eax
push fcn.00401a80
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x401329
push edi
call fcn.00401905
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.00401953
mov eax, edi
add eax, 0x1c800
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x88]
xor eax, edi
push eax
lea eax, [0x4060e4]
mov edx, edi
dec edx
and eax, edx
push eax
call fcn.00401a80
add esp, 0x18
xor eax, eax
pop edi
leave
ret

Function at 0x401a1c
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x120], 0
xor edi, edi
mov dword [ebp - 0x11c], 0x14
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
mov eax, edi
pop edi
leave
ret
Function at 0x10016c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b5c20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100ab01c
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1001a520
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10016c84
jmp dword [ecx*4 + 0x10016dec]
mov al, byte [esi]
test al, al
je 0x10016cb2
cmp al, 0x20
je 0x10016c9e
cmp al, 0xa1
jne 0x10016cb2
cmp byte [esi + 1], al
jne 0x10016cb2
test al, 0x80
je 0x10016caa
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10016cb2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10016c91
test ecx, ecx
je case.default.0x10016c84
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10016c84
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10016cf8
cmp dl, 0xa1
jne 0x10016cec
cmp byte [eax + 1], 0xa1
jne 0x10016cec
test ecx, ecx
jne 0x10016ce4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10016d0c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10016d26
jmp 0x10016d0c
cmp dl, 0x20
jne 0x10016d0a
test ecx, ecx
jne 0x10016d03
mov edi, eax
mov ecx, 1
jmp 0x10016d0c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10016ccc
cmp ecx, 1
jne case.default.0x10016c84
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10016c84
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10016c84
mov al, byte [esi]
test al, al
je 0x10016d7e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10016d64
mov cl, byte [esi + 1]
test cl, cl
je 0x10016d7e
cmp al, 0xa1
jne 0x10016d54
cmp cl, al
je 0x10016d61
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1001a7b0
inc esi
jmp 0x10016d76
cmp al, 0x20
je 0x10016d76
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1001a7f0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10016d3d
push 0
lea ecx, [esp + 0x14]
call fcn.1001a7f0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1002b2e0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10016db1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x100c3318
call fcn.1001a720
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100aafae
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x100226e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b653b
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.100aad23
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10022762
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100a865d
mov eax, dword [eax]
push 0x100dcc98
push eax
call fcn.1009a864
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100aafae
test bl, bl
je 0x10022762
push 0x100dcc98
lea ecx, [esp + 0xc]
call fcn.100ab33e
push 0x100dcca4
lea ecx, [esp + 0xc]
call fcn.100ab33e
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 0x1002279e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100aafae
jmp 0x10022869
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 0x10022822
lea edx, [esp + 0x7c]
push 0x100dcca0
push edx
call fcn.1009a864
add esp, 8
test eax, eax
je 0x10022822
lea eax, [esp + 0x7c]
push 0x100dcc9c
push eax
call fcn.1009a864
add esp, 8
test eax, eax
je 0x10022822
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 0x100227b2
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.100aafae
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 0x10023070
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 0x100230d2
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