joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43da18
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004057a0
xor eax, eax
push ebp
push 0x43db0e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0041261c
mov eax, dword [ebp - 8]
mov edx, 0x43db28
call fcn.00405748
jne 0x43dad0
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x43db34
call fcn.00411774
mov esi, eax
test esi, esi
jle 0x43daf3
push 0x7fffffff
lea ecx, [esi + 0xa]
mov edx, dword [ebp - 4]
mov eax, 0x43db48
call fcn.00411710
test eax, eax
jle 0x43daf3
lea edx, [ebp - 4]
mov ecx, 0x7fffffff
xchg edx, eax
call fcn.00405858
lea ecx, [esi + 9]
lea eax, [ebp - 4]
mov edx, 1
call fcn.00405858
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004057b0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov bl, 1
jmp 0x43daf3
lea eax, [ebp - 0xc]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0041261c
mov eax, dword [ebp - 0xc]
mov edx, 0x43db54
call fcn.00405748
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43db15
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405344
ret

Function at 0x43db58
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffae4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x151c], edx
mov dword [ebp - 0x1518], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43dcc1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dword [ebp - 0x1514], 1
mov dword [ebp - 0x1510], esi
mov eax, dword [0x55a39c]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x1514]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
jle 0x43dc9b
push 0
push 0x1400
lea eax, [ebp - 0x140d]
push eax
push esi
call sub.wsock32.dll_recv
mov ecx, eax
lea edx, [ebp - 0x140d]
lea eax, [ebp - 4]
call fcn.00405410
lea eax, [ebp - 0x1518]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0041261c
mov eax, dword [ebp - 0x1518]
mov edx, 0x43dcd8
call fcn.00405748
jne 0x43dc91
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x43dce4
call fcn.00411710
test eax, eax
jle 0x43dc81
lea ecx, [eax + 3]
lea eax, [ebp - 4]
mov edx, 1
call fcn.00405858
lea eax, [ebp - 0x151c]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0041261c
mov eax, dword [ebp - 0x151c]
call fcn.004055e0
cmp eax, 3
jne 0x43dc71
mov eax, dword [ebp - 4]
call fcn.0043da18
mov ebx, eax
jmp 0x43dc9b
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.0043db58
pop ecx
mov ebx, eax
jmp 0x43dc9b
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.0043db58
pop ecx
mov ebx, eax
jmp 0x43dc9b
mov eax, dword [ebp - 4]
call fcn.0043da18
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dcc8
lea eax, [ebp - 0x151c]
mov edx, 2
call fcn.00405344
lea eax, [ebp - 4]
call fcn.00405320
ret
Function at 0x43dcec
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], 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.004057a0
mov eax, dword [ebp - 8]
call fcn.004057a0
mov eax, dword [ebp + 8]
call fcn.004057a0
xor eax, eax
push ebp
push 0x43de7c
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.004057b0
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
setne bl
test bl, bl
je 0x43de51
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edi, eax
test edi, edi
jbe 0x43de48
mov dword [ebp - 0x1c], edi
push 0x43de98
push dword [ebp + 8]
push 0x43def0
push dword [ebp - 8]
push 0x43df08
push 0x43df14
push 0x43df20
push 0x43df14
push 0x43df14
lea eax, [ebp - 0x20]
mov edx, 9
call fcn.004056b4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.0043c4c4
lea eax, [ebp - 0xc]
mov edx, 0x400
call fcn.00405a40
jmp 0x43de30
cmp edi, 0x400
jbe 0x43ddd2
mov esi, 0x400
jmp 0x43ddd4
mov esi, edi
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.00405a40
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 0x43ddfb
cmp esi, dword [ebp - 0x18]
je 0x43ddff
xor ebx, ebx
jmp 0x43de38
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0043c4c4
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 0x43de38
test edi, edi
ja 0x43ddc3
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 0x43de83
lea eax, [ebp - 0x20]
call fcn.00405320
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405344
lea eax, [ebp + 8]
call fcn.00405320
ret
Function at 0x43e7e8
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.004057a0
mov eax, dword [ebp - 4]
call fcn.004057a0
mov eax, dword [ebp - 0xc]
call fcn.004057a0
mov eax, dword [ebp + 0x34]
call fcn.004057a0
mov eax, dword [ebp + 0x30]
call fcn.004057a0
mov eax, dword [ebp + 0x2c]
call fcn.00406d84
mov eax, dword [ebp + 0x28]
call fcn.00406d84
mov eax, dword [ebp + 0x24]
call fcn.00406d84
mov eax, dword [ebp + 0x20]
call fcn.00407478
mov eax, dword [ebp + 0x1c]
call fcn.004057a0
mov eax, dword [ebp + 0x18]
call fcn.004057a0
mov eax, dword [ebp + 0x14]
call fcn.004057a0
mov eax, dword [ebp + 8]
call fcn.00407478
xor eax, eax
push ebp
push 0x43e9fa
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 0x43e997
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, 0x43ea14
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 8], 0
je 0x43e8ca
push ebp
call fcn.0043e0b0
pop ecx
mov ebx, eax
jmp 0x43e980
cmp dword [ebp - 0xc], 0
je 0x43e980
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], 0
jne 0x43e951
lea eax, [ebp - 0xc]
call fcn.0043a464
mov esi, eax
test esi, esi
jle 0x43e8fc
push ebp
mov al, 1
call fcn.0043c5d8
pop ecx
mov dword [ebp - 0x10], eax
dec esi
jne 0x43e8ed
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
lea eax, [ebp - 0xc]
call fcn.0043a464
mov esi, eax
test esi, esi
jle 0x43e980
mov edi, 1
push ebp
lea eax, [ebp - 0x1a4]
push eax
mov cl, 0x2c
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0041261c
mov eax, dword [ebp - 0x1a4]
call fcn.0043d1a0
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 0x43e919
jmp 0x43e980
push ebp
xor eax, eax
call fcn.0043c5d8
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.0043d1a0
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 0x43e997
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 0x43ea01
lea eax, [ebp - 0x1a4]
call fcn.00405320
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405344
lea eax, [ebp + 8]
call fcn.00407404
lea eax, [ebp + 0x14]
mov edx, 3
call fcn.00405344
lea eax, [ebp + 0x20]
call fcn.00407404
lea eax, [ebp + 0x24]
mov edx, dword [0x409d58]
mov ecx, 3
call fcn.004061ec
lea eax, [ebp + 0x30]
mov edx, 2
call fcn.00405344
ret
Function at 0x43ebb0
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.004057a0
xor eax, eax
push ebp
push 0x43ec77
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042c64c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004053b8
cmp dword [ebp - 4], 0
je 0x43ec5a
mov eax, dword [ebp - 4]
call fcn.004055e0
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x43ec1a
mov eax, dword [ebp - 4]
call fcn.004055e0
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00405858
mov eax, dword [ebp - 4]
call fcn.004057b0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x43ec56
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0043ebb0
pop ecx
test al, al
je 0x43ec52
push 0
mov eax, dword [ebp - 4]
call fcn.004057b0
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x43ec56
xor ebx, ebx
jmp 0x43ec5c
mov bl, 1
jmp 0x43ec5c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ec7e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405344
ret
Function at 0x440828
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 0x440948
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
mov edx, 0x44
call fcn.00408b24
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_GetCommandLineA_1
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x440920
lea edx, [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.0042cf4c
lea eax, [ebp - 0x7c]
push eax
mov cl, 0x30
mov edx, 1
mov eax, dword [ebp - 0x6c]
call fcn.004121e0
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x440960
call fcn.00405638
mov eax, dword [ebp - 0x78]
call fcn.004057b0
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 0x440917
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, 0x55a458
mov ecx, 0x50
call fcn.004031a0
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 0x44094f
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00405344
ret
Function at 0x4484fc
Capabilities:
Create pipe
Create thread

Disassembly:
push 0
push 0
push 0x55ac3c
push 0x55ac38
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x448560
push 0x55ac30
push 0
push 0
push 0x4484a0
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x55ac34], eax
cmp dword [0x55ac34], 0
je 0x448560
push 0
push 0
push 0
mov ecx, 0x44856c
mov edx, dword [0x55ac34]
mov eax, dword [0x55ac30]
call fcn.0042d320
push 2
mov eax, dword [0x55ac34]
push eax
call sub.kernel32.dll_SetThreadPriority
ret

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

Disassembly:
add esp, 0xffffffc4
cmp dword [0x55ac30], 0xffffffff
je 0x44862d
mov eax, dword [0x55ac34]
push eax
call sub.kernel32.dll_ResumeThread
xor eax, eax
call fcn.0042da04
test al, al
jne 0x4485da
lea eax, [esp + 4]
mov edx, 0x38
call fcn.00408b24
push 0
lea eax, [esp + 4]
push eax
push 0x38
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x55ac3c]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [0x55ac3c]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x1f4
mov eax, dword [0x55ac34]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x4485e5
mov eax, dword [0x55ac3c]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
mov eax, dword [0x55ac34]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x448603
push 0
mov eax, dword [0x55ac34]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x55ac34]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x55ac38]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x55ac30]
call fcn.0042d320
add esp, 0x3c
ret
Function at 0x4490b4
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_1
test eax, eax
jle 0x4490ea
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00405590
jmp 0x4490f1
mov eax, ebx
call fcn.00405320
add esp, 0x108
pop ebx
ret

Function at 0x4493e0
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 0x4494da
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4494e8
push 0x449500
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x449427
mov dword [ebp - 0x60], 0x40
lea edx, [ebp - 0x60]
push edx
call eax
jmp 0x44944d
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.004066dc
push edx
push eax
lea ecx, [ebp - 0x64]
mov dl, 0x30
mov eax, 1
call fcn.00412194
push dword [ebp - 0x64]
push 0x449518
push 0
push 0x100000
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
add eax, 0x80000
adc edx, 0
call fcn.004066dc
push edx
push eax
lea ecx, [ebp - 0x68]
mov dl, 0x30
mov eax, 1
call fcn.00412194
push dword [ebp - 0x68]
push 0x449524
mov eax, ebx
mov edx, 4
call fcn.004056b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4494e1
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00405344
ret
Function at 0x449828
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 0x449963
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 4]
call fcn.00405320
xor eax, eax
push ebp
push 0x44993e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, ebx
mov edx, esi
call fcn.00405410
mov edx, edi
lea eax, [ebp - 8]
mov ecx, ebx
call fcn.00405410
mov eax, dword [ebp - 4]
call fcn.004055e0
cmp ebx, eax
jne 0x449934
mov eax, dword [ebp - 8]
call fcn.004055e0
cmp ebx, eax
jne 0x449934
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405748
je 0x449934
lea eax, [ebp - 0x10]
push eax
push 0x40
push ebx
push esi
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x449934
mov edx, esi
mov eax, edi
mov ecx, ebx
call fcn.004031a0
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 [0x56b9c8]
call fcn.00406a44
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, 0x56b9c8
mov ecx, 1
mov edx, dword [0x449804]
call fcn.00406c00
add esp, 4
lea edi, [ebx + ebx*2]
mov eax, dword [0x56b9c8]
mov dword [eax + edi*4], esi
mov eax, dword [0x56b9c8]
lea eax, [eax + edi*4 + 4]
mov edx, dword [ebp - 4]
call fcn.00405374
mov eax, dword [0x56b9c8]
lea eax, [eax + edi*4 + 8]
mov edx, dword [ebp - 8]
call fcn.00405374
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x449948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44996a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405344
ret
Function at 0x449978
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 0x449a6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x56b9c8]
call fcn.00406a4c
test eax, eax
jl 0x449a57
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 [0x56b9c8]
lea ebx, [edx + eax*4]
xor eax, eax
push ebp
push 0x449a41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 8]
call fcn.004055e0
mov ecx, eax
mov edx, dword [ebx]
lea eax, [ebp - 4]
call fcn.00405410
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 8]
call fcn.00405748
jne 0x449a37
lea eax, [ebp - 0xc]
push eax
push 0x40
mov eax, dword [ebx + 4]
call fcn.004055e0
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x449a37
mov eax, dword [ebx + 4]
call fcn.004055e0
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
call fcn.004031a0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebx + 4]
call fcn.004055e0
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 0x449a4b
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x4499b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449a74
lea eax, [ebp - 4]
call fcn.00405320
ret
Function at 0x449d6c
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 0x449e95
push dword fs:[eax]
mov dword fs:[eax], esp
cmp bl, 0x5c
je 0x449e7a
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x449ddf
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
call fcn.00405508
lea eax, [ebp - 0x2c]
mov edx, 0x449eac
call fcn.004055ec
mov eax, dword [ebp - 0x2c]
call fcn.004057b0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call eax
jmp 0x449e3b
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
call fcn.00405508
lea eax, [ebp - 0x30]
mov edx, 0x449eac
call fcn.004055ec
mov eax, dword [ebp - 0x30]
call fcn.004057b0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x449e3b
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.00406694
call fcn.00406694
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0x449eb8
lea eax, [ebp - 0x38]
mov edx, ebx
call fcn.00405508
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00411534
push dword [ebp - 0x34]
push 0x449ec4
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x3c]
call fcn.004128d8
push dword [ebp - 0x3c]
mov eax, esi
mov edx, 4
call fcn.004056b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449e9c
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00405344
ret
Function at 0x44c60c
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 0x44c636
push edi
call sub.kernel32.dll_SuspendThread
mov esi, eax
cmp esi, 0xffffffff
je 0x44c636
push edi
call sub.kernel32.dll_ResumeThread
test esi, esi
setg bl
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x44fd50
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.004057a0
mov eax, dword [ebp - 8]
call fcn.004057a0
xor eax, eax
push ebp
push 0x44fe79
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jne 0x44fe4c
mov eax, dword [ebp - 4]
call fcn.004057b0
push eax
call sub.kernel32.dll_GetModuleHandleA_2
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00414384
mov dword [edi], eax
test esi, esi
je 0x44fdc0
cmp word [esi], 0x25ff
jne 0x44fdc0
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x44fdc2
xor ebx, ebx
push 0
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, dword [0x56a7f8]
je 0x44fdda
cmp byte [0x55a424], 0
je 0x44fdf1
lea eax, [ebp - 0x14]
call fcn.0042cfc0
mov eax, dword [ebp - 0x14]
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
call fcn.0042d290
jmp 0x44fe00
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
mov eax, dword [0x56a7f8]
call fcn.0042d1f8
test ebx, ebx
je 0x44fe0f
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
je 0x44fe13
xor eax, eax
jmp 0x44fe15
mov al, 1
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x44fe50
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 0x44fe50
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 0x44fe50
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe80
lea eax, [ebp - 0x14]
mov edx, dword [0x42cf94]
call fcn.00406d20
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405344
ret
Function at 0x44fe90
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 0x44ff65
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x44ff49
test esi, esi
je 0x44fed1
cmp word [esi], 0x25ff
jne 0x44fed1
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x44fed3
xor ebx, ebx
push 0
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, dword [0x56a7f8]
je 0x44feeb
cmp byte [0x55a424], 0
je 0x44ff02
lea eax, [ebp - 0xc]
call fcn.0042cfc0
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 4]
call fcn.0042d290
jmp 0x44ff11
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, dword [0x56a7f8]
call fcn.0042d1f8
test ebx, ebx
je 0x44ff49
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
jne 0x44ff49
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 0x44ff49
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 0x44ff6c
lea eax, [ebp - 0xc]
mov edx, dword [0x42cf94]
call fcn.00406d20
ret