joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a40
Capabilities:
Link many functions at runtime
Log keystrokes via application hook
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4173f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x41fea0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FunLittlePInit
push dword [0x4211dc]
call esi
push str.FunLittlePRend
push dword [0x4211dc]
mov dword [0x421940], eax
call esi
push str.FunLittlePExit
push dword [0x4211dc]
mov dword [0x421944], eax
call esi
push str.FunLittlePInput
push dword [0x4211dc]
mov dword [0x421948], eax
call esi
push str.FunLittlePScene
push dword [0x4211dc]
mov dword [0x42194c], eax
call esi
mov ecx, dword [0x421940]
mov dword [0x421950], eax
test ecx, ecx
je 0x403c78
cmp dword [0x421944], 0
je 0x403c78
cmp dword [0x421948], 0
je 0x403c78
cmp dword [0x42194c], 0
je 0x403c78
test eax, eax
je 0x403c78
push 0x4213e0
push dword [0x4211d0]
call ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 8
push 0
push 0
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0x404070
push 0xe
call esi
push 0
push 0
mov dword [0x421954], eax
call edi
push eax
push 0x403d30
push 0xd
call esi
mov dword [0x421958], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404c80
add esp, 4
push eax
mov ecx, 0x42195c
mov dword [ebp - 4], 0
call fcn.00401210
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004011f0
mov eax, dword [0x4211d0]
push 0x65
push 0
mov dword [0x4211e0], 0x1fc
mov dword [0x4211e4], eax
mov dword [0x4211e8], 0
mov dword [0x4211ec], 7
mov dword [0x4211f0], 0x400
call edi
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.IDC_ABOUT
mov dword [0x4211f4], eax
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.String
mov dword [ebp - 4], 1
call fcn.00401100
mov eax, dword [0x42195c]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 2
mov esi, esp
push eax
call fcn.004016a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00402380
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov dword [ebp - 4], 3
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x403c36
push 0
lea ecx, [ebp - 0x10]
call fcn.00402dc0
mov eax, dword [ebp - 0x10]
mov edx, 0x4211f8
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x403c40
push 0x4211e0
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea ecx, [ebp - 0x10]
call fcn.004011f0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4133d4
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41fea0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040fb71
mov dword [ebp - 0x14], eax
cmp dword [0x422750], esi
jne 0x4134c7
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x413454
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4135a7
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4135a7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4135a7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x422750], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x422754], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x422758], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x422760], eax
test eax, eax
je 0x4134c4
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42275c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4134ec
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4134df
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x413501
push 4
pop eax
jmp 0x4135a9
cmp dword [ebp - 0x14], esi
je 0x413501
push dword [0x422750]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4134e6
mov eax, dword [0x42275c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41355f
cmp dword [0x422760], edi
je 0x41355f
push eax
call ebx
push dword [0x422760]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41355f
test eax, eax
je 0x41355f
call ecx
test eax, eax
je 0x413554
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x413554
test byte [ebp - 8], 1
jne 0x41355f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41358f
mov eax, dword [0x422754]
cmp eax, edi
je 0x41358c
push eax
call ebx
test eax, eax
je 0x41358c
call eax
mov esi, eax
test esi, esi
je 0x41358c
mov eax, dword [0x422758]
cmp eax, edi
je 0x41358c
push eax
call ebx
test eax, eax
je 0x41358c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x422750]
call ebx
test eax, eax
je 0x4135a7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4135a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407792
mov esp, ebp
pop ebp
ret
Function at 0x10020b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fae4c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1014d094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10020c44
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.10021b90
mov al, byte [edi + 0x68]
cmp al, 1
jne 0x10020c83
cmp dword [edi + 0x70], 0
jne 0x10020c83
push 0x4269
push str.C:Usersw9263DesktopFormDX_PrivateFormDXConfigjsonjson.hpp
push str.m_type___value_t::object_or_m_value.object___nullptr
call fcn.10063b16
mov al, byte [edi + 0x68]
add esp, 0xc
cmp al, 2
jne 0x10020ca7
cmp dword [edi + 0x70], 0
jne 0x10020ca7
push 0x426a
push str.C:Usersw9263DesktopFormDX_PrivateFormDXConfigjsonjson.hpp
push str.m_type___value_t::array_or_m_value.array___nullptr
call fcn.10063b16
mov al, byte [edi + 0x68]
add esp, 0xc
cmp al, 3
jne 0x10020ccb
cmp dword [edi + 0x70], 0
jne 0x10020cec
push 0x426b
push str.C:Usersw9263DesktopFormDX_PrivateFormDXConfigjsonjson.hpp
push str.m_type___value_t::string_or_m_value.string___nullptr
call fcn.10063b16
mov al, byte [edi + 0x68]
add esp, 0xc
cmp al, 8
jne 0x10020cec
cmp dword [edi + 0x70], 0
jne 0x10020cec
push 0x426c
push str.C:Usersw9263DesktopFormDX_PrivateFormDXConfigjsonjson.hpp
push str.m_type___value_t::binary_or_m_value.binary___nullptr
call fcn.10063b16
add esp, 0xc
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.100224b0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10020d18
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x100296e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fba30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1014d094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], 0x10111764
call fcn.10054653
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100535f0
mov dword [esi + 4], eax
lea ebx, [edi + 4]
mov eax, dword [ebp - 0x10]
lea edx, [edi + 8]
mov dword [ebp - 0x14], ebx
lea ecx, [eax + 0x18]
mov ebx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x34], esi
add edi, 0x14
mov dword [ebx], 0x1010de58
lea esi, [eax + 0x24]
mov byte [ebx + 0x48], 0
add eax, 0x28
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x2c], esi
mov ebx, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [ecx], 0
mov ecx, dword [0x1017dcd4]
mov dword [eax], 0
mov eax, dword [0x1017dcd0]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x4c], 0
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100393a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, edx
mov dword [ebp - 0x14], 0
test esi, esi
jne 0x100393b9
mov byte [ebp - 8], dl
jmp 0x100393d6
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
push 0x40
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
push esi
push 0x90
push dword [ebp + 8]
call fcn.10056960
add esp, 0xc
cmp byte [ebp - 8], 0
je 0x10039404
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10039650
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], edi
push ecx
push 0x40
mov eax, dword [esi]
push edi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
test eax, eax
push 0x90
push dword [esi]
setne byte [ebp - 4]
call fcn.10056960
mov esi, dword [esi]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp byte [ebp - 4], 0
pop edi
pop esi
je 0x100396b5
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x100396c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], edi
push ecx
push 0x40
mov eax, dword [ebx]
mov esi, edx
push edi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push dword [esi]
test eax, eax
push dword [ebx]
setne byte [ebp - 4]
call fcn.100563e0
mov esi, dword [ebx]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp byte [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x10039726
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x10039ff0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1014d094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.d3d9.dll
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10066fee
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [eax + 0x128000]
cmp eax, ecx
jae 0x1003a06c
mov esi, 0x6c7
mov edx, 0x8689
inc eax
cmp word [eax], si
jne 0x1003a062
cmp word [eax + 6], dx
jne 0x1003a062
cmp word [eax + 0xc], dx
je 0x1003a086
lea ecx, [eax + 0x128000]
cmp eax, ecx
jb 0x1003a050
mov ecx, dword [eax + 1]
mov eax, dword [ebp + 8]
pop esi
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054437
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 2]
jmp 0x1003a06f

