joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x100010e3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push dword [ebp + 8]
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 4], eax
or eax, eax
je 0x10001115
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x10001115
push dword [ebp - 4]
call fcn.100010c6
push 0
pop dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x10001134
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.1000111c
push 0x10
lea eax, [ebp - 0x54]
push eax
call fcn.1000111c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call sub.kernel32.dll_CreateProcessA
lea edi, [ebp - 0x54]
push dword [edi]
push dword [edi + 4]
call sub.kernel32.dll_CloseHandle
call sub.kernel32.dll_CloseHandle
leave
ret 4
Function at 0x4030b0
Capabilities:
Get common file path
Get disk information
Get memory capacity
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x948
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x4683b8]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [str.u196]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0x9e3779b9
mov dword [ebp - 0x20], edx
call fcn.004030a0
mov ecx, dword [0x4683c0]
mov edx, dword [0x4683c4]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], 0x20
jmp 0x403120
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x46fb44]
shl esi, 4
add esi, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x40314c
mov dword [0x46fb40], 0xedeb2e40
jmp 0x403167
cmp eax, 0x3eb
jne 0x403167
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x46f5d0], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x2c]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x46fb44], 0x9e6
mov dword [0x46fb3c], 0xf4ea3dee
jne 0x4031a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor dword [ebp - 4], esi
cmp dword [0x46fb44], 0x213
jne 0x403218
push 0
push 0
push 0
push 0
call ebx
lea eax, [ebp - 0x548]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea ecx, [ebp - 0x948]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub edi, dword [ebp - 4]
cmp dword [0x46fb44], 0xc
jne 0x40322c
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 8]
mov eax, edi
shr eax, 5
lea ecx, [edx + edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0x20]
xor edx, dword [ebp - 4]
xor edx, ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x403120
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403280
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x46fb44]
mov ecx, dword [0x46f5d4]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x403317
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x46fb44], 0x959
jne 0x403301
push 0
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
mov eax, dword [ebp - 4]
push eax
call fcn.004030b0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4032b3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406c70
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4675a8]
jne 0x406c7a
repz ret
jmp fcn.0040b6fa

Function at 0x40b3b5
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.00407917
and dword [ebp - 4], 0
cmp dword [0x46d5c4], 0
mov ebx, eax
jne 0x40b466
push 0x402408
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b517
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4023fc
push edi
call esi
test eax, eax
je 0x40b517
push eax
call fcn.004078a5
mov dword [esp], 0x4023ec
push edi
mov dword [0x46d5c4], eax
call esi
push eax
call fcn.004078a5
mov dword [esp], 0x4023d8
push edi
mov dword [0x46d5c8], eax
call esi
push eax
call fcn.004078a5
mov dword [esp], 0x4023bc
push edi
mov dword [0x46d5cc], eax
call esi
push eax
call fcn.004078a5
pop ecx
mov dword [0x46d5d4], eax
test eax, eax
je 0x40b466
push 0x4023a4
push edi
call esi
push eax
call fcn.004078a5
pop ecx
mov dword [0x46d5d0], eax
mov eax, dword [0x46d5d0]
cmp eax, ebx
je 0x40b4be
cmp dword [0x46d5d4], ebx
je 0x40b4be
push eax
call fcn.00407920
push dword [0x46d5d4]
mov esi, eax
call fcn.00407920
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b4be
test edi, edi
je 0x40b4be
call esi
test eax, eax
je 0x40b4b5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b4b5
test byte [ebp - 0xc], 1
jne 0x40b4be
or dword [ebp + 0x10], 0x200000
jmp 0x40b4f7
mov eax, dword [0x46d5c8]
cmp eax, ebx
je 0x40b4f7
push eax
call fcn.00407920
pop ecx
test eax, eax
je 0x40b4f7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b4f7
mov eax, dword [0x46d5cc]
cmp eax, ebx
je 0x40b4f7
push eax
call fcn.00407920
pop ecx
test eax, eax
je 0x40b4f7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46d5c4]
call fcn.00407920
pop ecx
test eax, eax
je 0x40b517
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b519
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4088b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408a19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406894
cmp si, word [0x4bb7dc]
jb 0x40894c
cmp si, word [0x4bb9dc]
ja 0x40894c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40894c
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4bb7dc]
jae 0x408926
mov edi, ebx
dec edi
jmp 0x408947
cmp si, word [ebx*8 + 0x4bb7dc]
jbe 0x408936
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408947
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4bb7e0]
call fcn.004087c4
jmp 0x40894c
cmp edi, dword [ebp - 8]
jae 0x408910
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4089fb
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4089fb
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407264
push dword [ebp - 0x160]
push 0x408a34
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407264
push dword [ebp - 0x164]
push 0x408a44
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407264
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040749c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a20
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004068f4
ret
Function at 0x408bcc
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408ccf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c0b51
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4c0b6a]
jne 0x408c18
mov eax, esi
mov edx, 0x4c0b6c
mov ecx, 0x55
call fcn.00407264
push 0x4c0b51
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408cb9
push 0x4c0b51
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406894
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408c87
cmp byte [0x4c0b50], 0
je 0x408c4c
mov edx, esi
mov eax, ebx
call fcn.00408ab0
jmp 0x408c87
mov edx, esi
mov eax, ebx
call fcn.004088b4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408c87
cmp dword [esi], 0
je 0x408c70
mov eax, esi
mov edx, 0x408ce8
call fcn.004073bc
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004088b4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004073bc
push 0x4c0b51
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4c0b6a], bx
push 0xaa
mov eax, dword [esi]
call fcn.004071d8
push eax
push 0x4c0b6c
call sub.kernel32.dll_lstrcpynW
push 0x4c0b51
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408cd6
lea eax, [ebp - 4]
call fcn.00406894
ret
Function at 0x408f04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406978
xor eax, eax
push ebp
push 0x409129
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x408f44
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x408f5e
push 0x105
mov eax, dword [ebp - 4]
call fcn.004071d8
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409113
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409138
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40902d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409138
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40902d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409174
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40902d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409174
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40902d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4091a8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40902d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4091dc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409113
xor eax, eax
push ebp
push 0x40910c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408d10
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40909c
mov eax, dword [ebp - 0x10]
call fcn.00404350
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407228
jmp 0x4090e7
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40921c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4090e7
mov eax, dword [ebp - 0x10]
call fcn.00404350
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40921c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407228
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409113
cmp dword [ebp - 8], 0
je 0x409102
mov eax, dword [ebp - 8]
call fcn.0040436c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409130
lea eax, [ebp - 4]
call fcn.00406894
ret
Function at 0x409468
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406978
xor eax, eax
push ebp
push 0x409528
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407264
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407414
mov eax, dword [ebx]
call fcn.00409330
test al, al
jne 0x409505
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407264
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407414
mov eax, dword [ebx]
call fcn.00409330
test al, al
jne 0x409505
mov eax, ebx
call fcn.00406894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40952f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004068f4
lea eax, [ebp - 4]
call fcn.00406894
ret

Function at 0x409e14
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41a920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41a979
test eax, edx
je 0x41a97c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41a937
movzx eax, word [eax]
sub eax, ecx
jmp 0x41a95e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41a95f
add ecx, 4
js 0x41a94f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41a95c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41a95e
xor eax, eax
ret
test eax, eax
je 0x41a988
test edx, edx
jne 0x41a928
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41e910
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41e949
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004069fc
jmp 0x41e952
mov eax, ebx
mov edx, esi
call fcn.00406c54
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41e95c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41e97e
movzx eax, word [esp]
jmp 0x41e980
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41f63c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41f761
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041f44c
mov esi, eax
mov eax, dword [0x4bd234]
cmp byte [eax], 0
je 0x41f709
mov eax, dword [0x4bd000]
call fcn.0040480c
call fcn.004044cc
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41f614]
call fcn.00408304
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41f77c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41f745
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4bcf90]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c0c34]
call fcn.004083f8
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f768
lea eax, [ebp - 4]
mov edx, dword [0x41f614]
call fcn.00408310
ret

Function at 0x4207a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x420876
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406c9c
lea eax, [ebp - 4]
call fcn.00406e04
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004071d8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x420860
mov eax, ebx
call fcn.00404350
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x420859
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004071d8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x420843
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x420888
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x420843
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420860
mov eax, dword [ebp - 0x10]
call fcn.0040436c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42087d
lea eax, [ebp - 4]
call fcn.00406894
ret
Function at 0x4210dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406d44
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409df4
mov edi, eax
cmp edi, 0x104
jbe 0x421087
mov eax, edi
add eax, eax
call fcn.00404350
mov esi, eax
jmp 0x421089
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409df4
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4210c2
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4210ac
mov eax, esp
cmp esi, eax
je 0x4210cf
mov eax, esi
call fcn.0040436c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x421108
cmp bl, 0
je 0x421104
cmp bl, 0x41
jl 0x4210ff
cmp bl, 0x5a
jg 0x4210ff
or bl, 0x20
xor al, bl
inc esi
jmp 0x4210e3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x421048

Function at 0x4218a8
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407264
add esp, 0x800
pop ebx
ret

Function at 0x44546c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44550a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4454ce
cmp byte [ebx + 0x10], 0
jne 0x4454ce
cmp byte [ebx + 0x3c], 0
jne 0x4454ce
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4454ef
lea edx, [ebp - 4]
mov eax, dword [0x4bd1dc]
call fcn.00409d60
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x435848]
call fcn.0041f780
call fcn.00405fe4
jmp 0x4454ef
lea edx, [ebp - 8]
mov eax, dword [0x4bd1dc]
call fcn.00409d60
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x435848]
call fcn.0041f780
call fcn.00405fe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445511
lea eax, [ebp - 8]
mov edx, 2
call fcn.004068f4
ret

Function at 0x445e18
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x445e66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004453b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x445e7f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret