joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441860
Capabilities:
Create pipe
Create thread

Disassembly:
push 0
push 0
push 0x44f4c0
push 0x44f4bc
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x4418c4
push 0x44f4b4
push 0
push 0
push 0x441804
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x44f4b8], eax
cmp dword [0x44f4b8], 0
je 0x4418c4
push 0
push 0
push 0
mov ecx, 0x4418d0
mov edx, dword [0x44f4b8]
mov eax, dword [0x44f4b4]
call fcn.00428894
push 2
mov eax, dword [0x44f4b8]
push eax
call sub.kernel32.dll_SetThreadPriority
ret

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

Disassembly:
add esp, 0xffffffc4
cmp dword [0x44f4b4], 0xffffffff
je 0x441991
mov eax, dword [0x44f4b8]
push eax
call sub.kernel32.dll_ResumeThread
xor eax, eax
call fcn.00428e44
test al, al
jne 0x44193e
lea eax, [esp + 4]
mov edx, 0x38
call fcn.00405b9c
push 0
lea eax, [esp + 4]
push eax
push 0x38
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x44f4c0]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [0x44f4c0]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x1f4
mov eax, dword [0x44f4b8]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x441949
mov eax, dword [0x44f4c0]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
mov eax, dword [0x44f4b8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x441967
push 0
mov eax, dword [0x44f4b8]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x44f4b8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x44f4bc]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x44f4b4]
call fcn.00428894
add esp, 0x3c
ret
Function at 0x442274
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 0x4422aa
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.004037e4
jmp 0x4422b1
mov eax, ebx
call fcn.004035f4
add esp, 0x108
pop ebx
ret