Function at 0x1003a2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
movlpd qword [ebp - 0x10], xmm0
jb 0x1003a34a
mov edi, dword [ebp + 8]
ja 0x1003a313
test edi, edi
je 0x1003a34a
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
nop dword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edx, dword [ebp + 0x14]
and ecx, 7
shl ecx, 3
call fcn.1007e0f0
mov ecx, dword [ebp - 4]
xor byte [esi + ecx], al
add esi, 1
adc ebx, 0
cmp ebx, dword [ebp + 0xc]
jb 0x1003a320
ja 0x1003a34a
cmp esi, edi
jb 0x1003a320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003a360
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc0d0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1014d094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x1003a3dd
sub ebx, eax
lea ecx, [edi + 4]
push ebx
call fcn.10020260
mov esi, dword [edi + 4]
push ebx
push dword [ebp + 8]
push esi
call fcn.100563e0
lea eax, [ebx + esi]
add esp, 0xc
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
sub ebx, eax
je 0x1003a42d
cmp ebx, 0x7fffffff
ja 0x1003a49d
push ebx
mov ecx, esi
call fcn.10020260
mov esi, dword [esi]
push ebx
push 0x90
push esi
call fcn.10056960
lea eax, [esi + ebx]
add esp, 0xc
lea esi, [edi + 0x10]
mov dword [esi + 4], eax
lea eax, [ebp + 0xc]
mov byte [edi + 0x1c], 0
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
push 0x40
push eax
push dword [edi]
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [edi + 0x1c], 0
jne 0x1003a487
mov eax, dword [edi + 8]
mov ecx, eax
sub ecx, dword [edi + 4]
je 0x1003a470
push ecx
push dword [edi]
push dword [esi]
call fcn.100563e0
mov eax, dword [edi + 8]
add esp, 0xc
nop dword [eax]
mov ecx, dword [edi + 4]
sub eax, ecx
je 0x1003a483
push eax
push ecx
push dword [edi]
call fcn.100563e0
add esp, 0xc
mov byte [edi + 0x1c], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.100219c0
int3
Function at 0x1003d970
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov bl, byte [esi]
test eax, eax
je 0x1003d9b7
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003dae0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov edi, ecx
push 0xc
mov dword [ebp - 4], edi
call fcn.10054653
mov esi, eax
mov dword [ebp - 8], 0
add esp, 4
mov dword [ebp - 4], esi
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
mov dword [esi], 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov eax, 0x1000
div ecx
test edx, edx
jne 0x1003db43
mov ecx, 0x1000
jmp 0x1003db4b
sub ecx, edx
add ecx, 0x1000
push 0x40
push 0x3000
push ecx
push 0
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
mov eax, edi
mov dword [edi], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003dba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 8]
push ecx
push 0x40
mov eax, dword [esi]
push 1
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov eax, dword [esi]
setne byte [ebp - 4]
mov byte [eax], 0xe9
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp byte [ebp - 4], 0
pop esi
je 0x1003dbfb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x1003dc00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 8]
mov esi, edx
push ecx
push 0x40
mov eax, dword [edi]
push 4
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov eax, dword [edi]
setne byte [ebp - 4]
mov dword [eax], esi
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp byte [ebp - 4], 0
pop edi
pop esi
je 0x1003dc5e
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x10052940
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov ecx, 0xcb0870
movss dword [ebp - 8], xmm1
call fcn.10052b90
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 0xc]
push eax
call fcn.1003c250
mov dword [ebp - 0x18], 4
mov esi, dword [eax]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [ebp - 8]
test eax, eax
setne byte [ebp - 0x10]
movss dword [esi], xmm0
cmp byte [ebp - 0x10], 0
je 0x100529ac
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100529c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
call fcn.10052b90
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.1003c250
mov dword [ebp - 0x14], 4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x10052a19
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100642ca
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100558b0
mov eax, dword [0x1014d094]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1006adfc
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1006430c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10064468
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1007e110
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1015b350]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10070e97
mov ecx, dword [esi*4 + 0x1015b350]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10064461
cmp eax, dword [ecx + edi + 0x24]
jne 0x10064461
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10064461
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10070e97
add esp, 0x14
test edx, edx
jl 0x10064461
jg 0x100643d7
test eax, eax
jb 0x10064461
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10064461
jl 0x100643f1
cmp dword [ebp - 0x1008], eax
ja 0x10064461
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1006440f
test ebx, ebx
je 0x10064448
cmp ecx, edi
jae 0x10064448
mov al, byte [ecx]
cmp al, 0xd
jne 0x10064429
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10064435
cmp byte [ecx + 1], 0xa
jne 0x10064435
inc ecx
jmp 0x10064435
movzx eax, al
movsx eax, byte [eax + 0x1014d300]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1006440f
cmp edx, ebx
jne 0x1006440f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10064466
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10054437
leave
ret

Function at 0x10069fb9
Capabilities:
Parse pe header

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