joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5be2d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x10], 0
jne 0x5be302
push str.pnBytes___0
push 0
push 0x1733
push 0x7cd458
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x5be302
int3
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
jne 0x5be32b
push str.m_hKey___0
push 0
push 0x1734
push 0x7cd458
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x5be32b
int3
xor eax, eax
jne 0x5be32b
xor ecx, ecx
jne 0x5be302
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5be35f
mov eax, dword [ebp - 8]
jmp 0x5be36e
cmp dword [ebp - 4], 3
je 0x5be36c
mov eax, 0xd
jmp 0x5be36e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5be380
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x5be3b2
push str.m_hKey___0
push 0
push 0x1805
push 0x7cd458
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x5be3b2
int3
xor edx, edx
jne 0x5be3b2
xor eax, eax
jne 0x5be389
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 3
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5be3e0
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x5be412
push str.m_hKey___0
push 0
push 0x180d
push 0x7cd458
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x5be412
int3
xor edx, edx
jne 0x5be412
xor eax, eax
jne 0x5be3e9
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8
Function at 0x617110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jne 0x617129
call fcn.004434e0
mov dword [ebp + 0xc], eax
mov ecx, 0x8a7220
call fcn.00406ba0
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x61714f
xor eax, eax
jmp 0x6171bf
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x61716a
xor eax, eax
jmp 0x6171bf
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x61718b
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
jmp 0x6171bf
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push eax
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00617e20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041ec70
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x648b40
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a531e
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x8a13b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00407700
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CMFCToolBarButton.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00406b00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00406b00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.00780c60
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00780450
mov ecx, dword [ebp - 0x10]
call fcn.00648cd0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x3c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0064ab20
cmp dword [ebp + 0x10], 0
jne 0x648bf4
mov dword [ebp - 0x14], 0x7bd927
jmp 0x648bfa
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0040c220
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x20], 0
je 0x648cb2
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x3c], 0
jne 0x648cb2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x648c70
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x38], 0xffffffff
je 0x648c53
push 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
call fcn.00555530
mov ecx, eax
call fcn.005556b0
jmp 0x648c6e
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00555530
mov ecx, eax
call fcn.00555720
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], eax
jmp 0x648cb2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x34], 0xffffffff
je 0x648c97
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00555530
mov ecx, eax
call fcn.005556b0
jmp 0x648cb2
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
call fcn.00555530
mov ecx, eax
call fcn.00555720
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x672690
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x6726c2
push str.m_hKey___0
push 0
push 0x17fc
push 0x7cd458
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x6726c2
int3
xor edx, edx
jne 0x6726c2
xor eax, eax
jne 0x672699
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x672de0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.006727c0
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x672e36
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00422900
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.00413fa0
jmp 0x672e48
mov ecx, dword [ebp + 0x10]
call fcn.00406ba0
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0044d0f0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x673300
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
call fcn.0042b480
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 3
cmp eax, 3
je 0x67333d
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.006727c0
jmp 0x673349
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.006727f0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x6733ad
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x673384
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00422900
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x6733a1
push 0x100
push 0xff
mov ecx, dword [ebp + 0x10]
call fcn.00406fb0
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.00413fa0
jmp 0x6733de
mov ecx, dword [ebp + 0x10]
call fcn.00406ba0
push eax
push 0xffffffffffffffff
push 0x14d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x6733de
mov ecx, dword [ebp + 0x10]
call fcn.00406ba0
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0044d0f0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6d4c10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
jne 0x6d4c3d
xor eax, eax
jne 0x6d4c36
push 0x2a
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxribboninfoloader.cpp
call fcn.00443450
test eax, eax
je 0x6d4c36
int3
xor eax, eax
jmp 0x6d4d32
cmp dword [ebp + 0xc], 0
jne 0x6d4c5f
xor edx, edx
jne 0x6d4c58
push 0x30
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxribboninfoloader.cpp
call fcn.00443450
test eax, eax
je 0x6d4c58
int3
xor eax, eax
jmp 0x6d4d32
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jne 0x6d4c74
call fcn.004434e0
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x6d4c96
xor ecx, ecx
jne 0x6d4c8f
push 0x3d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxribboninfoloader.cpp
call fcn.00443450
test eax, eax
je 0x6d4c8f
int3
xor eax, eax
jmp 0x6d4d32
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x6d4cc1
xor eax, eax
jmp 0x6d4d32
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x6d4cdf
xor eax, eax
jmp 0x6d4d32
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x6d4cfd
xor eax, eax
jmp 0x6d4d32
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call fcn.0041ec70
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x70ab70
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b20de
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x8a13b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00407700
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax], vtable.CMFCTasksPaneTaskGroup.0
mov ecx, dword [ebp - 0x4c]
add ecx, 8
call fcn.00406b00
mov byte [ebp - 4], 1
push 0xa
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc
call fcn.0059d2d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
add ecx, 0x34
call fcn.00780c60
mov ecx, dword [ebp - 0x4c]
add ecx, 0x44
call fcn.00780c60
mov ecx, dword [ebp - 0x4c]
add ecx, 0x54
call fcn.00780450
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 8
call fcn.0040c220
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x34
call fcn.00781030
mov ecx, dword [ebp - 0x4c]
add ecx, 0x44
call fcn.00781030
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 0x5c], edx
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.00780480
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], edx
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x60], 0xffffffff
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x64], 0xffffffff
push 0x14
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.0072be30
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
push 0x18
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.0072be30
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
push 0x18
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x48]
call fcn.00780480
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], edx
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x70b770
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b2183
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x8a13b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00407700
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CMFCTasksPaneTask.0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00406b00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00780c60
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
cmp dword [ebp + 0xc], 0
jne 0x70b7e4
mov dword [ebp - 0x14], 0x7bd927
jmp 0x70b7ea
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.0040c220
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x20]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x24]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 1
xor ecx, ecx
cmp dword [ebp + 0xc], 0
sete cl
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x48], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00781030
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x71a5f0
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0072be30
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x72b900
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8a13b4]
jne 0x72b90a
repz ret
jmp fcn.00743f90
Function at 0x439aee
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x439b2d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x439b2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x439b2d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x439b2d
cmp dword [ecx + 0x74], 0xe
jbe 0x439b2d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43adc9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x43adea
jl 0x43ade1
test edi, edi
jne 0x43adea
xor eax, eax
xor edx, edx
jmp 0x43aeab
cmp dword [ebx + 0x38], 0
je 0x43adff
push eax
push edi
push dword [ebp + 8]
call fcn.0043aeb1
jmp 0x43aeab
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x43ae46
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x43ae46
cmp eax, edi
jb 0x43ae20
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0043be10
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x43ae4c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x43aea0
mov ecx, ebx
call fcn.0043a623
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x43ae8b
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00444ecf
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x43aea0
jmp 0x43ae5e
test edx, edx
je 0x43aea0
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00444ecf
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x447aac
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a74e8
push 0x4a74e0
push str.FlsAlloc
push 0x1f
call fcn.00447917
mov esi, eax
add esp, 0x10
test esi, esi
je 0x447ae0
push dword [ebp + 8]
mov ecx, esi
call dword [0x458164]
call esi
jmp 0x447ae6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x447b2a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a74f8
push 0x4a74f0
push str.FlsGetValue
push 0x21
call fcn.00447917
mov esi, eax
add esp, 0x10
test esi, esi
je 0x447b61
push dword [ebp + 8]
mov ecx, esi
call dword [0x458164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x447b69
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a7500
push 0x4a74f8
push str.FlsSetValue
push 0x22
call fcn.00447917
mov esi, eax
add esp, 0x10
test esi, esi
je 0x447ba3
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x458164]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x44b8dd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44b97a
push ebx
push esi
call fcn.0044b8a6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044b83a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44b927
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44b979
push edi
push eax
call fcn.00448f6b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44b947
call fcn.00448e18
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44b978
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044b83a
add esp, 0x20
test eax, eax
jne 0x44b966
push edi
call fcn.00448e18
jmp 0x44b96e
push ebx
call fcn.00448e18
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x44e5ce
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00448140
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44e63d
cmp esi, dword [ebp - 4]
je 0x44e638
cmp dword [ebp + 0xc], 0
je 0x44e638
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44e615
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0044e120
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x44e63f
xor eax, eax
inc eax
jmp 0x44e63f
xor eax, eax
pop edi
pop esi
leave
ret