Function at 0x442574
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 0x44266e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x44267c
push 0x442694
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x4425bb
mov dword [ebp - 0x60], 0x40
lea edx, [ebp - 0x60]
push edx
call eax
jmp 0x4425e1
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.00404eee
push edx
push eax
lea ecx, [ebp - 0x64]
mov dl, 0x30
mov eax, 1
call fcn.00407e34
push dword [ebp - 0x64]
push 0x4426ac
push 0
push 0x100000
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
add eax, 0x80000
adc edx, 0
call fcn.00404eee
push edx
push eax
lea ecx, [ebp - 0x68]
mov dl, 0x30
mov eax, 1
call fcn.00407e34
push dword [ebp - 0x68]
push 0x4426b8
mov eax, ebx
mov edx, 4
call fcn.004038d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442675
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00403618
ret
Function at 0x4429a0
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 0x442adb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
call fcn.004035f4
xor eax, eax
push ebp
push 0x442ab6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, esi
call fcn.004036d8
mov edx, edi
lea eax, [ebp - 0xc]
mov ecx, ebx
call fcn.004036d8
mov eax, dword [ebp - 8]
call fcn.00403810
cmp ebx, eax
jne 0x442aac
mov eax, dword [ebp - 0xc]
call fcn.00403810
cmp ebx, eax
jne 0x442aac
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00403920
je 0x442aac
lea eax, [ebp - 0x10]
push eax
push 0x40
push ebx
push esi
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x442aac
mov edx, esi
mov eax, edi
mov ecx, ebx
call fcn.004026e8
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 [0x4516bc]
call fcn.0040424c
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, 0x4516bc
mov ecx, 1
mov edx, dword [0x442988]
call fcn.00404408
add esp, 4
lea edi, [ebx + ebx*2]
mov eax, dword [0x4516bc]
mov dword [eax + edi*4], esi
mov eax, dword [0x4516bc]
lea eax, [eax + edi*4 + 4]
mov edx, dword [ebp - 8]
call fcn.00403648
mov eax, dword [0x4516bc]
lea eax, [eax + edi*4 + 8]
mov edx, dword [ebp - 0xc]
call fcn.00403648
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x442ac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442ae2
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403618
ret
Function at 0x442aec
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 0x442be1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4516bc]
call fcn.00404254
test eax, eax
jl 0x442bcb
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 [0x4516bc]
lea ebx, [edx + eax*4]
xor eax, eax
push ebp
push 0x442bb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 8]
call fcn.00403810
mov ecx, eax
mov edx, dword [ebx]
lea eax, [ebp - 8]
call fcn.004036d8
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.00403920
jne 0x442bab
lea eax, [ebp - 0xc]
push eax
push 0x40
mov eax, dword [ebx + 4]
call fcn.00403810
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x442bab
mov eax, dword [ebx + 4]
call fcn.00403810
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
call fcn.004026e8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebx + 4]
call fcn.00403810
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 0x442bbf
inc dword [ebp - 4]
dec dword [ebp - 0x10]
jne 0x442b25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442be8
lea eax, [ebp - 8]
call fcn.004035f4
ret
Function at 0x442e20
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 0x442f40
push dword fs:[eax]
mov dword fs:[eax], esp
cmp bl, 0x5c
je 0x442f25
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x442e8a
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.00403798
lea eax, [ebp - 0x2c]
mov edx, 0x442f58
call fcn.00403818
mov eax, dword [ebp - 0x2c]
call fcn.004039d4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call eax
jmp 0x442ee6
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.00403798
lea eax, [ebp - 0x2c]
mov edx, 0x442f58
call fcn.00403818
mov eax, dword [ebp - 0x2c]
call fcn.004039d4
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x442ee6
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.00404ea8
call fcn.00404ea8
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0x442f64
lea eax, [ebp - 0x30]
mov edx, ebx
call fcn.00403798
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.004072f4
push dword [ebp - 0x2c]
push 0x442f70
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x30]
call fcn.00408514
push dword [ebp - 0x30]
mov eax, esi
mov edx, 4
call fcn.004038d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442f47
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00403618
ret
Function at 0x44567c
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 0x4456a6
push edi
call sub.kernel32.dll_SuspendThread
mov esi, eax
cmp esi, 0xffffffff
je 0x4456a6
push edi
call sub.kernel32.dll_ResumeThread
test esi, esi
setg bl
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x448aa8
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.004039c4
mov eax, dword [ebp - 8]
call fcn.004039c4
xor eax, eax
push ebp
push 0x448bd5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jne 0x448ba8
mov eax, dword [ebp - 4]
call fcn.004039d4
push eax
call sub.kernel32.dll_GetModuleHandleA_1
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00409da4
mov dword [edi], eax
test esi, esi
je 0x448b18
cmp word [esi], 0x25ff
jne 0x448b18
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x448b1a
xor ebx, ebx
push 0
call sub.kernel32.dll_GetModuleHandleA_1
mov edx, dword [0x44f538]
cmp eax, dword [edx]
je 0x448b34
cmp byte [0x44ecc0], 0
je 0x448b4b
lea eax, [ebp - 0x14]
call fcn.00428538
mov eax, dword [ebp - 0x14]
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
call fcn.00428804
jmp 0x448b5c
mov edx, dword [edi]
mov eax, dword [0x44f538]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call fcn.0042876c
test ebx, ebx
je 0x448b6b
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
je 0x448b6f
xor eax, eax
jmp 0x448b71
mov al, 1
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x448bac
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 0x448bac
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 0x448bac
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448bdc
lea eax, [ebp - 0x14]
mov edx, dword [0x42851c]
call fcn.0040451c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403618
ret
Function at 0x448be8
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 0x448cc1
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x448ca5
test esi, esi
je 0x448c29
cmp word [esi], 0x25ff
jne 0x448c29
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x448c2b
xor ebx, ebx
push 0
call sub.kernel32.dll_GetModuleHandleA_1
mov edx, dword [0x44f538]
cmp eax, dword [edx]
je 0x448c45
cmp byte [0x44ecc0], 0
je 0x448c5c
lea eax, [ebp - 0xc]
call fcn.00428538
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 4]
call fcn.00428804
jmp 0x448c6d
mov eax, dword [0x44f538]
mov eax, dword [eax]
mov ecx, edi
mov edx, dword [ebp - 4]
call fcn.0042876c
test ebx, ebx
je 0x448ca5
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
jne 0x448ca5
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 0x448ca5
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 0x448cc8
lea eax, [ebp - 0xc]
mov edx, dword [0x42851c]
call fcn.0040451c
ret
Function at 0x449470
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x4c]
mov edx, dword [0x40a5d0]
call fcn.00403d40
xor eax, eax
push ebp
push 0x44952c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea edx, [ebp - 0x4c]
mov eax, ebx
call fcn.0040f58c
cmp byte [ebp - 0x4c], 0
je 0x449510
mov eax, dword [ebp - 0x2c]
call fcn.00404254
test eax, eax
jl 0x449510
inc eax
xor edx, edx
mov ecx, edx
shl ecx, 3
sub ecx, edx
mov ebx, dword [ebp - 0x2c]
lea ebx, [ebx + ecx*4]
cmp byte [ebx + 0x10], 0
je 0x44950c
cmp esi, dword [ebx + 0xc]
jne 0x44950c
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x449510
mov edx, dword [ebp - 4]
sub edx, dword [ebx + 8]
mov eax, dword [ebx + 0x14]
mov dword [eax], edx
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 0xc]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov byte [ebp - 5], 1
jmp 0x449510
inc edx
dec eax
jne 0x4494be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449533
lea eax, [ebp - 0x4c]
mov edx, dword [0x40a5d0]
call fcn.00403e0c
ret

Function at 0x449bd0
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.004039c4
lea eax, [ebp - 0xc]
mov edx, dword [0x449acc]
call fcn.00403d40
xor eax, eax
push ebp
push 0x449c82
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x449c90
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
je 0x449c56
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov cl, 0x30
mov edx, 1
call fcn.00407e78
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x449ca4
call fcn.0040385c
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040368c
lea eax, [ebp - 0xc]
push eax
push 0x449af8
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449c89
lea eax, [ebp - 0x10]
call fcn.004035f4
lea eax, [ebp - 0xc]
mov edx, dword [0x449acc]
call fcn.00403e0c
lea eax, [ebp - 4]
call fcn.004035f4
ret
Function at 0x449ce0
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 0x449dae
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.00407e78
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x449dc4
call fcn.0040385c
mov eax, dword [ebp - 4]
call fcn.004039d4
push eax
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov ebx, eax
test ebx, ebx
je 0x449d93
push 0
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test esi, esi
je 0x449d8d
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 0x449d75
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push edi
call sub.kernel32.dll_CloseHandle_1
mov edx, 0x44ecf0
lea eax, [esi + 8]
mov ecx, 0x50
call fcn.004026e8
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 0x449db5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403618
ret
Function at 0x449ec8
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x44a05a
push dword fs:[edx]
mov dword fs:[edx], esp
xor ebx, ebx
push 0x104
lea edx, [ebp - 0x119]
push edx
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x119]
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x449fd3
push 0
push 0
push 0
push 2
push 0
push esi
call sub.kernel32.dll_CreateFileMappingA
mov edi, eax
test edi, edi
je 0x449fcd
push 0
push 0
push 0
push 4
push edi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x449fc7
mov eax, dword [ebp - 4]
call fcn.00409b64
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x449fbe
mov eax, dword [ebp - 8]
cmp dword [eax + 0x58], 0
je 0x449fbe
mov eax, dword [ebp - 8]
add eax, 0x58
mov dword [ebp - 0xc], eax
push 0
push esi
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00449e6c
mov ecx, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
sub edx, eax
sub edx, 4
mov eax, dword [ebp - 0xc]
add eax, 4
call fcn.00449e6c
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x58]
je 0x449fbe
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_UnmapViewOfFile
push edi
call sub.kernel32.dll_CloseHandle_1
push esi
call sub.kernel32.dll_CloseHandle_1
test bl, bl
je 0x44a039
push 0x10
push 0
lea edx, [ebp - 0x120]
mov eax, dword [0x44f3e4]
mov ecx, dword [eax]
call dword [ecx + 0x248]
mov eax, dword [ebp - 0x120]
call fcn.004039d4
push eax
push 0
call sub.user32.dll_MessageBoxA_1
push 0
call sub.kernel32.dll_GetModuleHandleA_1
mov edx, dword [0x44f538]
cmp eax, dword [edx]
je 0x44a032
mov eax, 0x44f3e4
call fcn.00404900
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x405ccc]
call fcn.00405d38
call fcn.004030ac
jmp 0x44a039
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a061
lea eax, [ebp - 0x120]
call fcn.004035f4
lea eax, [ebp - 0x14]
call fcn.004035f4
ret
Function at 0x44a1e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x44a2dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov ecx, 0x44a2ec
mov edx, 0x44a2f8
mov eax, esi
call fcn.0040a0e0
mov eax, dword [ebp - 4]
call fcn.00403810
cmp eax, 0x14
jne 0x44a2c7
mov eax, dword [0x44f538]
cmp esi, dword [eax]
sete al
mov edx, dword [ebp - 4]
test byte [edx + 3], 0x80
sete dl
cmp al, dl
jne 0x44a2c7
mov eax, esi
call fcn.00409b64
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0xe0
lea eax, [ebx + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [0x44f538]
cmp esi, dword [eax]
jne 0x44a283
mov edx, 0x427844
mov eax, dword [ebp - 4]
sub edx, dword [eax]
sub edx, esi
mov dword [ebx + 0x2c], edx
mov edx, 0x44ec74
sub edx, dword [eax + 4]
sub edx, esi
mov dword [ebx + 0x30], edx
jmp 0x44a29c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
and edx, 0x7fffffff
mov dword [ebx + 0x2c], edx
mov eax, dword [eax + 4]
and eax, 0x7fffffff
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [ebx + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x24], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xe0
lea eax, [ebx + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a2e4
lea eax, [ebp - 4]
call fcn.004035f4
ret
Function at 0x44b954
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffda8
mov ebx, eax
mov eax, ebx
call fcn.004035f4
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov byte [esp + 0x105], 0
lea eax, [esp + 0x20a]
mov edx, 0x4c
call fcn.00405b9c
mov dword [esp + 0x20a], 0x4c
xor eax, eax
mov dword [esp + 0x20e], eax
mov eax, esp
mov dword [esp + 0x236], eax
mov eax, 0x44ba0c
mov dword [esp + 0x216], eax
mov dword [esp + 0x222], 1
lea eax, [esp + 0x105]
mov dword [esp + 0x226], eax
mov dword [esp + 0x22a], 0x104
mov eax, 0x44ba1c
mov dword [esp + 0x23a], eax
lea eax, [esp + 0x20a]
push eax
call sub.comdlg32.dll_GetOpenFileNameA
test eax, eax
je 0x44ba04
mov eax, ebx
mov edx, dword [esp + 0x226]
call fcn.004037a8
add esp, 0x258
pop ebx
ret
Function at 0x40328e
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00405310
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00405310
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x40330a
mov eax, dword [0x4bd868]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 8
call fcn.0040531c
cmp dword [ebp - 0x18], esp
je 0x403336
push 6
call fcn.00405316
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0xd
call fcn.0040531c
cmp dword [ebp - 0x18], esp
je 0x403364
push 6
call fcn.00405316
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0xe
call fcn.0040531c
cmp dword [ebp - 0x18], esp
je 0x403390
push 6
call fcn.00405316
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0xf
call fcn.0040531c
cmp dword [ebp - 0x18], esp
je 0x40341f
push 6
call fcn.00405316
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x10
call fcn.0040531c
cmp dword [ebp - 0x18], esp
je 0x403444
push 6
call fcn.00405316
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40344c
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00405304
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00405304
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8