joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fd36
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 0xc]
push eax
push str.Outlook.ApplicationCurVer_
push 0x80000000
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x40fd5b
xor al, al
jmp 0x40fdcf
mov eax, 0x104
push edi
push eax
mov dword [ebp - 8], eax
call fcn.00416e03
push dword [ebp - 8]
mov edi, eax
push ebx
push edi
call fcn.00416e30
add esp, 0x10
lea eax, [ebp - 8]
push eax
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40fdbc
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.Outlook.Application.11
push edi
call esi
push str.Outlook.Application.12
test eax, eax
push edi
setne byte [ebp - 1]
call esi
test eax, eax
setne al
pop esi
cmp byte [ebp - 1], bl
jne 0x40fdba
cmp al, bl
je 0x40fdbc
mov bl, 1
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00416eaa
pop ecx
mov al, bl
pop edi
pop ebx
leave
ret

Function at 0x40fdd2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
push str.mailto_shellopencommand
push 0x80000000
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x40fdf6
xor al, al
jmp 0x40fe4d
mov eax, 0x104
push esi
push eax
mov dword [ebp - 4], eax
call fcn.00416e03
push dword [ebp - 4]
mov esi, eax
push ebx
push esi
call fcn.00416e30
add esp, 0x10
lea eax, [ebp - 4]
push eax
push esi
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40fe3a
push str.outlook.exe
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
setne bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00416eaa
pop ecx
mov al, bl
pop esi
pop ebx
leave
ret

Function at 0x40fe50
Capabilities:
Hide graphical window

Disassembly:
push dword [0x439558]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push dword [0x43967c]
push dword [0x439678]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [0x439558]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, byte [0x4395db]
mov ecx, dword [0x439544]
push eax
push 0x8a
call fcn.00401121
ret
Function at 0x4143f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x4143ff
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x433c78]
test eax, eax
je 0x41440d
call fcn.004142a0
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x414501
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x4385e0]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4385e0]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x4385e0]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4385e0]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x4385e0]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4385e0]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x4385e0]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4385e0]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x414427
pop edi
pop ebx
test edx, edx
je 0x414521
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4385e0]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x414505
not eax
pop esi
ret 0xc
Function at 0x41abcc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41abfd
call fcn.00419984
mov dword [eax], esi
call fcn.00419971
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00417681
add esp, 0x14
push 0x16
pop eax
jmp 0x41ac52
test dword [ebp + 0xc], 0xfffffff9
jne 0x41abd9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41ac2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00419997
pop ecx
call fcn.00419971
mov eax, dword [eax]
jmp 0x41ac52
test al, 0x10
jne 0x41ac50
test al, 1
je 0x41ac50
test byte [ebp + 0xc], 2
je 0x41ac50
call fcn.00419984
mov dword [eax], 5
call fcn.00419971
mov dword [eax], 0xd
jmp 0x41ac21
xor eax, eax
pop esi
pop ebp
ret

Function at 0x41b454
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435334]
jne 0x41b45e
repz ret
jmp fcn.00424023

Function at 0x425b4b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041d210
and dword [ebp - 4], 0
cmp dword [0x4393c4], 0
mov ebx, eax
jne 0x425bfc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425cad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42ddac
push edi
call esi
test eax, eax
je 0x425cad
push eax
call fcn.0041d19e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4393c4], eax
call esi
push eax
call fcn.0041d19e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4393c8], eax
call esi
push eax
call fcn.0041d19e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4393cc], eax
call esi
push eax
call fcn.0041d19e
pop ecx
mov dword [0x4393d4], eax
test eax, eax
je 0x425bfc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041d19e
pop ecx
mov dword [0x4393d0], eax
mov eax, dword [0x4393d0]
cmp eax, ebx
je 0x425c54
cmp dword [0x4393d4], ebx
je 0x425c54
push eax
call fcn.0041d219
push dword [0x4393d4]
mov esi, eax
call fcn.0041d219
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x425c54
test edi, edi
je 0x425c54
call esi
test eax, eax
je 0x425c4b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x425c4b
test byte [ebp - 0xc], 1
jne 0x425c54
or dword [ebp + 0x10], 0x200000
jmp 0x425c8d
mov eax, dword [0x4393c8]
cmp eax, ebx
je 0x425c8d
push eax
call fcn.0041d219
pop ecx
test eax, eax
je 0x425c8d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425c8d
mov eax, dword [0x4393cc]
cmp eax, ebx
je 0x425c8d
push eax
call fcn.0041d219
pop ecx
test eax, eax
je 0x425c8d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4393c4]
call fcn.0041d219
pop ecx
test eax, eax
je 0x425cad
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425caf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x1af45828
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x147a4519
nop
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407c5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [ecx + 8]
push 0
push 0
push 1
push 1
push eax
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CInternetSession::OpenURL
lea ecx, [esp + 0xc]
mov esi, eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::QueryInfoStatusCode
push 0x40cdec
lea ecx, [esp + 8]
call fcn.00407172
mov eax, dword [esp + 0xc]
mov byte [esp + 0x1c], 2
cmp eax, 0xc8
jne 0x401c22
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esi]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov byte [esp + 0x20], 3
call dword [edx + 0x60]
test eax, eax
je 0x401bf6
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esi]
lea eax, [esp + 8]
push eax
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
jne 0x401bd8
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 4]
push ecx
push str.__s_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
jmp 0x401c30
push 0x40c10c
lea ecx, [esp + 8]
call fcn.0040716c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
test esi, esi
je 0x401c44
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x402510
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
push 0x40c170
push 1
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40255f
push 0x40c15c
push 0
mov bl, 1
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40255f
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test edi, edi
je 0x40256a
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, bl
pop edi
pop esi
sete al
pop ebx
ret
Function at 0x402900
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x290
push ebx
push ebp
mov ebp, dword [esp + 0x2a0]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x2a0]
test ebp, ebp
push edi
jle 0x402926
mov ecx, ebp
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x110]
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x402996
lea ecx, [esp + 0x10]
push 0x100
push ecx
call dword [sym.imp.WSOCK32.dll_gethostname]
cmp eax, 0xffffffff
je 0x402996
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x402990
xor edx, edx
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + edx]
mov ecx, dword [ecx]
test ecx, ecx
je 0x402975
mov dword [esi], ecx
inc ebx
add esi, 4
cmp ebx, ebp
jge 0x402990
mov ecx, dword [eax + 0xc]
movsx edi, word [eax + 0xa]
mov ecx, dword [ecx + edx]
add ecx, edi
mov edi, dword [eax]
cmp ecx, edi
jae 0x402990
add edx, 4
jmp 0x402963
call dword [sym.imp.WSOCK32.dll_WSACleanup]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret

Function at 0x402bb0
Capabilities:
Get routing table

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 8]
push esi
mov ecx, dword [edi]
push eax
push ecx
mov dword [esp + 0x14], 0
call sub.iphlpapi.dll_GetIpForwardTable
test eax, eax
jne 0x402be9
push str.No_error_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ecx
ret
cmp eax, 0x7a
jne 0x402c0a
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea ecx, [esp + 8]
mov dword [edi], eax
push esi
push ecx
push eax
call sub.iphlpapi.dll_GetIpForwardTable
pop edi
pop esi
pop ecx
ret

Function at 0x402d40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0x63
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402d7b
xor eax, eax
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 4]
lea eax, [esp + 8]
lea edx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
push eax
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402dba
test esi, esi
je 0x402db3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 8
ret
test esi, esi
je 0x402dc5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x405f00
Capabilities:
Set registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x405f3c
xor eax, eax
pop esi
pop ecx
ret 0x10
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x14]
inc eax
push eax
push esi
mov esi, dword [esp + 0xc]
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x405f74
test esi, esi
je 0x405f6d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret 0x10
test esi, esi
je 0x405f7f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret 0x10

Function at 0x405f90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4081f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
lea eax, [esp + 4]
mov dword [esp + 0x78], 0
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0x63
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40602b
mov esi, dword [esp + 4]
mov dword [esp + 0x84], eax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x88]
push ecx
push edx
push 0
push eax
push esi
mov dword [esp + 0x98], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40603f
test esi, esi
je 0x40602b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x90]
call fcn.0040716c
test esi, esi
je 0x40605b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x70]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402711
Capabilities:
Terminate process

Disassembly:
jmp 0x4402e2
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4402f3
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00403c5b
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4027a7
Capabilities:
Query environment variable

Disassembly:
jmp 0x44f094
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x44f0a5
pop esi
ret
push ebx
push edi
push esi
call fcn.0044ef7b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00402cf7
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44f0cd
push ebx
push esi
push edi
call fcn.00403b11
add esp, 0xc
push 0
call fcn.00404197
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x403b84
Capabilities:
Parse pe header

Disassembly:
jmp 0x408f02
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408f42
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408f42
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408f42
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408f42
cmp dword [ecx + 0x74], 0xe
jbe 0x408f42
cmp dword [ecx + 0xe8], 0
je 0x408f42
mov al, 1
ret
xor al, al
ret

Function at 0x437d09
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x437d48
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x437d48
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x437d48
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x437d48
cmp dword [ecx + 0x74], 0xe
jbe 0x437d48
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x44d259
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47c4a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x44d2a4
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0044d6ce
test al, al
jne 0x44d29e
sub edx, 2
cmp edx, edi
jne 0x44d284
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x44d2c6
lea eax, [edi + 2]
cmp edx, eax
je 0x44d2c6
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0044ce52
add esp, 0x10
jmp 0x44d3c0
push esi
lea ecx, [ebp - 0x255]
call fcn.0044d6ce
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44d309
push dword [ebp - 0x25c]
jmp 0x44d2b6
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x44d346
cmp word [ebp - 0x226], 0
je 0x44d367
cmp word [ebp - 0x226], ax
jne 0x44d346
cmp word [ebp - 0x224], 0
je 0x44d367
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0044ce52
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x44d3b3
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x44d320
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x44d39b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x44d3c0
push 0x44c83a
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004039ef
add esp, 0x10
jmp 0x44d390
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004023b5
leave
ret

Function at 0x45369b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00402f0e
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45370a
cmp esi, dword [ebp - 4]
je 0x453705
cmp dword [ebp + 0xc], 0
je 0x453705
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4536e2
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004530c3
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x45370c
xor eax, eax
inc eax
jmp 0x45370c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4563e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47e460]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x456421
cmp byte [ebx], 0xa
jne 0x456421
or byte [edi + eax + 0x28], 4
jmp 0x456426
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x456525
mov dl, byte [eax]
cmp dl, 0x1a
je 0x456508
inc eax
cmp dl, 0xd
je 0x456452
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x456478
cmp eax, ecx
jae 0x456486
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x45643a
jmp 0x456525
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x456503
cmp dword [ebp - 0x10], 0
je 0x456503
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x47e460]
test byte [eax + edi + 0x28], 0x48
je 0x4564dd
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4564c8
mov byte [esi], dl
jmp 0x4564d9
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47e460]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x456525
cmp byte [ebp - 1], 0xa
jne 0x4564ec
cmp esi, ebx
jne 0x4564ec
mov byte [esi], 0xa
jmp 0x456524
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401587
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x456525
mov byte [esi], 0xd
jmp 0x456524
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x47e460]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x456522
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x456525
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret