joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bfaa
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x44f124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 9
pop eax
mov ecx, eax
lea edi, [ebp - 0x11c]
xor eax, eax
xor esi, esi
push 0x98
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xec]
push esi
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov dword [ebp - 0xf0], 0x9c
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x40c00c
xor eax, eax
inc eax
jmp 0x40c15c
push str.GetNativeSystemInfo
push str.kernelbase.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c032
lea ecx, [ebp - 0x11c]
push ecx
call eax
jmp 0x40c03f
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0xe0], 2
jne 0x40c14a
cmp dword [ebp - 0xec], 4
jbe 0x40c14a
lea eax, [ebp - 0xf4]
push eax
push 1
push esi
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 0x100
test eax, eax
jne 0x40c0af
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], edi
push eax
push ebx
push esi
push esi
push str.ProductName
push dword [ebp - 0xf4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xf4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40c0ca
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push str.Microsoft_Windows__d._d
push edi
push ebx
call fcn.00413a0a
add esp, 0x14
push 9
pop eax
cmp word [ebp - 0x11c], ax
jne 0x40c0dd
push str.__64_bit
jmp 0x40c0ec
cmp word [ebp - 0x11c], 0
jne 0x40c0f3
push str.__32_bit
push edi
push ebx
call fcn.00413992
lea ecx, [ebp - 0xdc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c0fc
sub ecx, edx
je 0x40c121
push 0x4493dc
push edi
push ebx
call fcn.00413992
lea eax, [ebp - 0xdc]
push eax
push edi
push ebx
call fcn.00413992
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x54]
push str.__build__d
push 0x50
push ecx
call fcn.00413a0a
add esp, 0x10
lea ecx, [ebp - 0x54]
push ecx
push edi
push ebx
call fcn.00413992
jmp 0x40c004
push str.Unsupported
push 0x100
push ebx
call fcn.004139d0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416750
leave
ret
Function at 0x40d323
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push esi
push edi
mov esi, 0x44fc90
push esi
call fcn.0040b9bc
pop ecx
test eax, eax
je 0x40d486
push 0x5c
push esi
call fcn.00414dac
pop ecx
pop ecx
mov ecx, eax
mov edi, 0x45d778
mov dword [0x44f84c], ecx
test ecx, ecx
je 0x40d368
inc ecx
mov edx, edi
mov dword [0x44f84c], ecx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x40d35e
push str.Loading_Nanomites_table...
call fcn.0040d967
pop ecx
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 3
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40d3ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.CreateFile_error__s__d
call fcn.0040d967
add esp, 0xc
jmp 0x40d48d
mov eax, dword [0x45e054]
test eax, eax
je 0x40d3c9
push eax
call fcn.00415a50
pop ecx
mov dword [0x45e054], ebx
mov dword [0x45e360], ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor edx, edx
mov dword [0x451580], eax
push 0xc
pop edi
div edi
xor ecx, ecx
mov dword [0x45e360], eax
inc eax
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00415a30
pop ecx
imul ecx, dword [0x45e360], 0xc
push ebx
push 0x451570
mov dword [0x45e054], eax
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40d426
push str.ReadFile_Error_LoadNanoAnf
call fcn.0040d967
push ebx
call fcn.0040d967
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x451570], ebx
jne 0x40d464
push 0x45d778
push str.Possible_invalid_nanomite_file__s
call fcn.0040d967
mov eax, dword [0x45e054]
pop ecx
pop ecx
test eax, eax
je 0x40d48d
push eax
call fcn.00415a50
pop ecx
mov dword [0x45e054], ebx
mov dword [0x45e360], ebx
jmp 0x40d48d
push dword [0x45e360]
push str._lu_nanomites_anf_loaded...
call fcn.0040d967
push str.Done.
call fcn.0040d967
xor eax, eax
add esp, 0xc
inc eax
jmp 0x40d48f
and dword [0x44fc90], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x40d493
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44f124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0x28
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40d4c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d518
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x40d4c0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push esi
push esi
push 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x40d4c0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00416750
leave
ret
Function at 0x41321c
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebx
push esi
push edi
push 0x41
pop ecx
mov eax, 0x4501b8
mov esi, 0x44f850
mov edi, eax
push 0x5c
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00414dac
mov dword [0x44f84c], eax
pop ecx
pop ecx
test eax, eax
je 0x413346
push 0x13
inc eax
push str.Armageddon_log.txt
push eax
mov dword [0x44f84c], eax
call dword [sym.imp.ucrtbased.dll_strncpy]
add esp, 0xc
xor ebx, ebx
mov edi, 0x4501b8
push ebx
push 0x80
push 4
push ebx
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41329d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.CreateFile_error__s__d
call fcn.0040d967
add esp, 0xc
jmp 0x41335a
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1004
push dword [0x44f3e8]
call edi
push str.Saving_logfile...
mov ebx, eax
call fcn.0040d967
pop ecx
test ebx, ebx
jle 0x413331
xor eax, eax
mov dword [0x45f1b0], 0x4503c8
mov dword [0x45f1b4], 0x3fe
mov dword [0x45db90], eax
push 0x45f19c
push eax
push 0x102d
push dword [0x44f3e8]
call edi
mov cx, word [0x4468f8]
push 0
push 0x451574
mov word [eax + 0x4503c8], cx
mov cl, byte [0x4468fa]
mov byte [eax + 0x4503ca], cl
add eax, 2
push eax
push 0x4503c8
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [0x45db90]
inc eax
mov dword [0x45db90], eax
cmp eax, ebx
jl 0x4132de
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Done.
jmp 0x413354
cmp dword [0x44f470], 0
jle 0x41335a
push str.Cannot_save._No_target_file_selected_
call fcn.0040d967
pop ecx
pop edi
pop esi
pop ebx
ret

Function at 0x41335e
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebx
push esi
mov esi, 0x44fc90
push esi
call fcn.0040e46f
pop ecx
test eax, eax
je 0x413430
push 0x5c
push esi
call fcn.00414dac
pop ecx
pop ecx
mov ecx, eax
mov ebx, 0x45d778
mov dword [0x44f84c], ecx
test ecx, ecx
je 0x4133a2
inc ecx
mov edx, ebx
mov dword [0x44f84c], ecx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x413398
push str.Saving_Nanomites_table...
call fcn.0040d967
pop ecx
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4133e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.CreateFile_error__s__d
call fcn.0040d967
add esp, 0xc
jmp 0x413437
imul eax, dword [0x45e360], 0xc
push 0
push 0x451574
push eax
push dword [0x45e054]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x45e360]
push str._lu_nanomites_saved...
call fcn.0040d967
push str.Done.
call fcn.0040d967
xor eax, eax
add esp, 0xc
inc eax
jmp 0x413439
and dword [0x44fc90], 0
xor eax, eax
pop esi
pop ebx
ret
Function at 0x414420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41447a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41447a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x41446a
cmp esi, ecx
jae 0x41447a
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x414458
cmp esi, ecx
jae 0x41447a
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x41447c
xor eax, eax
pop esi
pop ebp
ret

Function at 0x41ad90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x462020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x41ae28
push SysReAllocStringLen
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x41ae08
xor eax, eax
push ebp
push 0x41ae01
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 0x41ae44
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 0x41ae08
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0x462020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x462020], ax
mov esp, ebp
pop ebp
ret

Function at 0x41b8b0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x467044], 0
je 0x41b911
cmp word [0x467218], 0xd7b2
jne 0x41b8d9
cmp dword [0x467220], 0
jbe 0x41b8d9
mov eax, 0x467214
call dword [0x467230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46206c
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 0x41b938
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
pop edx
ret
cmp byte [0x462030], 0
jne 0x41b92d
push 0
push 0x462064
push 0x46206c
push 0
call sub.USER32.dll_MessageBoxA
pop edx
ret
Function at 0x41ced4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x41d104
push SysReAllocStringLen
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
je 0x41cf57
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x41d104
push SysReAllocStringLen
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
je 0x41cf57
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x41d120
push SysReAllocStringLen
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x41cfe0
xor eax, eax
push ebp
push 0x41cfd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0041cd1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x41cfbe
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x41d140
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x41cfbe
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cfe0
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.dll_GetThreadLocale
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x41d0fa
cmp byte [ebp - 0xd], 0
jne 0x41d027
cmp byte [ebp - 0x12], 0
je 0x41d0fa
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x41d040
dec ebx
cmp byte [ebx], 0x2e
je 0x41d04f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x41d03f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x41d0fa
inc ebx
cmp byte [ebp - 0x12], 0
je 0x41d08c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x41d0fa
cmp byte [ebp - 0xd], 0
je 0x41d0fa
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x41d0fa
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d79c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x41d802
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0041bc9c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0041a984
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x41d7ec
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d809
lea eax, [ebp - 0x10]
call fcn.0041ba2c
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0041bec8
push eax
call sub.KERNEL32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x41f519
test al, 0x10
jne 0x41f51d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x421e8c
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x421ec5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0041bb1c
jmp 0x421ece
mov eax, ebx
mov edx, esi
call fcn.0041ba80
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x421ed8
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
test eax, eax
jle 0x421ef9
mov al, byte [esp]
jmp 0x421efb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x422580
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4223f8
mov eax, dword [0x466264]
cmp byte [eax], 0
je 0x4225fc
mov eax, dword [0x466184]
call fcn.0041a8c4
call fcn.0041a78c
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.0041f818
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x422644
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
jmp 0x422632
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x466160]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x467664]
call fcn.0041cce0
push eax
call sub.USER32.dll_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.dll_MessageBoxA
add esp, 0x444
ret
Function at 0x42334c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4233b0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0041bc9c
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_GetACP
mov edx, eax
pop eax
call fcn.0041f174
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4233b7
lea eax, [ebp - 0xc]
call fcn.0041ba2c
ret
Function at 0x42eccc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.KERNEL32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.0041bc9c
add esp, 0x108
pop ebx
ret
Function at 0x42fc20
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, edx
mov byte [ebp - 1], 0
mov dl, 1
mov eax, 0x42fe4c
call fcn.0042ebd0
push 0
mov eax, ebx
mov ecx, 1
mov edx, dword [0x42e8ec]
call fcn.0041cb00
add esp, 4
push 0
mov eax, 0x467a30
mov ecx, 1
mov edx, dword [0x42e7d0]
call fcn.0041cb00
add esp, 4
push 0
mov eax, 0x467a2c
mov ecx, 1
mov edx, dword [0x42e91c]
call fcn.0041cb00
add esp, 4
push 0
call sub.KERNEL32.dll_SetLastError
mov dword [ebp - 0x23c], 0x224
mov eax, 0x64
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.USER32.dll_WaitForInputIdle
xor eax, eax
push ebp
push 0x42fe2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, 8
call fcn.004245c8
mov dword [ebp - 8], eax
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.004245e8
test eax, eax
jne 0x42fcec
call fcn.0041b4b0
jmp 0x42fe39
push 1
mov eax, ebx
mov ecx, 1
mov edx, dword [0x42e8ec]
call fcn.0041cb00
add esp, 4
mov eax, dword [ebx]
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.0041bc9c
mov eax, dword [ebx]
mov edx, dword [ebp - 0x228]
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov edx, dword [ebp - 0x224]
mov dword [eax + 8], edx
mov eax, dword [ebx]
add eax, 0xc
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.0041bc9c
mov eax, dword [ebx]
mov edx, dword [ebp - 0x220]
mov dword [eax + 0x10], edx
mov eax, dword [ebx]
mov edx, eax
mov eax, dword [ebp - 0x18]
call fcn.0042f830
test al, al
jne 0x42fd65
call fcn.0041b4b0
jmp 0x42fe39
mov esi, 1
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.00424608
test eax, eax
je 0x42fe17
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x12
je 0x42fe17
lea eax, [esi + 1]
push eax
mov eax, ebx
mov ecx, 1
mov edx, dword [0x42e8ec]
call fcn.0041cb00
add esp, 4
lea edi, [esi + esi*4]
mov eax, dword [ebx]
lea eax, [eax + edi*4]
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.0041bc9c
mov eax, dword [ebx]
mov edx, dword [ebp - 0x228]
mov dword [eax + edi*4 + 4], edx
mov eax, dword [ebx]
mov edx, dword [ebp - 0x224]
mov dword [eax + edi*4 + 8], edx
mov eax, dword [ebx]
lea eax, [eax + edi*4 + 0xc]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.0041bc9c
mov eax, dword [ebx]
mov edx, dword [ebp - 0x220]
mov dword [eax + edi*4 + 0x10], edx
mov eax, dword [ebx]
lea edx, [eax + edi*4]
mov eax, dword [ebp - 0x18]
call fcn.0042f830
test al, al
jne 0x42fe11
call fcn.0041b4b0
jmp 0x42fe39
inc esi
jmp 0x42fd6a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fe35
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_CloseHandle
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4401e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], ecx
test edx, edx
jne 0x4401f5
xor eax, eax
jmp 0x440268
mov ebx, dword [ebp + 8]
xor ebx, 0xffffffff
cmp dword [ebp - 4], 8
jl 0x440233
mov ecx, 8
mov esi, dword [eax]
movzx esi, byte [esi + edx]
xor esi, ebx
and esi, 0xff
movzx esi, si
mov esi, dword [esi*4 + 0x464fdc]
shr ebx, 8
xor esi, ebx
mov ebx, esi
inc edx
dec ecx
jne 0x440206
sub dword [ebp - 4], 8
cmp dword [ebp - 4], 8
jge 0x440201
cmp dword [ebp - 4], 0
je 0x440263
mov ecx, dword [ebp - 4]
test ecx, ecx
jle 0x440263
mov esi, dword [eax]
movzx esi, byte [esi + edx]
xor esi, ebx
and esi, 0xff
movzx esi, si
mov esi, dword [esi*4 + 0x464fdc]
shr ebx, 8
xor esi, ebx
mov ebx, esi
inc edx
dec ecx
jne 0x440240
mov eax, ebx
xor eax, 0xffffffff
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x440270
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
cmp esi, 0xffffffff
je 0x440296
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0041c944
lea edx, [edi + esi]
cmp eax, edx
jge 0x44029d
xor eax, eax
jmp 0x440408
mov ebx, dword [ebp + 8]
xor ebx, 0xffffffff
jmp 0x4402c8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, byte [eax + esi]
xor eax, ebx
and eax, 0xff
movzx eax, ax
mov eax, dword [eax*4 + 0x464fdc]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
je 0x4402d4
test esi, 3
jne 0x4402a5
cmp edi, 0x20
jl 0x44035e
mov eax, edi
shr eax, 5
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 8
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.0042efd8
add esi, 4
xor ebx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
movzx eax, ax
mov eax, dword [eax*4 + 0x4653dc]
mov dword [ebp - 0x10], eax
mov eax, ebx
shr ax, 8
movzx eax, ax
mov eax, dword [eax*4 + 0x4657dc]
xor dword [ebp - 0x10], eax
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x464fdc]
xor dword [ebp - 0x10], eax
and ebx, 0xff
movzx eax, bx
mov eax, dword [eax*4 + 0x465bdc]
xor eax, dword [ebp - 0x10]
mov ebx, eax
dec dword [ebp - 8]
jne 0x4402ec
sub edi, 0x20
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x4402e5
cmp edi, 4
jl 0x4403d8
mov eax, edi
shr eax, 2
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.0042efd8
add esi, 4
xor ebx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
movzx eax, ax
mov eax, dword [eax*4 + 0x4653dc]
mov dword [ebp - 0x10], eax
mov eax, ebx
shr ax, 8
movzx eax, ax
mov eax, dword [eax*4 + 0x4657dc]
xor dword [ebp - 0x10], eax
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x464fdc]
xor dword [ebp - 0x10], eax
and ebx, 0xff
movzx eax, bx
mov eax, dword [eax*4 + 0x465bdc]
xor eax, dword [ebp - 0x10]
mov ebx, eax
sub edi, 4
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x44036b
test edi, edi
je 0x440403
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, byte [eax + esi]
xor eax, ebx
and eax, 0xff
movzx eax, ax
mov eax, dword [eax*4 + 0x464fdc]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
jne 0x4403dc
mov eax, ebx
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4