joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451034
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00406470
mov eax, dword [ebp - 8]
call fcn.00406470
mov eax, dword [ebp + 8]
call fcn.00406470
xor eax, eax
push ebp
push 0x4511f0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00406480
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
setne bl
test bl, bl
je 0x4511c0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_GetFileSize_1
mov edi, eax
test edi, edi
jbe 0x4511b7
mov dword [ebp - 0x1c], edi
push 0x451210
lea eax, [ebp - 0x24]
mov edx, dword [0x5d1028]
mov ecx, 0
call fcn.00405fa4
push dword [ebp - 0x24]
push 0x451224
push 0x451234
push dword [ebp + 8]
push 0x451268
push dword [ebp - 8]
push 0x451284
push 0x451224
push 0x451294
push 0x451224
push 0x451224
lea eax, [ebp - 0x20]
mov edx, 0xc
call fcn.00406270
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.0044f70c
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 0x400
call fcn.00406764
jmp 0x45119f
cmp edi, 0x400
jbe 0x45113f
mov esi, 0x400
jmp 0x451141
mov esi, edi
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, esi
call fcn.00406764
push 0
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_ReadFile_1
test eax, eax
je 0x45116a
cmp esi, dword [ebp - 0x18]
je 0x45116e
xor ebx, ebx
jmp 0x4511a7
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0044f70c
mov ebx, eax
sub edi, esi
mov eax, dword [ebp - 0x1c]
sub eax, edi
imul eax, eax, 0x3e8
xor edx, edx
div dword [ebp - 0x1c]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test bl, bl
je 0x4511a7
test edi, edi
ja 0x451130
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4511f7
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00405d00
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405d00
lea eax, [ebp + 8]
call fcn.00405cdc
ret
Function at 0x451c3c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00406470
mov eax, dword [ebp - 4]
call fcn.00406470
mov eax, dword [ebp - 0xc]
call fcn.00406470
mov eax, dword [ebp + 0x34]
call fcn.00406470
mov eax, dword [ebp + 0x30]
call fcn.00406470
mov eax, dword [ebp + 0x2c]
call fcn.0040859c
mov eax, dword [ebp + 0x28]
call fcn.0040859c
mov eax, dword [ebp + 0x24]
call fcn.0040859c
mov eax, dword [ebp + 0x20]
call fcn.00408d88
mov eax, dword [ebp + 0x1c]
call fcn.00406470
mov eax, dword [ebp + 0x18]
call fcn.00406470
mov eax, dword [ebp + 0x14]
call fcn.00406470
mov eax, dword [ebp + 8]
call fcn.00408d88
xor eax, eax
push ebp
push 0x451e4e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x451deb
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
push 0
push 0x3e8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, 0x451e6c
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 8], 0
je 0x451d1e
push ebp
call fcn.00451468
pop ecx
mov ebx, eax
jmp 0x451dd4
cmp dword [ebp - 0xc], 0
je 0x451dd4
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], 0
jne 0x451da5
lea eax, [ebp - 0xc]
call fcn.0044d4d0
mov esi, eax
test esi, esi
jle 0x451d50
push ebp
mov al, 1
call fcn.0044f838
pop ecx
mov dword [ebp - 0x10], eax
dec esi
jne 0x451d41
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
lea eax, [ebp - 0xc]
call fcn.0044d4d0
mov esi, eax
test esi, esi
jle 0x451dd4
mov edi, 1
push ebp
lea eax, [ebp - 0x1a4]
push eax
mov cl, 0x2c
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0041ca60
mov eax, dword [ebp - 0x1a4]
call fcn.00450410
pop ecx
or bl, al
mov edx, dword [ebp - 0x10]
imul edx, edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
inc edi
dec esi
jne 0x451d6d
jmp 0x451dd4
push ebp
xor eax, eax
call fcn.0044f838
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push ebp
mov eax, dword [ebp - 0xc]
call fcn.00450410
pop ecx
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
call sub.wsock32.dll_WSACleanup
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x451deb
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451e55
lea eax, [ebp - 0x1a4]
call fcn.00405cdc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405d00
lea eax, [ebp + 8]
call fcn.00408d14
lea eax, [ebp + 0x14]
mov edx, 3
call fcn.00405d00
lea eax, [ebp + 0x20]
call fcn.00408d14
lea eax, [ebp + 0x24]
mov edx, dword [0x41a32c]
mov ecx, 3
call fcn.004077dc
lea eax, [ebp + 0x30]
mov edx, 2
call fcn.00405d00
ret
Function at 0x452010
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406470
xor eax, eax
push ebp
push 0x4520e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043ee58
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00405d8c
cmp dword [ebp - 4], 0
je 0x4520c8
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405eec
call fcn.00406084
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x452088
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405eec
call fcn.00406084
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00406564
mov eax, dword [ebp - 4]
call fcn.00406480
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x4520c4
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00452010
pop ecx
test al, al
je 0x4520c0
push 0
mov eax, dword [ebp - 4]
call fcn.00406480
push eax
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
jne 0x4520c4
xor ebx, ebx
jmp 0x4520ca
mov bl, 1
jmp 0x4520ca
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4520ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405d00
ret
Function at 0x453eac
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended
Read file via mapping
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], eax
xor eax, eax
push ebp
push 0x453fcc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
mov edx, 0x44
call fcn.0040ade0
mov dword [ebp - 0x64], 0x44
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
call sub.KERNEL32.DLL_GetCommandLineW_1
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessW
test eax, eax
je 0x453fa4
lea edx, [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.0043f794
lea eax, [ebp - 0x7c]
push eax
mov cl, 0x30
mov edx, 1
mov eax, dword [ebp - 0x6c]
call fcn.0041c5bc
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x453fe8
call fcn.00406180
mov eax, dword [ebp - 0x78]
call fcn.00406480
push eax
push 0x58
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CreateFileMappingA
mov esi, eax
push 0
push 0
push 0
push 0xf001f
push esi
call sub.KERNEL32.DLL_MapViewOfFile
mov ebx, eax
test ebx, ebx
je 0x453f9b
call sub.KERNEL32.DLL_GetCurrentProcessId
mov dword [ebx], eax
push 2
push 0
push 0
lea eax, [ebx + 4]
push eax
mov eax, dword [ebp - 0x74]
push eax
push esi
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_DuplicateHandle
lea edx, [ebx + 8]
mov eax, 0x5d0880
mov ecx, 0x50
call fcn.00403278
mov eax, dword [ebp - 0x70]
push eax
call sub.KERNEL32.DLL_ResumeThread
push 2
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453fd3
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00405d00
ret
Function at 0x45b570
Capabilities:
Create pipe
Create thread

Disassembly:
push 0
push 0
push 0x5d108c
push 0x5d1088
call sub.KERNEL32.DLL_CreatePipe
test eax, eax
je 0x45b5d4
push 0x5d1080
push 0
push 0
push 0x45b514
push 0
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x5d1084], eax
cmp dword [0x5d1084], 0
je 0x45b5d4
push 0
push 0
push 0
mov ecx, 0x45b5e4
mov edx, dword [0x5d1084]
mov eax, dword [0x5d1080]
call fcn.0043fb68
push 2
mov eax, dword [0x5d1084]
push eax
call sub.KERNEL32.DLL_SetThreadPriority
ret

Function at 0x45b5e8
Capabilities:
Resume thread
Terminate thread
Write file on windows

Disassembly:
add esp, 0xffffffc4
cmp dword [0x5d1080], 0xffffffff
je 0x45b6a5
mov eax, dword [0x5d1084]
push eax
call sub.KERNEL32.DLL_ResumeThread
xor eax, eax
call fcn.00440294
test al, al
jne 0x45b652
lea eax, [esp + 4]
mov edx, 0x38
call fcn.0040ade0
push 0
lea eax, [esp + 4]
push eax
push 0x38
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x5d108c]
push eax
call sub.KERNEL32.DLL_WriteFile_1
mov eax, dword [0x5d108c]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
push 0x1f4
mov eax, dword [0x5d1084]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
jmp 0x45b65d
mov eax, dword [0x5d108c]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
push 0x32
mov eax, dword [0x5d1084]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
test eax, eax
je 0x45b67b
push 0
mov eax, dword [0x5d1084]
push eax
call sub.KERNEL32.DLL_TerminateThread
mov eax, dword [0x5d1084]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, dword [0x5d1088]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x5d1080]
call fcn.0043fb68
add esp, 0x3c
ret
Function at 0x45c4c8
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
push 0x1001
push 0x800
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x45c500
mov eax, ebx
mov edx, esp
mov ecx, 0x105
push 0
call fcn.00406028
jmp 0x45c507
mov eax, ebx
call fcn.00405cdc
add esp, 0x108
pop ebx
ret

Function at 0x45c810
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
xor edx, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45c90a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45c918
push 0x45c944
call sub.KERNEL32.DLL_GetModuleHandleW_2
push eax
call fcn.0040a06c
test eax, eax
je 0x45c857
mov dword [ebp - 0x60], 0x40
lea edx, [ebp - 0x60]
push edx
call eax
jmp 0x45c87d
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push 0
push 0x100000
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
add eax, 0x80000
adc edx, 0
call fcn.00407da8
push edx
push eax
lea ecx, [ebp - 0x64]
mov dl, 0x30
mov eax, 1
call fcn.0041c568
push dword [ebp - 0x64]
push 0x45c96c
push 0
push 0x100000
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
add eax, 0x80000
adc edx, 0
call fcn.00407da8
push edx
push eax
lea ecx, [ebp - 0x68]
mov dl, 0x30
mov eax, 1
call fcn.0041c568
push dword [ebp - 0x68]
push 0x45c97c
mov eax, ebx
mov edx, 4
call fcn.00406270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c911
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00405d00
ret
Function at 0x45cc94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45cde1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 4]
call fcn.00405cdc
xor eax, eax
push ebp
push 0x45cdbc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
mov ecx, ebx
mov edx, esi
call fcn.00405e14
push 0
mov edx, edi
lea eax, [ebp - 8]
mov ecx, ebx
call fcn.00405e14
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405eec
call fcn.00406084
cmp ebx, eax
jne 0x45cdb2
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405eec
call fcn.00406084
cmp ebx, eax
jne 0x45cdb2
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00406468
je 0x45cdb2
lea eax, [ebp - 0x10]
push eax
push 0x40
push ebx
push esi
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
je 0x45cdb2
mov edx, esi
mov eax, edi
mov ecx, ebx
call fcn.00403278
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
push esi
call sub.KERNEL32.DLL_VirtualProtect
mov eax, dword [0x5def80]
call fcn.00408250
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, 0x5def80
mov ecx, 1
mov edx, dword [0x45cc70]
call fcn.00408418
add esp, 4
lea edi, [ebx + ebx*2]
mov eax, dword [0x5def80]
mov dword [eax + edi*4], esi
mov eax, dword [0x5def80]
lea eax, [eax + edi*4 + 4]
mov edx, dword [ebp - 4]
call fcn.00405d30
mov eax, dword [0x5def80]
lea eax, [eax + edi*4 + 8]
mov edx, dword [ebp - 8]
call fcn.00405d30
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45cdc6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cde8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405d00
ret
Function at 0x45cdf4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45ceeb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5def80]
call fcn.00408258
test eax, eax
jl 0x45ced5
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [0x5def80]
lea ebx, [edx + eax*4]
xor eax, eax
push ebp
push 0x45cebf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebx + 8]
call fcn.00406084
mov ecx, eax
mov edx, dword [ebx]
lea eax, [ebp - 4]
call fcn.00405e14
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 8]
call fcn.00406468
jne 0x45ceb5
lea eax, [ebp - 0xc]
push eax
push 0x40
mov eax, dword [ebx + 4]
call fcn.00406084
push eax
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
je 0x45ceb5
mov eax, dword [ebx + 4]
call fcn.00406084
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
call fcn.00403278
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebx + 4]
call fcn.00406084
push eax
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45cec9
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x45ce2d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cef2
lea eax, [ebp - 4]
call fcn.00405cdc
ret
Function at 0x45d208
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45d340
push dword fs:[eax]
mov dword fs:[eax], esp
cmp bl, 0x5c
je 0x45d325
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x45d280
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
mov edx, ebx
mov ecx, 0
call fcn.00405f94
lea eax, [ebp - 0x2c]
mov edx, 0x45d35c
call fcn.004060b8
mov eax, dword [ebp - 0x2c]
call fcn.00406480
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call eax
jmp 0x45d2e1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
mov edx, ebx
mov ecx, 0
call fcn.00405f94
lea eax, [ebp - 0x30]
mov edx, 0x45d35c
call fcn.004060b8
mov eax, dword [ebp - 0x30]
call fcn.00406480
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
test eax, eax
je 0x45d2e1
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.00407d60
call fcn.00407d60
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0x45d36c
lea eax, [ebp - 0x38]
mov edx, ebx
mov ecx, 0
call fcn.00405f94
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0041abcc
push dword [ebp - 0x34]
push 0x45d37c
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x3c]
call fcn.0041ce38
push dword [ebp - 0x3c]
mov eax, esi
mov edx, 4
call fcn.00406270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d347
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00405d00
ret
Function at 0x45fddc
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
call sub.KERNEL32.DLL_GetCurrentThreadId_1
cmp esi, eax
je 0x45fe06
push edi
call sub.KERNEL32.DLL_SuspendThread
mov esi, eax
cmp esi, 0xffffffff
je 0x45fe06
push edi
call sub.KERNEL32.DLL_ResumeThread
test esi, esi
setg bl
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x463c48
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00406470
mov eax, dword [ebp - 8]
call fcn.00406470
xor eax, eax
push ebp
push 0x463d71
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jne 0x463d44
mov eax, dword [ebp - 4]
call fcn.00406480
push eax
call sub.KERNEL32.DLL_GetModuleHandleA
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004260fc
mov dword [edi], eax
test esi, esi
je 0x463cb8
cmp word [esi], 0x25ff
jne 0x463cb8
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x463cba
xor ebx, ebx
push 0
call sub.KERNEL32.DLL_GetModuleHandleW_2
cmp eax, dword [0x5dbb50]
je 0x463cd2
cmp byte [0x5d084c], 0
je 0x463ce9
lea eax, [ebp - 0x14]
call fcn.0043f808
mov eax, dword [ebp - 0x14]
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
call fcn.0043fad8
jmp 0x463cf8
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
mov eax, dword [0x5dbb50]
call fcn.0043fa40
test ebx, ebx
je 0x463d07
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
je 0x463d0b
xor eax, eax
jmp 0x463d0d
mov al, 1
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x463d48
add esi, 2
mov ebx, dword [esi]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push ebx
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
je 0x463d48
mov eax, dword [ebp + 8]
mov dword [ebx], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 4
push ebx
call sub.KERNEL32.DLL_VirtualProtect
jmp 0x463d48
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463d78
lea eax, [ebp - 0x14]
mov edx, dword [0x43f7dc]
call fcn.00408538
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405d00
ret
Function at 0x463d88
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x463e5d
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x463e41
test esi, esi
je 0x463dc9
cmp word [esi], 0x25ff
jne 0x463dc9
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x463dcb
xor ebx, ebx
push 0
call sub.KERNEL32.DLL_GetModuleHandleW_2
cmp eax, dword [0x5dbb50]
je 0x463de3
cmp byte [0x5d084c], 0
je 0x463dfa
lea eax, [ebp - 0xc]
call fcn.0043f808
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 4]
call fcn.0043fad8
jmp 0x463e09
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, dword [0x5dbb50]
call fcn.0043fa40
test ebx, ebx
je 0x463e41
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
jne 0x463e41
add esi, 2
mov ebx, dword [esi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
je 0x463e41
mov dword [ebx], edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
push ebx
call sub.KERNEL32.DLL_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463e64
lea eax, [ebp - 0xc]
mov edx, dword [0x43f7dc]
call fcn.00408538
ret
Function at 0x464624
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov dword [ebp - 0x44], ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 0x40]
mov edx, dword [0x427794]
call fcn.004076b4
xor eax, eax
push ebp
push 0x4646e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x45], 0
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.0042ca9c
cmp byte [ebp - 0x40], 0
je 0x4646c8
mov eax, dword [ebp - 0x20]
call fcn.00408258
test eax, eax
jl 0x4646c8
inc eax
xor esi, esi
mov edx, esi
add edx, edx
add edx, edx
add edx, edx
sub edx, esi
mov ecx, dword [ebp - 0x20]
lea ebx, [ecx + edx*4]
cmp byte [ebx + 0x10], 0
je 0x4646c4
cmp edi, dword [ebx + 0xc]
jne 0x4646c4
lea eax, [ebp - 0x4c]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x14]
push eax
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
je 0x4646c8
mov edx, dword [ebp - 0x44]
sub edx, dword [ebx + 8]
mov eax, dword [ebx + 0x14]
mov dword [eax], edx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x4c]
push edx
push 4
push eax
call sub.KERNEL32.DLL_VirtualProtect
mov byte [ebp - 0x45], 1
jmp 0x4646c8
inc esi
dec eax
jne 0x464673
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4646eb
lea eax, [ebp - 0x40]
mov edx, dword [0x427794]
call fcn.0040778c
ret

Function at 0x464e7c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406470
lea eax, [ebp - 0xc]
mov edx, dword [0x464d5c]
call fcn.004076b4
xor eax, eax
push ebp
push 0x464f2e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x464f3c
call sub.user32.dll_FindWindowW
mov ebx, eax
test ebx, ebx
je 0x464f02
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov cl, 0x30
mov edx, 1
call fcn.0041c5bc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x464f60
call fcn.00406180
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405d8c
lea eax, [ebp - 0xc]
push eax
push 0x464d88
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464f35
lea eax, [ebp - 0x10]
call fcn.00405cdc
lea eax, [ebp - 0xc]
mov edx, dword [0x464d5c]
call fcn.0040778c
lea eax, [ebp - 4]
call fcn.00405cdc
ret