joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009b200
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1009b238
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100992b7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1009928f
jmp 0x1009b244
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1009c8f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1009c937
call fcn.100a23c4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1009c937
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1009c92e
xor eax, eax
jmp 0x1009c93f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1009c945
pop edi
pop esi
pop ebx
ret 4
Function at 0x408eec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004093ac
mov byte [esp], al
cmp byte [esp], 0
jne 0x409075
test edi, edi
je 0x409075
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408fb5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408f90
cmp edi, 0xffffffff
je 0x408f51
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408f51
mov byte [esp], 0
jmp 0x409075
cmp dword [esi], 1
jg 0x408f90
cmp dword [esi], 0
jne 0x408f82
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408f82
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x409075
lea eax, [esp + 0xc]
call fcn.00408ba8
dec ebp
test ebp, ebp
jg 0x408f36
cmp edi, 0xffffffff
je 0x408fb5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408fb3
mov byte [esp], 0
jmp 0x409075
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408efa
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408fb5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004090f0
mov edx, eax
mov ebx, dword [0x4df8f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x409019
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x409017
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x409019
xor edi, edi
cmp byte [esp], 0
je 0x40903f
mov ebx, dword [esi]
test bl, 1
jne 0x409055
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40901f
mov byte [esp + 1], 1
jmp 0x409055
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40903f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408fcc
cmp byte [esp], 0
je 0x409075
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x409f34
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4df058], 0
je 0x409f9b
cmp word [0x4df344], 0xd7b2
jne 0x409f5d
cmp dword [0x4df34c], 0
jbe 0x409f5d
mov eax, 0x4df340
call dword [0x4df35c]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x409fc8
call fcn.0040aa80
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4db02e], 0
jne 0x409fb7
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40a15c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4db030], 0
je 0x40a187
mov edx, edi
mov eax, esi
call dword [0x4db030]
mov ebx, eax
jmp 0x40a198
mov eax, 8
call fcn.00406e58
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4df059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a124
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40a1c8
mov eax, ebx
call fcn.00406e74
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40d064
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 0x40d1c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a29c
cmp si, word [0x4dba00]
jb 0x40d0fc
cmp si, word [0x4dbc00]
ja 0x40d0fc
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40d0fc
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4dba00]
jae 0x40d0d6
mov edi, ebx
dec edi
jmp 0x40d0f7
cmp si, word [ebx*8 + 0x4dba00]
jbe 0x40d0e6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40d0f7
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4dba04]
call fcn.0040cf84
jmp 0x40d0fc
cmp edi, dword [ebp - 8]
jae 0x40d0c0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40d1ab
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d1ab
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.0040ae20
push dword [ebp - 0x160]
push 0x40d1e4
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040ae20
push dword [ebp - 0x164]
push 0x40d1f4
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040ae20
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b058
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d1d0
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a2fc
ret
Function at 0x40d37c
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 0x40d480
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4e1c10
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4e1c28]
jne 0x40d3c8
mov eax, esi
mov edx, 0x4e1c2a
mov ecx, 0x55
call fcn.0040ae20
push 0x4e1c10
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40d46a
push 0x4e1c10
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a29c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d437
cmp byte [0x4e1c0c], 0
je 0x40d3fc
mov edx, esi
mov eax, ebx
call fcn.0040d260
jmp 0x40d437
mov edx, esi
mov eax, ebx
call fcn.0040d064
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40d437
cmp dword [esi], 0
je 0x40d420
mov eax, esi
mov edx, 0x40d498
call fcn.0040af78
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d064
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040af78
push 0x4e1c10
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4e1c28], bx
mov eax, dword [esi]
call fcn.0040ad7c
mov ecx, eax
mov eax, 0x4e1c2a
mov edx, 0xaa
call fcn.0040cee4
push 0x4e1c10
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d487
lea eax, [ebp - 4]
call fcn.0040a29c
ret
Function at 0x40d6b0
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.0040a380
xor eax, eax
push ebp
push 0x40d8d5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40d6f0
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40d70a
mov eax, dword [ebp - 4]
call fcn.0040ad7c
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040cee4
cmp word [ebp - 0x21a], 0
je 0x40d8bf
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d8e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d7d9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d8e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d7d9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d920
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d7d9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d920
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d7d9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d954
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d7d9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d988
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40d8bf
xor eax, eax
push ebp
push 0x40d8b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040d4c0
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 0x40d848
mov eax, dword [ebp - 0x10]
call fcn.00406e58
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.0040ade4
jmp 0x40d893
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40d9c8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40d893
mov eax, dword [ebp - 0x10]
call fcn.00406e58
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40d9c8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040ade4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d8bf
cmp dword [ebp - 8], 0
je 0x40d8ae
mov eax, dword [ebp - 8]
call fcn.00406e74
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 0x40d8dc
lea eax, [ebp - 4]
call fcn.0040a29c
ret
Function at 0x40dbdc
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.0040a380
xor eax, eax
push ebp
push 0x40dc9c
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
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.0040ae20
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040afd0
mov eax, dword [ebx]
call fcn.0040da8c
test al, al
jne 0x40dc79
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040ae20
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040afd0
mov eax, dword [ebx]
call fcn.0040da8c
test al, al
jne 0x40dc79
mov eax, ebx
call fcn.0040a29c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dca3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a2fc
lea eax, [ebp - 4]
call fcn.0040a29c
ret

Function at 0x40f898
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 0x41ffbc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x420015
test eax, edx
je 0x420018
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41ffd3
movzx eax, word [eax]
sub eax, ecx
jmp 0x41fffa
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 0x41fffb
add ecx, 4
js 0x41ffeb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41fff8
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41fffa
xor eax, eax
ret
test eax, eax
je 0x420024
test edx, edx
jne 0x41ffc4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x420f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x420fad
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x424ea4
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
test eax, eax
jle 0x424edd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a424
jmp 0x424ee6
mov eax, ebx
mov edx, esi
call fcn.0040a67c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x424ef0
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
test eax, eax
jle 0x424f12
movzx eax, word [esp]
jmp 0x424f14
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42624c
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 0x426371
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00426054
mov esi, eax
mov eax, dword [0x4dea74]
cmp byte [eax], 0
je 0x426319
mov eax, dword [0x4de8c8]
call fcn.00407948
call fcn.00406fac
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
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x42621c]
call fcn.0040c798
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
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x42638c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x426355
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4de890]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e2634]
call fcn.0040cb88
push eax
call sub.user32.dll_LoadStringW
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 0x426378
lea eax, [ebp - 4]
mov edx, dword [0x42621c]
call fcn.0040c8bc
ret
Function at 0x42747c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42757c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a6c4
lea eax, [ebp - 4]
call fcn.0040a838
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ad7c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x427566
mov eax, ebx
call fcn.00406e58
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42755f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ad7c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x427549
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x427590
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x427549
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427566
mov eax, dword [ebp - 0x10]
call fcn.00406e74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427583
lea eax, [ebp - 4]
call fcn.0040a29c
ret

Function at 0x428308
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.0040a778
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f878
mov edi, eax
cmp edi, 0x104
jbe 0x4282b3
mov eax, edi
add eax, eax
call fcn.00406e58
mov esi, eax
jmp 0x4282b5
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f878
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4282ee
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 0x4282d8
mov eax, esp
cmp esi, eax
je 0x4282fb
mov eax, esi
call fcn.00406e74
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 0x428334
cmp bl, 0
je 0x428330
cmp bl, 0x41
jl 0x42832b
cmp bl, 0x5a
jg 0x42832b
or bl, 0x20
xor al, bl
inc esi
jmp 0x42830f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x428274

Function at 0x428c2c
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
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040ae20
add esp, 0x800
pop ebx
ret
Function at 0x4291ac
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.0040a29c
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040ad7c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x4291f1
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040a424
jmp 0x42920a
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040aef8
push ebx
mov eax, dword [esi]
call fcn.0040ad7c
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42ef7c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe40
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x19c]
xor ecx, ecx
mov edx, 0x11c
call fcn.004079b8
mov dword [ebp - 0x19c], 0x11c
push 3
push 2
push 0
push 0
call sub.kernel32.dll_VerSetConditionMask
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 3
push 1
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call sub.kernel32.dll_VerSetConditionMask
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 3
push 0x20
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call sub.kernel32.dll_VerSetConditionMask
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 3
push 4
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call sub.kernel32.dll_VerSetConditionMask
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x198], 5
mov dword [ebp - 0x194], 1
mov word [ebp - 0x88], 0
xor eax, eax
mov dword [ebp - 0x190], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x27
lea eax, [ebp - 0x19c]
push eax
call sub.kernel32.dll_VerifyVersionInfoW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x42f140
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 5
call sub.ntdll.dll_RtlAdjustPrivilege
call fcn.0042ead4
test eax, eax
je 0x42f140
xor eax, eax
push ebp
push 0x42f139
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c0]
push eax
call sub.kernel32.dll_GetNativeSystemInfo
movzx eax, word [ebp - 0x1c0]
add eax, 0xfffffffa
sub ax, 2
jb 0x42f08c
dec eax
sub ax, 2
jae 0x42f0ce
lea eax, [ebp - 0x80]
xor ecx, ecx
mov edx, 0x48
call fcn.004079b8
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x5c], 0xffffffff
push 0x48
lea eax, [ebp - 0x80]
push eax
push 0x15
call sub.ntdll.dll_NtSetSystemInformation
call fcn.0042ead4
mov dword [ebp - 4], eax
jmp 0x42f100
lea eax, [ebp - 0x34]
xor ecx, ecx
mov edx, 0x24
call fcn.004079b8
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0x15
call sub.ntdll.dll_NtSetSystemInformation
call fcn.0042ead4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42f114
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
call sub.kernel32.dll_SetSystemFileCacheSize
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f140
cmp dword [ebp - 8], 0
jne 0x42f138
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
push 5
call sub.ntdll.dll_RtlAdjustPrivilege
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x466dfc
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x466e3f
cmp byte [ebx + 0x11], 0
jne 0x466e3f
cmp byte [ebx + 0x2c], 0
jne 0x466e3f
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x466e56
mov ecx, dword [0x4dea30]
mov dl, 1
mov eax, dword [0x4417b4]
call fcn.004264d0
call fcn.00409998
pop ebx
ret
mov ecx, dword [0x4dea30]
mov dl, 1
mov eax, dword [0x4417b4]
call fcn.004264d0
call fcn.00409998
pop ebx
ret

Function at 0x467688
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 + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4676d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00466c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4676ef
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4676f8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00466c7c
dec esi
jne 0x46771a
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret