joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477750
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402c18
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
pop ebp
ret

Function at 0x478b04
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
mov ebx, eax
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00403ec8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x478b40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004040cc
mov eax, dword [ebp - 8]
call fcn.004040cc
xor eax, eax
push ebp
push 0x478c39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403c9c
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.004040dc
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x478c1e
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004040dc
mov edi, eax
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
cmp dword [ebp - 0x10], 0
je 0x478c15
mov eax, dword [ebp - 0x10]
add eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x478c0f
cmp dword [ebp - 0x14], 1
jne 0x478c03
mov eax, ebx
mov edx, esi
call fcn.00403e50
jmp 0x478c0f
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.00403d80
push esi
call sub.kernel32.dll_LocalFree_1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478c40
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403cc0
ret
Function at 0x478f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0041c608
test eax, eax
je 0x478fb0
add eax, 0x80
mov edx, dword [eax]
mov esi, edx
add esi, dword [ebp - 4]
add edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
test esi, esi
je 0x478fb0
jmp 0x478faa
mov eax, dword [esi + 0x10]
cmp eax, dword [ebp - 0x10]
jbe 0x478f66
push ebp
call fcn.00478e50
pop ecx
jmp 0x478fb0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x478fa7
mov ebx, dword [ebp - 4]
add ebx, eax
jmp 0x478fa2
cmp edi, dword [ebx]
jne 0x478f9f
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x478f9f
mov eax, dword [ebp - 8]
mov dword [ebx], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
add ebx, 4
cmp dword [ebx], 0
jne 0x478f74
add esi, 0x14
cmp dword [esi + 0xc], 0
jne 0x478f55
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47a8a4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5b6c70], 0
jne 0x47a92e
cmp dword [0x5b6bdc], 0
jle 0x47a92e
xor eax, eax
call fcn.0041beac
mov dword [0x5b6c70], eax
cmp dword [0x5b6c70], 0
je 0x47a92e
mov eax, 0x47a744
xor ecx, ecx
xor edx, edx
call fcn.0041c2fc
mov dword [0x5b6c74], eax
push 0x5b6c68
push 0
push 0
push 0x47a784
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5b6c6c], eax
cmp dword [0x5b6c6c], 0
je 0x47a92e
push 0
push 0
push 0
mov ecx, 0x47a938
mov edx, dword [0x5b6c6c]
mov eax, dword [0x5b6c68]
call fcn.00479050
push 2
mov eax, dword [0x5b6c6c]
push eax
call sub.kernel32.dll_SetThreadPriority
pop ebp
ret

