joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6af82b70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ecx, 0x24
mov ebp, esp
push edi
push esi
mov esi, 8
push ebx
mov ebx, eax
sub esp, 0x2c
mov dword [esp + 4], esi
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
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 edi
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x6af82c21
test ebx, ebx
je 0x6af82c0f
cmp word [ebx], 0
je 0x6af82c30
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x6af82bc0
sub eax, ebx
add eax, 2
mov dword [esp + 8], eax
xor edx, edx
mov dword [esp + 4], edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
xor edx, edx
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 8], eax
sub esp, 0xc
test eax, eax
je 0x6af82c37
lea esi, [esi]
movzx ecx, word [ebx + edx]
mov word [eax + edx], cx
add edx, 2
test ecx, ecx
jne 0x6af82c00
lea eax, [esi + 0xc]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 2
jmp 0x6af82bce
mov dword [esp + 8], esi
xor eax, eax
xor esi, esi
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6af82c21

Function at 0x6af82c60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, 8
push esi
mov esi, 0x20
push ebx
mov ebx, eax
sub esp, 0x2c
mov dword [esp + 8], esi
mov edx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x6af82d01
cmp word [ebx], 0
mov edx, dword [ebp - 0x1c]
je 0x6af82d10
mov eax, ebx
nop
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x6af82cb0
sub eax, ebx
add eax, 2
mov dword [esp + 8], eax
xor ecx, ecx
mov dword [esp + 4], ecx
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
mov dword [esi + 8], eax
sub esp, 0xc
test eax, eax
je 0x6af82d17
lea esi, [esi]
lea edi, [edi]
movzx edx, word [ebx]
add ebx, 2
add eax, 2
mov word [eax - 2], dx
test edx, edx
jne 0x6af82cf0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 2
jmp 0x6af82cbe
mov dword [esp + 8], esi
xor eax, eax
xor esi, esi
mov dword [esp + 4], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6af82d01
Function at 0x6af82d40
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
lea eax, [eax + 0x10]
mov dword [esp], eax
mov dword [ebp - 4], edi
call sym._VariantClear_4
mov eax, dword [ebx + 8]
mov edi, dword fs:[0x18]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 4
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
xor edx, edx
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
sub esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x6af83040
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x2c
mov dword [ebp - 0x24], eax
mov edx, dword [ebx + 8]
mov dword [esp + 4], ecx
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x28], eax
call eax
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0xc]
mov dword [ebp - 0x20], eax
sub esp, 0xc
cmp eax, esi
je 0x6af830e0
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x18]
cmp eax, ebx
mov edi, dword [eax]
je 0x6af830b7
lea esi, [esi]
lea edi, [edi]
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax]
mov dword [edx], ecx
call sym._free_property_information
mov eax, edi
mov edi, dword [edi]
cmp eax, ebx
jne 0x6af830a0
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [edx + 4], eax
mov edx, dword [esi]
mov dword [eax], edx
mov eax, esi
call sym._free_information_tree.part.0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
cmp eax, esi
je 0x6af830e0
mov esi, eax
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
jmp 0x6af83089
mov esi, dword [ebp - 0x24]
xor edx, edx
mov dword [esp + 4], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6af833b0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 8], ebx
mov ebx, 0xffffffff
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
test byte [0x6af8a03c], 8
jne 0x6af83430
test ebx, ebx
jne 0x6af83411
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x6af833ef
call sym._free_information_tree.part.0
mov dword [esp + 8], esi
xor edx, edx
mov dword [esp + 4], edx
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_HeapFree]
sub esp, 0xc
lock dec dword [section..bss]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov eax, ebx
mov ebx, dword [ebp - 8]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], esi
lea eax, [ebx + 1]
mov ecx, str.__p____ref_before_lu__n
mov dword [esp + 0x14], eax
mov eax, str.IDxDiagProviderImpl_Release
mov dword [esp + 8], eax
mov eax, 0x6af8a03c
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6af833df
Function at 0x6af88150
Capabilities:
Check os version
Connect to wmi namespace via wbemlocator
Enumerate process modules
Get common file path
Get geographical location
Get hostname
Get memory capacity
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov eax, str.dwDirectXVersionMajor
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
call sym._allocate_property_information
test eax, eax
je 0x6af8828e
mov word [eax + 0x10], 0x13
lea esi, [ebx + 0x18]
mov dword [eax + 0x18], 9
mov dword [eax], esi
mov edx, dword [ebx + 0x1c]
mov dword [eax + 4], edx
mov dword [edx], eax
inc dword [ebx + 0x20]
mov dword [ebx + 0x1c], eax
mov eax, str.dwDirectXVersionMinor
call sym._allocate_property_information
test eax, eax
je 0x6af8828e
mov word [eax + 0x10], 0x13
mov dword [eax + 0x18], 0
mov dword [eax], esi
mov edx, dword [ebx + 0x1c]
mov dword [eax + 4], edx
mov dword [edx], eax
inc dword [ebx + 0x20]
mov dword [ebx + 0x1c], eax
mov eax, str.szDirectXVersionLetter
call sym._allocate_property_information
test eax, eax
mov edi, eax
je 0x6af8828e
mov dword [esp], 0x6af8d86e
call sym._SysAllocString_4
sub esp, 4
test eax, eax
je 0x6af88287
mov word [edi + 0x10], 8
mov dword [edi + 0x18], eax
mov dword [edi], esi
mov eax, dword [ebx + 0x1c]
mov dword [edi + 4], eax
mov dword [eax], edi
mov eax, str.szDirectXVersionEnglish
inc dword [ebx + 0x20]
mov dword [ebx + 0x1c], edi
call sym._allocate_property_information
test eax, eax
mov edi, eax
je 0x6af8828e
mov dword [esp], str.4.09.0000.0904
call sym._SysAllocString_4
sub esp, 4
test eax, eax
je 0x6af88287
mov word [edi + 0x10], 8
mov dword [edi + 0x18], eax
mov dword [edi], esi
mov eax, dword [ebx + 0x1c]
mov dword [edi + 4], eax
mov dword [eax], edi
mov eax, str.szDirectXVersionLongEnglish
inc dword [ebx + 0x20]
mov dword [ebx + 0x1c], edi
call sym._allocate_property_information
test eax, eax
mov edi, eax
je 0x6af8828e
mov dword [esp], str.__DirectX_9.0c__4.09.0000.0904_
call sym._SysAllocString_4
sub esp, 4
test eax, eax
je 0x6af88287
mov word [edi + 0x10], 8
mov dword [edi + 0x18], eax
mov dword [edi], esi
mov eax, dword [ebx + 0x1c]
mov dword [edi + 4], eax
mov dword [eax], edi
mov eax, ebx
inc dword [ebx + 0x20]
mov dword [ebx + 0x1c], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym._build_systeminfo_tree.part.0
mov eax, edi
call sym._free_property_information
lea esp, [ebp - 0xc]
mov eax, 0x8007000e
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6af882a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
test byte [0x6af8a03c], 8
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
jne 0x6af88328
mov dword [ebx], 0
test edi, edi
jne 0x6af88400
mov edx, 0x20
mov ecx, 8
mov dword [esp + 8], edx
mov dword [esp + 4], 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]
sub esp, 0xc
test eax, eax
je 0x6af8840a
mov dword [eax], sym._IDxDiagProviderImpl_QueryInterface_12
mov dword [eax + 4], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._IDxDiagProviderImpl_QueryInterface_12
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x6af883f0
mov eax, esi
shr eax, 0x10
je 0x6af883d8
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
mov dword [esp + 0x14], eax
mov eax, str.__p___s___p__n
mov dword [esp + 0xc], eax
mov eax, str.DXDiag_CreateDXDiagProvider
mov dword [esp + 8], eax
mov eax, 0x6af8a03c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6af882bb
mov dword [esp], str._guid_0x_04hx_
movzx eax, si
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
jmp 0x6af8839d
mov eax, str._null_
jmp 0x6af8839d
mov eax, 0x80040110
jmp 0x6af8831b
mov eax, 0x8007000e
jmp 0x6af8831b

Function at 0x6af88550
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]
test eax, eax
je 0x6af885c0
cmp byte [esi + eax - 1], 0xa
mov ebx, eax
je 0x6af885b8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6af990a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x6af8857d
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x6af88c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov ebx, dword [ebp + 0xc]
mov dword [esp], ebx
call sym.___wine_dbg_get_channel_flags
movzx ecx, byte [ebp + 8]
movzx eax, al
sar eax, cl
test al, 1
je 0x6af88dd8
mov edx, dword [0x6af990a4]
mov eax, dword fs:[0x18]
cmp dword [eax + 0x24], edx
je 0x6af88dc8
test byte [0x6af8a054], 8
jne 0x6af88d70
lea edi, [esp + 0x28]
mov esi, edi
test byte [0x6af8a064], 8
jne 0x6af88d30
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov ecx, str._04x:
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x6af88c8b
cmp dword [ebp + 8], 3
jbe 0x6af88cf0
mov dword [esp], 2
mov ebx, edi
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov esi, dword [ebx]
add ebx, 4
lea ecx, [esi - 0x1010101]
not esi
and ecx, esi
and ecx, 0x80808080
je 0x6af88c9a
mov dword [esp + 0xc], eax
mov esi, ecx
mov eax, 1
mov dword [esp + 4], eax
shr esi, 0x10
test ecx, 0x8080
mov dword [esp], edi
cmove ecx, esi
lea esi, [ebx + 2]
mov dl, cl
cmove ebx, esi
add dl, cl
sbb ebx, 3
sub ebx, edi
mov dword [esp + 8], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x10]
add eax, esi
inc ebx
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx*4 + 0x6af96f08]
mov edx, str._s:_s:_s
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, edi
sub ecx, eax
add ecx, 0xc8
mov dword [esp + 4], ecx
call sym._snprintf.constprop.0
jmp 0x6af88c8b
mov dword [esp], 0x6af8a064
call sym.___wine_dbg_get_channel_flags
and al, 8
je 0x6af88c60
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov ecx, str._04x:
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym._sprintf
add esi, eax
jmp 0x6af88c60
mov dword [esp], 0x6af8a054
call sym.___wine_dbg_get_channel_flags
and al, 8
je 0x6af88c4d
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov esi, str._3u._03u:
mov dword [esp + 4], esi
lea edi, [esp + 0x28]
mov dword [esp], edi
mov ecx, eax
mul edx
shr edx, 6
mov dword [esp + 8], edx
imul eax, edx, 0x3e8
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea esi, [edi + eax]
jmp 0x6af88c53
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffff
jmp 0x6af88ce8
Function at 0x6af88e60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov dword [ebp - 8], esi
mov esi, eax
mov eax, dword [0x6af990c0]
mov dword [ebp - 0xc], ebx
mov ebx, edx
mov dword [ebp - 4], edi
test eax, eax
je 0x6af88f20
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x6af88ea8
mov eax, dword [ebx]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], esi
lea edi, [ebp - 0x220]
mov eax, 0x104
mov dword [esp + 4], edi
mov esi, 0x104
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
mov ecx, str.MODULE
mov edx, dword [eax]
sub esp, 0xc
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
mov edx, dword [eax]
sub esp, 0xc
mov dword [esp + 8], edi
mov edi, str.SystemRoot
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x6af88e92
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x6af88f56
mov dword [esp], eax
mov edx, 0x6af96f18
mov dword [esp + 4], edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x6af990c0], eax
sub esp, 8
test eax, eax
jne 0x6af88e83
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x6af88e94
Function at 0x6af88f70
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags
Get process heap force 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, 0x38
mov edi, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [esp], edi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edx, dword [ebp - 0x1c]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
sub esp, 8
test ebx, ebx
je 0x6af890ef
mov ecx, dword [esi]
test ecx, ecx
je 0x6af89100
xor eax, eax
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
xor edi, edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 8], ebx
mov dword [esp], 0xfde9
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [ebp - 0x24], edx
call edx
xor edx, edx
lea ecx, [eax + 1]
sub esp, 0x18
mov dword [esp + 4], edx
lea eax, [ecx + ecx]
mov dword [ebp - 0x28], eax
mov edi, eax
mov dword [esp + 8], edi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x6af890e8
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov dword [esp], 0xfde9
call edx
mov eax, dword [ebp - 0x28]
mov word [edi + eax - 2], 0
mov ebx, dword [esi + 4]
mov eax, dword [esi]
sub esp, 0x18
test ebx, ebx
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
jne 0x6af890d8
call dword [edx + 0x28]
mov dword [esi + 8], eax
sub esp, 8
mov dword [esp + 8], edi
xor edx, edx
mov dword [esp + 4], edx
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_HeapFree]
mov eax, dword [esi + 8]
not eax
shr eax, 0x1f
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
call dword [edx + 0x24]
mov dword [esi + 8], eax
sub esp, 8
jmp 0x6af8909c
mov dword [esi + 8], 0x8007000e
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edx, esi
mov eax, edi
call sym._create_registrar
test eax, eax
jne 0x6af88fe0
xor eax, eax
jmp 0x6af890f1
Function at 0x4010e0
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0x4c
push str.FM_Hook_Background
push 0x409348
call dword [0x408114]
test eax, eax
je 0x401102
mov eax, 1
add esp, 0x4c
ret 0x10
mov eax, dword [esp + 0x50]
push ebp
xor ebp, ebp
push 0x7f00
push ebp
mov dword [0x40b6d4], eax
mov dword [esp + 0x28], 0x30
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 0x401270
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
call dword [0x40810c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], str.FMHookBackgroundClass
mov dword [esp + 0x50], ebp
call dword [0x40811c]
push ebp
push ebp
call dword [0x40800c]
push eax
push 0x4012a0
push 0xd
call dword [0x408124]
mov dword [0x40b6d0], eax
cmp eax, ebp
jne 0x4011a1
push str.Hook_error_r_n
call dword [0x408008]
or eax, 0xffffffff
pop ebp
add esp, 0x4c
ret 0x10
mov ecx, dword [0x40b6d4]
push esi
push ebp
push ecx
push ebp
push ebp
push ebp
push 0x80000000
push ebp
push 0x80000000
push 0xcf0000
push str.FM_Hook_Background
push str.FMHookBackgroundClass
push ebp
call dword [0x408120]
push ebp
push ebp
push ebp
push entry0
push ebp
push ebp
call dword [0x40801c]
mov esi, dword [0x408100]
push ebp
push ebp
push ebp
lea edx, [esp + 0x14]
push edx
call esi
test eax, eax
je 0x40121e
push ebx
mov ebx, dword [0x408130]
push edi
mov edi, dword [0x408118]
lea eax, [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call ebx
push ebp
push ebp
push ebp
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
jne 0x401200
pop edi
pop ebx
mov eax, dword [0x40b6d0]
push eax
call dword [0x408128]
mov eax, dword [0x40b6dc]
pop esi
cmp eax, ebp
je 0x40123b
push eax
call dword [0x408004]
mov eax, dword [0x40b6d8]
cmp eax, ebp
je 0x40124b
push eax
call dword [0x408018]
mov ecx, dword [0x40b6d4]
push ecx
push str.FMHookBackgroundClass
call dword [0x408108]
xor eax, eax
pop ebp
add esp, 0x4c
ret 0x10
Function at 0x71a370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x71a38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x743074
push ecx
mov edi, eax
call fcn.0072e198
mov esi, eax
add esp, 8
test esi, esi
jne 0x71a3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0072e02e
push esi
call fcn.0072dfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x71d850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x71d8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x748720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x71d8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0072e1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x71d8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x748720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x71d92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0072f082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x71d957
mov word [eax], si
add eax, 2
push eax
call fcn.0072f030
add esp, 4
jmp 0x71d959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x71d8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x71d8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x71dff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret