joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476089
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x478f10
call fcn.004767c8
push 1
call fcn.0047632c
pop ecx
test al, al
jne 0x475f32
push 7
call fcn.00476593
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004762f7
mov byte [ebp - 0x24], al
mov eax, dword [0x49dd84]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x475f2b
test eax, eax
jne 0x475f9c
mov dword [0x49dd84], ecx
push 0x4783d8
push 0x4783c8
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x475f7f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x476083
push 0x4783c4
push 0x4783bc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x49dd84], 2
jmp 0x475fa1
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00476489
pop ecx
call fcn.00476587
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x475fd1
push esi
call fcn.004763fc
pop ecx
test al, al
je 0x475fd1
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004767c2
call esi
call fcn.0047658d
mov esi, eax
cmp dword [esi], edi
je 0x475fef
push esi
call fcn.004763fc
pop ecx
test al, al
je 0x475fef
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.004766a8
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.004766db
test al, al
jne 0x476028
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x476031
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004764a6
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x476083
call fcn.0047680e
ret
call fcn.00475da3
jmp 0x475f13

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x65aa693c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x31a06763
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4032b0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4032ec
movzx eax, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x40330c
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0040529c
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4035a4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040502c
test esi, esi
jne 0x4035da
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040511c
jmp 0x4035f8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403448
mov edi, eax
test esi, esi
je 0x4035f8
cmp dword [ebx], 0
je 0x4035f8
dec esi
jmp 0x4035e1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403608
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x561008], 0x8088405
inc edx
mov dword [ebx + 0x561008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403e0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x561024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403ea4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403e84
xor eax, eax
push ebp
push 0x403e7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403ec0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403e84
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x561024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x561024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404dd8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x56c04c], 0
je 0x404e39
cmp word [0x56c220], 0xd7b2
jne 0x404e01
cmp dword [0x56c228], 0
jbe 0x404e01
mov eax, 0x56c21c
call dword [0x56c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404e60
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x561030], 0
jne 0x404e55
push 0
push 0x56175c
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x561034], 0
je 0x404fd6
mov edx, esi
mov eax, ebx
call dword [0x561034]
jmp 0x404fe5
mov eax, 8
call fcn.0040309c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x56c04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404f78
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x40eea4
Capabilities:
Write file on windows

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 0x40f033
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56e9e0], 0
je 0x40eeda
mov eax, ebx
call dword [0x56e9e0]
movzx eax, byte [edi]
sub al, 2
jae 0x40ef80
mov eax, ebx
call fcn.00405308
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405794
mov eax, ebx
call fcn.00405308
test eax, eax
jns 0x40ef06
call fcn.00403edc
push eax
mov eax, dword [ebp - 8]
call fcn.0040550c
push eax
mov eax, ebx
call fcn.0040550c
push eax
call sub.user32.dll_CharToOemBuffA
test eax, eax
jne 0x40ef2b
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004050c4
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00405308
test eax, eax
jns 0x40ef42
call fcn.00403edc
push eax
mov eax, dword [ebp - 8]
call fcn.0040550c
push eax
push esi
call sub.kernel32.dll_WriteConsoleA
test eax, eax
je 0x40ef5c
cmp dword [ebp - 0x10], 0
jne 0x40ef74
mov eax, 0x40f050
call fcn.0040edc8
test al, al
je 0x40ef6f
mov byte [edi], 3
jmp 0x40ef80
mov byte [edi], 2
jmp 0x40ef80
mov byte [ebp - 9], 0
mov byte [edi], 1
jmp 0x40f018
mov byte [ebp - 9], 1
cmp byte [edi], 3
jne 0x40efc8
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, ebx
call fcn.00405308
test eax, eax
jns 0x40ef9f
call fcn.00403edc
push eax
mov eax, 1
dec eax
test ebx, ebx
je 0x40efaf
cmp eax, dword [ebx - 4]
jb 0x40efb4
call fcn.00403edc
inc eax
lea eax, [ebx + eax - 1]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_FlushFileBuffers
jmp 0x40f018
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004050c4
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00405308
test eax, eax
jns 0x40efe9
call fcn.00403edc
push eax
lea eax, [ebp - 4]
call fcn.00405564
mov edx, 1
dec edx
test eax, eax
je 0x40f001
cmp edx, dword [eax - 4]
jb 0x40f006
call fcn.00403edc
inc edx
lea eax, [eax + edx - 1]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_FlushFileBuffers
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f03a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405050
ret
Function at 0x40f128
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a54
test eax, eax
jne 0x40f14c
push 0x57
call sub.kernel32.dll_SetLastError
jmp 0x40f1cb
lea eax, [ebp - 0xc]
push eax
push 0x40
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40f1cb
xor eax, eax
push ebp
push 0x40f1bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 8]
test ecx, ecx
jns 0x40f17d
call fcn.00403edc
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00403348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f1c4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414630
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
call fcn.004144e4
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.004038b8
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
push 0x10
push 0x3000
mov eax, dword [ebp - 0x24]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x414691
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
mov eax, ebx
call fcn.0041462c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41469d
push 0x8000
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualFree_1
test bl, bl
je 0x4146b9
mov eax, dword [0x56ae6c]
or dword [eax], 0x10
xor ebx, ebx
xor eax, eax
test al, al
je 0x41473d
push 4
push 0x3000
mov eax, dword [ebp - 0x24]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
mov esi, fcn.0041462c
mov eax, esi
mov edx, 0x32
call fcn.00414210
mov ebx, eax
test ebx, ebx
jns 0x4146f2
call fcn.00403edc
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, ebx
call fcn.00403348
mov eax, dword [ebp - 4]
xor edx, edx
push ebp
push 0x414721
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, eax
mov eax, ebx
call esi
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41472d
push 0x8000
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualFree_1
test bl, bl
je 0x414756
mov eax, dword [0x56afb8]
mov eax, dword [eax]
or eax, 2
or eax, 4
mov edx, dword [0x56afb8]
mov dword [edx], eax
call fcn.004145d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415e38
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov edi, eax
mov ebx, dword [ebp + 8]
test bl, bl
je 0x415f58
mov eax, ebx
cmp al, 7
ja 0x415e64
and eax, 0x7f
bt dword [0x563130], eax
jb 0x415f58
mov esi, 0xcc
movzx eax, bl
cmp eax, 6
ja case.0x415e7b.0
jmp dword [eax*4 + 0x415e82]
push 0x415f64
call sub.kernel32.dll_OutputDebugStringA
jmp 0x415f1c
push 0x415f7c
call sub.kernel32.dll_OutputDebugStringA
jmp 0x415f1c
push 0x415f94
call sub.kernel32.dll_OutputDebugStringA
jmp 0x415f1c
push 0x415fb0
call sub.kernel32.dll_OutputDebugStringA
jmp 0x415f1c
push 0x415fc4
call sub.kernel32.dll_OutputDebugStringA
jmp 0x415f1c
push 0x415fe0
call sub.kernel32.dll_OutputDebugStringA
mov esi, 0xcb
mov eax, dword [0x66ef48]
call fcn.0040e49c
test al, al
je 0x415f1c
push 0x8000
push 0
mov eax, dword [0x66ef48]
push eax
call sub.kernel32.dll_VirtualFree_1
xor eax, eax
mov dword [0x66ef48], eax
jmp 0x415f1c
push 0x415ffc
call sub.kernel32.dll_OutputDebugStringA
cmp dword [0x563134], 0
jne 0x415f3a
mov eax, esi
cmp eax, 0xff
jbe 0x415f33
call fcn.00403edc
call fcn.00404f4c
jmp 0x415f58
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov ecx, dword [ebp - 8]
movzx edx, byte [ebp - 1]
mov eax, edi
call dword [0x563134]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0x14

Function at 0x419ea8
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.00419c14
pop ecx
lea eax, [ebp - 0x2c]
call fcn.00402c98
cmp dword [ebp - 0x20], 0
je 0x419ee1
mov ecx, 0x242010
mov edx, 0x419fa8
mov eax, 0x419fdc
call fcn.00415d84
jmp 0x419f98
xor eax, eax
push ebp
push 0x419f91
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x419f70
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov esi, eax
mov edi, 0x563188
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5631a0
mov esi, eax
mov edi, edx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
call fcn.00419a60
mov eax, 0x563188
call fcn.00403134
mov byte [0x66ef0e], 1
mov byte [0x66ef0f], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419f77
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41a0ec
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.00419c14
pop ecx
lea eax, [ebp - 0x2c]
call fcn.00402c98
cmp dword [ebp - 0x20], 0
je 0x41a126
mov ecx, 0x242010
mov edx, 0x41a2e0
mov eax, 0x41a314
call fcn.00415d84
jmp 0x41a2ce
xor eax, eax
push ebp
push 0x41a2bd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41a29c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.0040e9d4
test al, al
je 0x41a17d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0xc
call fcn.0040e9d4
test al, al
jne 0x41a18c
mov eax, 0x5631a0
call fcn.00403120
jmp 0x41a26d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x18
call fcn.0040e9d4
test al, al
je 0x41a224
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov esi, eax
mov edi, 0x563188
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [0x563194]
test ebx, ebx
je 0x41a1d0
mov edx, 1
mov eax, ebx
call fcn.0040ea20
test al, al
jne 0x41a1da
mov dword [0x563194], 0x4180d8
mov ebx, dword [0x563198]
test ebx, ebx
je 0x41a1f4
mov edx, 1
mov eax, ebx
call fcn.0040ea20
test al, al
jne 0x41a1fe
mov dword [0x563198], 0x4180fc
mov ebx, dword [0x56319c]
test ebx, ebx
je 0x41a218
mov edx, 1
mov eax, ebx
call fcn.0040ea20
test al, al
jne 0x41a25c
mov dword [0x56319c], 0x418148
jmp 0x41a25c
mov eax, 0x563188
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov dword [0x563194], 0x4180d8
mov dword [0x563198], 0x4180fc
mov dword [0x56319c], 0x418148
mov esi, 0x563188
mov edi, 0x5631a0
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov eax, 0x563188
call fcn.00403134
mov byte [0x66ef0e], 1
mov byte [0x66ef0f], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a2a3
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bea4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x42bedd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040511c
jmp 0x42bee6
mov eax, ebx
mov edx, esi
call fcn.00405080
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42bef0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x42bf12
movzx eax, byte [esp]
jmp 0x42bf14
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x42c5a4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x42c41c
mov eax, dword [0x56b338]
cmp byte [eax], 0
je 0x42c620
mov eax, dword [0x56af6c]
call fcn.00403708
call fcn.00403230
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00429298
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x42c668
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x42c656
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x56aedc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x56e7f8]
call fcn.00406acc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x445e94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x66fed4
cmp dword [edi], 0
jne 0x445f10
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x66fed0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x563790
mov ecx, 2
call fcn.00403348
mov edx, 0x445e6c
lea eax, [esi + 5]
call fcn.00445e8c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00445e8c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x445ee5
mov dword [0x66fed0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44611c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0040550c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44613c
test al, 0x10
sete al
jmp 0x446163
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x44615d
cmp ebx, 3
je 0x44615d
cmp ebx, 0x7b
je 0x44615d
mov eax, esi
call fcn.004460dc
test al, al
jne 0x446161
xor eax, eax
jmp 0x446163
mov al, 1
pop esi
pop ebx
pop ebp
ret

Function at 0x446194
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040550c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4461b0
test al, 0x10
jne 0x4461b5
xor eax, eax
pop ebx
pop ebp
ret
mov al, 1
pop ebx
pop ebp
ret
Function at 0x447d40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
add eax, 0x10
test eax, eax
jns 0x447d50
call fcn.00403edc
push eax
push 8
mov eax, dword [0x67001c]
push eax
call sub.kernel32.dll_HeapAlloc
mov ebx, eax
test ebx, ebx
jne 0x447d7f
mov eax, 0x447d98
call fcn.004470e8
call sub.kernel32.dll_GetLastError_1
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [str.PLEH]
mov dword [ebx], eax
add ebx, 0x10
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x447fc8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push 0
push 0x500000
push 0
call sub.kernel32.dll_HeapCreate
mov dword [0x67001c], eax
cmp dword [0x67001c], 0
jne 0x447ffa
push 0
push 0
push 0
call sub.kernel32.dll_HeapCreate
mov dword [0x67001c], eax
cmp dword [0x67001c], 0
jne 0x44801e
mov eax, 0x44805c
call fcn.004470e8
call sub.kernel32.dll_GetLastError_1
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 0x18], fcn.00447d40
mov dword [ebp - 0x14], 0x447db8
mov dword [ebp - 0x10], 0x447e20
mov dword [ebp - 0xc], 0x447f50
mov dword [ebp - 8], 0x447fc0
mov dword [ebp - 4], 0x447fc4
lea eax, [ebp - 0x18]
call fcn.00403134
mov esp, ebp
pop ebp
ret