Function at 0x47a93c
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5b6c70], 0
je 0x47a9c5
cmp dword [0x5b6bdc], 0
jle 0x47a9c5
cmp dword [0x5b6c80], 0
je 0x47a96c
mov eax, dword [0x5b6c80]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [0x5b6c80], eax
mov dword [0x5b6c7c], 0xffffffff
mov eax, 0x47a744
xor ecx, ecx
xor edx, edx
call fcn.0041c504
push 0
mov eax, dword [0x5b6c6c]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x5b6c6c]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x5b6c68]
call fcn.00479050
xor eax, eax
mov dword [0x5b6c6c], eax
xor eax, eax
mov dword [0x5b6c68], eax
xor eax, eax
mov dword [0x5b6c70], eax
pop ebp
ret
Function at 0x47abb4
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.004040cc
xor eax, eax
push ebp
push 0x47ac7b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00478a8c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00403d34
cmp dword [ebp - 4], 0
je 0x47ac5e
mov eax, dword [ebp - 4]
call fcn.00403f18
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x47ac1e
mov eax, dword [ebp - 4]
call fcn.00403f18
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.0040415c
mov eax, dword [ebp - 4]
call fcn.004040dc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x47ac5a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0047abb4
pop ecx
test al, al
je 0x47ac56
push 0
mov eax, dword [ebp - 4]
call fcn.004040dc
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x47ac5a
xor ebx, ebx
jmp 0x47ac60
mov bl, 1
jmp 0x47ac60
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ac82
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403cc0
ret
Function at 0x47b3f0
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 0x47b522
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
mov edx, 0x44
call fcn.0040795c
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 0x47b4fa
mov dword [ebp - 0xc], 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 0x20]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
lea eax, [ebp - 0x7c]
push eax
mov cl, 0x30
mov edx, 1
mov eax, dword [ebp - 0x6c]
call fcn.0041aa98
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x47b538
call fcn.00403f64
mov eax, dword [ebp - 0x78]
call fcn.004040dc
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 0x47b4f1
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, 0x5b6c84
mov ecx, 0x50
call fcn.0040282c
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 0x47b529
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00403cc0
ret
Function at 0x47ee7c
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0x5b6d00
push 0x5b6cfc
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x47eee3
push 0x5b6cf4
push 0
push 0
push 0x47ee20
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5b6cf8], eax
cmp dword [0x5b6cf8], 0
je 0x47eee3
push 0
push 0
push 0
mov ecx, 0x47eef0
mov edx, dword [0x5b6cf8]
mov eax, dword [0x5b6cf4]
call fcn.00479050
push 2
mov eax, dword [0x5b6cf8]
push eax
call sub.kernel32.dll_SetThreadPriority
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
cmp dword [0x5b6cf4], 0xffffffff
je 0x47efa2
mov eax, dword [0x5b6cf8]
push eax
call sub.kernel32.dll_ResumeThread
mov eax, dword [0x5b6d00]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00479600
test al, al
jne 0x47ef5a
lea eax, [ebp - 0x2c]
mov edx, 0x28
call fcn.0040795c
push 0
lea eax, [ebp - 4]
push eax
push 0x28
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x5b6d00]
push eax
call sub.kernel32.dll_WriteFile_1
push 0x1f4
mov eax, dword [0x5b6cf8]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0
mov eax, dword [0x5b6cf8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x47ef78
push 0
mov eax, dword [0x5b6cf8]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x5b6cf8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x5b6cfc]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x5b6cf4]
call fcn.00479050
mov esp, ebp
pop ebp
ret
Function at 0x47efb4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
xor eax, eax
push ebp
push 0x47f1f4
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentThreadId_1
cmp eax, dword [0x5b6cf4]
jne 0x47eff7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f1fe
cmp byte [0x5b6c58], 0
je 0x47f01c
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [0x5bc2dc]
cmp eax, dword [edx]
jne 0x47f01c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f1fe
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0047b93c
cmp dword [ebp - 8], 0
je 0x47f05c
mov edx, 0x47f210
mov eax, dword [ebp - 8]
call fcn.0047b5f0
test al, al
je 0x47f05c
test bl, bl
jne 0x47f04f
call fcn.0047b54c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f1fe
test edi, edi
jne 0x47f067
call fcn.0048339c
mov edi, eax
test esi, esi
jne 0x47f072
call fcn.004833a4
mov esi, eax
call sub.kernel32.dll_GetCurrentThreadId_1
mov dword [ebp - 0x38], eax
mov al, byte [ebp - 1]
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], bl
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.00479600
test al, al
je 0x47f0b1
xor eax, eax
mov dword [ebp - 0x3c], eax
jmp 0x47f0c1
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebp - 0x3c], eax
mov al, 1
call fcn.0047a9c8
xor eax, eax
push ebp
push 0x47f18b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x3c], 0
je 0x47f16e
push 0
lea eax, [ebp - 0x10]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [0x5b6d00]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x47f163
cmp dword [ebp - 0x10], 0x28
jne 0x47f163
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [0x5bc2dc]
cmp eax, dword [edx]
jne 0x47f158
jmp 0x47f144
push 0
push 0
push 0
lea eax, [ebp - 0x58]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
je 0x47f139
lea eax, [ebp - 0x58]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x58]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x47f144
mov eax, dword [ebp - 0x50]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x47f163
push 0
mov eax, dword [ebp - 0x3c]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x47f112
jmp 0x47f163
push 0xffffffffffffffff
mov eax, dword [ebp - 0x3c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x3c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x47f176
lea eax, [ebp - 0x3c]
call fcn.0047e5bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f192
xor eax, eax
call fcn.0047a9c8
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47f250
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47f370
push dword fs:[eax]
mov dword fs:[eax], esp
cmp bl, 0x5c
je 0x47f355
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x47f2ba
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.00403e40
lea eax, [ebp - 0x2c]
mov edx, 0x47f388
call fcn.00403f20
mov eax, dword [ebp - 0x2c]
call fcn.004040dc
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call eax
jmp 0x47f316
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 - 0x2c]
mov edx, ebx
call fcn.00403e40
lea eax, [ebp - 0x2c]
mov edx, 0x47f388
call fcn.00403f20
mov eax, dword [ebp - 0x2c]
call fcn.004040dc
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x47f316
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.00406558
call fcn.00406558
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0x47f394
lea eax, [ebp - 0x30]
mov edx, ebx
call fcn.00403e40
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00419f7c
push dword [ebp - 0x2c]
push 0x47f3a0
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x30]
call fcn.0041afac
push dword [ebp - 0x30]
mov eax, esi
mov edx, 4
call fcn.00403fd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f377
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00403cc0
ret
Function at 0x480ab8
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
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 0x480ae5
push edi
call sub.kernel32.dll_SuspendThread
mov esi, eax
cmp esi, 0xffffffff
je 0x480ae5
push edi
call sub.kernel32.dll_ResumeThread
test esi, esi
setg bl
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x481a18
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x105]
push eax
push 0x1001
push 0x800
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x481a57
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00403ec8
jmp 0x481a5e
mov eax, ebx
call fcn.00403c9c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x481d08
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x481da4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x80000
shr eax, 0x14
mov cl, 0x30
mov edx, 1
call fcn.0041aa08
push dword [ebp - 0x24]
push 0x481db8
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x80000
shr eax, 0x14
mov cl, 0x30
mov edx, 1
call fcn.0041aa08
push dword [ebp - 0x28]
push 0x481dc4
mov eax, ebx
mov edx, 4
call fcn.00403fd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481dab
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403cc0
ret
Function at 0x4830f0
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 - 8], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48322b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
call fcn.00403c9c
xor eax, eax
push ebp
push 0x483206
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, esi
call fcn.00403d80
mov edx, edi
lea eax, [ebp - 0xc]
mov ecx, ebx
call fcn.00403d80
mov eax, dword [ebp - 8]
call fcn.00403f18
cmp ebx, eax
jne 0x4831fc
mov eax, dword [ebp - 0xc]
call fcn.00403f18
cmp ebx, eax
jne 0x4831fc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404028
je 0x4831fc
lea eax, [ebp - 0x10]
push eax
push 0x40
push ebx
push esi
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4831fc
mov edx, esi
mov eax, edi
mov ecx, ebx
call fcn.0040282c
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 [0x5be9d8]
call fcn.004055b8
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, 0x5be9d8
mov ecx, 1
mov edx, dword [0x4830d8]
call fcn.00405774
add esp, 4
lea edi, [ebx + ebx*2]
mov eax, dword [0x5be9d8]
mov dword [eax + edi*4], esi
mov eax, dword [0x5be9d8]
lea eax, [eax + edi*4 + 4]
mov edx, dword [ebp - 8]
call fcn.00403cf0
mov eax, dword [0x5be9d8]
lea eax, [eax + edi*4 + 8]
mov edx, dword [ebp - 0xc]
call fcn.00403cf0
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x483210
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483232
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403cc0
ret
Function at 0x48323c
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 - 8], eax
xor eax, eax
push ebp
push 0x483341
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5be9d8]
call fcn.004055c0
test eax, eax
jl 0x48331b
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
mov edx, dword [0x5be9d8]
lea ebx, [edx + eax*4]
xor eax, eax
push ebp
push 0x483305
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
call fcn.00403f18
mov ecx, eax
mov edx, dword [ebx]
lea eax, [ebp - 8]
call fcn.00403d80
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.00404028
jne 0x4832fb
lea eax, [ebp - 0xc]
push eax
push 0x40
mov eax, dword [ebx + 4]
call fcn.00403f18
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4832fb
mov eax, dword [ebx + 4]
call fcn.00403f18
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
call fcn.0040282c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebx + 4]
call fcn.00403f18
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 0x48330f
inc dword [ebp - 4]
dec dword [ebp - 0x10]
jne 0x483275
mov eax, 0x5be9d8
mov edx, dword [0x4830d8]
call fcn.00405888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483348
lea eax, [ebp - 8]
call fcn.00403c9c
ret
Function at 0x484230
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 edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004040cc
mov eax, dword [ebp - 8]
call fcn.004040cc
xor eax, eax
push ebp
push 0x484350
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi], 0
jne 0x484323
mov eax, dword [ebp - 4]
call fcn.004040dc
push eax
call sub.kernel32.dll_GetModuleHandleA_1
mov edx, dword [ebp - 8]
call fcn.0041c79c
mov dword [esi], eax
cmp word [edi], 0x25ff
jne 0x48429a
mov eax, edi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x48429c
xor ebx, ebx
push 0
call sub.kernel32.dll_GetModuleHandleA_1
mov edx, dword [0x5bbdf4]
cmp eax, dword [edx]
jne 0x4842c6
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00478c98
mov eax, dword [ebp - 0x14]
mov edx, dword [esi]
mov ecx, dword [ebp + 8]
call fcn.00478fb8
jmp 0x4842d7
mov edx, dword [esi]
mov eax, dword [0x5bbdf4]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call fcn.00478f20
test ebx, ebx
je 0x4842e6
mov eax, edi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
je 0x4842ea
xor eax, eax
jmp 0x4842ec
mov al, 1
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x484327
add edi, 2
mov ebx, dword [edi]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x484327
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 0x484327
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484357
lea eax, [ebp - 0x14]
mov edx, dword [0x478c7c]
call fcn.00405888
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403cc0
ret
Function at 0x484364
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 esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x484432
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x484416
cmp word [edi], 0x25ff
jne 0x4843a1
mov eax, edi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x4843a3
xor ebx, ebx
push 0
call sub.kernel32.dll_GetModuleHandleA_1
mov edx, dword [0x5bbdf4]
cmp eax, dword [edx]
jne 0x4843cd
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00478c98
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.00478fb8
jmp 0x4843de
mov eax, dword [0x5bbdf4]
mov eax, dword [eax]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.00478f20
test ebx, ebx
je 0x484416
mov eax, edi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
jne 0x484416
add edi, 2
mov ebx, dword [edi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x484416
mov dword [ebx], esi
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 0x484439
lea eax, [ebp - 0xc]
mov edx, dword [0x478c7c]
call fcn.00405888
ret

Function at 0x484d04
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x484dd2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.0041aa98
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x484de8
call fcn.00403f64
mov eax, dword [ebp - 4]
call fcn.004040dc
push eax
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov ebx, eax
test ebx, ebx
je 0x484db7
push 0
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test esi, esi
je 0x484db1
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esi]
push eax
push 0
push 0x100000
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x484d99
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push edi
call sub.kernel32.dll_CloseHandle_1
mov edx, 0x5b6c84
lea eax, [esi + 8]
mov ecx, 0x50
call fcn.0040282c
push esi
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484dd9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403cc0
ret