joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099ac
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x61d05c], 0
je 0x409a13
cmp word [0x61d348], 0xd7b2
jne 0x4099d5
cmp dword [0x61d350], 0
jbe 0x4099d5
mov eax, 0x61d344
call dword [0x61d360]
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, 0x409a40
call fcn.0040a504
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x617032], 0
jne 0x409a2f
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x409bd4
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 [0x617034], 0
je 0x409bff
mov edx, edi
mov eax, esi
call dword [0x617034]
mov ebx, eax
jmp 0x409c10
mov eax, 8
call fcn.00406e84
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x61d05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409b9c
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 0x409c40
mov eax, ebx
call fcn.00406ea0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40c8f8
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 0x40ca5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409d14
cmp si, word [0x617a08]
jb 0x40c990
cmp si, word [0x617c08]
ja 0x40c990
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40c990
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x617a08]
jae 0x40c96a
mov edi, ebx
dec edi
jmp 0x40c98b
cmp si, word [ebx*8 + 0x617a08]
jbe 0x40c97a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40c98b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x617a0c]
call fcn.0040c818
jmp 0x40c990
cmp edi, dword [ebp - 8]
jae 0x40c954
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40ca3f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40ca3f
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.0040a850
push dword [ebp - 0x160]
push 0x40ca78
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040a850
push dword [ebp - 0x164]
push 0x40ca88
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a850
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040aa88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca64
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00409d74
ret
Function at 0x40cc10
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 0x40cd14
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x61fc14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x61fc2c]
jne 0x40cc5c
mov eax, esi
mov edx, 0x61fc2e
mov ecx, 0x55
call fcn.0040a850
push 0x61fc14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40ccfe
push 0x61fc14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409d14
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40cccb
cmp byte [0x61fc10], 0
je 0x40cc90
mov edx, esi
mov eax, ebx
call fcn.0040caf4
jmp 0x40cccb
mov edx, esi
mov eax, ebx
call fcn.0040c8f8
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40cccb
cmp dword [esi], 0
je 0x40ccb4
mov eax, esi
mov edx, 0x40cd2c
call fcn.0040a9a8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040c8f8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040a9a8
push 0x61fc14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x61fc2c], bx
mov eax, dword [esi]
call fcn.0040a7b0
mov ecx, eax
mov eax, 0x61fc2e
mov edx, 0xaa
call fcn.0040c778
push 0x61fc14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd1b
lea eax, [ebp - 4]
call fcn.00409d14
ret
Function at 0x40cf44
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.00409df8
xor eax, eax
push ebp
push 0x40d169
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40cf84
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40cf9e
mov eax, dword [ebp - 4]
call fcn.0040a7b0
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c778
cmp word [ebp - 0x21a], 0
je 0x40d153
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d178
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d06d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d178
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d06d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d1b4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d06d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d1b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d06d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d1e8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d06d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d21c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40d153
xor eax, eax
push ebp
push 0x40d14c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040cd54
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 0x40d0dc
mov eax, dword [ebp - 0x10]
call fcn.00406e84
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.0040a814
jmp 0x40d127
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40d25c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40d127
mov eax, dword [ebp - 0x10]
call fcn.00406e84
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40d25c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040a814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d153
cmp dword [ebp - 8], 0
je 0x40d142
mov eax, dword [ebp - 8]
call fcn.00406ea0
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 0x40d170
lea eax, [ebp - 4]
call fcn.00409d14
ret
Function at 0x40d470
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.00409df8
xor eax, eax
push ebp
push 0x40d530
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.0040a850
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040aa00
mov eax, dword [ebx]
call fcn.0040d320
test al, al
jne 0x40d50d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a850
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040aa00
mov eax, dword [ebx]
call fcn.0040d320
test al, al
jne 0x40d50d
mov eax, ebx
call fcn.00409d14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d537
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409d74
lea eax, [ebp - 4]
call fcn.00409d14
ret

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

Disassembly:
cmp eax, edx
je 0x423501
test eax, edx
je 0x423504
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4234bf
movzx eax, word [eax]
sub eax, ecx
jmp 0x4234e6
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 0x4234e7
add ecx, 4
js 0x4234d7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4234e4
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4234e6
xor eax, eax
ret
test eax, eax
je 0x423510
test edx, edx
jne 0x4234b0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x424964
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 0x424991
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040a7b0
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x424acb
test esi, 0x400
jne 0x424a60
test esi, 0x10
setne bl
jmp 0x424afb
cmp byte [esp], 0
je 0x424a94
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x424afb
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x424afb
test esi, 0x10
je 0x424aa0
mov bl, 1
jmp 0x424afb
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x424ac7
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x424afb
mov bl, 1
jmp 0x424afb
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x424af5
cmp eax, 3
je 0x424af5
cmp eax, 0xa1
je 0x424af5
cmp eax, 0x7b
je 0x424af5
cmp eax, 0x35
je 0x424af5
cmp eax, 0x15
je 0x424af5
cmp eax, 0x43
jne 0x424af9
xor ebx, ebx
jmp 0x424afb
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x424d30
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push 0
call sub.kernel32.dll_SetLastError
push esp
push 0
push 0
push 0x1a
push 0
call sub.SHFolder.dll_SHGetFolderPathW_1
test eax, eax
jne 0x424d60
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.0040a850
add esp, 0x20c
pop ebx
ret
Function at 0x428b7c
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 0x428bb5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409e9c
jmp 0x428bbe
mov eax, ebx
mov edx, esi
call fcn.0040a0f4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x428bc8
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 0x428bea
movzx eax, word [esp]
jmp 0x428bec
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x429f24
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 0x42a049
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00429d2c
mov esi, eax
mov eax, dword [0x61c0f4]
cmp byte [eax], 0
je 0x429ff1
mov eax, dword [0x61bdb0]
call fcn.00407808
call fcn.00406ff8
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 [0x429ef4]
call fcn.0040bffc
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 0x42a064
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42a02d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x61bd20]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x620634]
call fcn.0040c41c
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 0x42a050
lea eax, [ebp - 4]
mov edx, dword [0x429ef4]
call fcn.0040c120
ret
Function at 0x42b1a8
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 0x42b27e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a13c
lea eax, [ebp - 4]
call fcn.0040a258
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a7b0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42b268
mov eax, ebx
call fcn.00406e84
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42b261
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.0040a7b0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42b24b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42b290
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42b24b
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 0x42b268
mov eax, dword [ebp - 0x10]
call fcn.00406ea0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b285
lea eax, [ebp - 4]
call fcn.00409d14
ret

Function at 0x42b294
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 0x42b394
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a13c
lea eax, [ebp - 4]
call fcn.0040a258
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a7b0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42b37e
mov eax, ebx
call fcn.00406e84
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42b377
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.0040a7b0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42b361
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42b3a8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42b361
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 0x42b37e
mov eax, dword [ebp - 0x10]
call fcn.00406ea0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b39b
lea eax, [ebp - 4]
call fcn.00409d14
ret
Function at 0x42c350
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.0040a1e4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f21c
mov edi, eax
cmp edi, 0x104
jbe 0x42c2fb
mov eax, edi
add eax, eax
call fcn.00406e84
mov esi, eax
jmp 0x42c2fd
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f21c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42c336
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 0x42c320
mov eax, esp
cmp esi, eax
je 0x42c343
mov eax, esi
call fcn.00406ea0
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 0x42c37c
cmp bl, 0
je 0x42c378
cmp bl, 0x41
jl 0x42c373
cmp bl, 0x5a
jg 0x42c373
or bl, 0x20
xor al, bl
inc esi
jmp 0x42c357
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42c2bc

Function at 0x42cc94
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.0040a850
add esp, 0x800
pop ebx
ret

Function at 0x47afb8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x47affb
cmp byte [ebx + 0x11], 0
jne 0x47affb
cmp byte [ebx + 0x2c], 0
jne 0x47affb
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 0x47b012
mov ecx, dword [0x61c078]
mov dl, 1
mov eax, dword [0x4493d4]
call fcn.0042a1a8
call fcn.00409410
pop ebx
ret
mov ecx, dword [0x61c078]
mov dl, 1
mov eax, dword [0x4493d4]
call fcn.0042a1a8
call fcn.00409410
pop ebx
ret

Function at 0x47b844
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 0x47b892
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.0047ae38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b8ab
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47b8b4
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.0047ae38
dec esi
jne 0x47b8d6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x47e43c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x622ff0
cmp dword [edi], 0
jne 0x47e4b8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x622fec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x619904
mov ecx, 2
call fcn.00407080
mov edx, 0x47e414
lea eax, [esi + 5]
call fcn.0047e434
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0047e434
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x47e48d
mov dword [0x622fec], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4f3028
Capabilities:
Encode data using xor

Disassembly:
dec edi
add byte [ecx], dl
and al, 0x54
inc ecx
jb 0x4f3010
popal
jns 0x4f2fdd
push ebx
jns 0x4f3017
je 0x4f300b
insd dword es:[edi], dx
push esp
jns 0x4f301b
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
push esp
inc ebp
insb byte es:[edi], dx
insd dword es:[edi], dx
outsb dx, byte gs:[esi]
je 0x4f2ffa
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x83e
add ah, ch
dec edi
add bh, bh
invalid
das
dec edi
add byte [ecx], dl
push esp
inc ecx
jb 0x4f3058
popal
jns 0x4f3025
push ebx
jns 0x4f305f
je 0x4f3053
insd dword es:[edi], dx
push esp
jns 0x4f3063
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
push esp
inc ebp
outsb dx, byte [esi]
jne 0x4f306a
inc ecx
insb byte es:[edi], dx
imul esp, dword [ecx + 0x73], 0x72746e45
jns 0x4f3046
or byte [eax], al
add byte [eax], al
cmp al, 0x2f
add byte [edi + ebp], bh
dec edi
add bh, bh
invalid
add byte [esi], al
push ebx
jns 0x4f308f
jae 0x4f3091
je 0x4f3083
insd dword es:[edi], dx
insd dword es:[edi], dx
cmp al, 0x2f
dec edi
add byte [edx], al
add byte [ebp + 0x56530040], cl
lea eax, [eax]
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4f3030
mov eax, edx
pop esi
pop ebx
ret
test byte [ebx - 0x321739], 0xff
dec dword [ebx - 0x143fcc28]
movzx edx, bl
invalid
jmp 0x4f309f
movzx edx, bl
ror dword [ebx + 0x30289514], cl
bound eax, qword [eax]
mov edx, dword [edx*4 + 0x623028]
add byte [ebx], bh
cmp al, 0xc2
cmp edi, dword [edx + eax*8]
je 0x4f3086
cmp byte [esp], 0
je 0x4f309e
movzx edx, bl
mov edx, dword [edx*4 + 0x623028]
cmp dword [edx + eax*8], 0
jne 0x4f309e
add byte [ebp + 0x18], dh
movzx edx, bl
mov edx, dword [edx*4 + 0x623028]
lea esi, [edx + eax*8]
add byte [ebp + 0x3c80c234], cl
and al, 0
xor al, 0xc2
cmp byte [esp], 0
je 0x4f3117
cmp dword [esi], 0
jne 0x4f3117
inc eax
movzx edx, bl
mov ebp, dword [edx*4 + 0x623028]
mov edx, ebp
test edx, edx
je 0x4f30b4
sub edx, 4
mov edx, dword [edx]
cmp edx, eax
jg 0x4f3061
cmp byte [esp], 0
je 0x4f3115
test esi, esi
jne 0x4f3111
movzx ebp, bl
mov eax, dword [ebp*4 + 0x623028]
mov esi, eax
test esi, esi
je 0x4f30d7
sub esi, 4
mov esi, dword [esi]
inc esi
push esi
lea eax, [ebp*4 + 0x623028]
mov ecx, 1
mov edx, dword [0x4f2fdc]
call fcn.0040bffc
add esp, 4
mov eax, dword [ebp*4 + 0x623028]
test eax, eax
je 0x4f3103
sub eax, 4
mov eax, dword [eax]
dec eax
movzx edx, bl
mov edx, dword [edx*4 + 0x623028]
lea esi, [edx + eax*8]
mov dword [esi], edi
jmp 0x4f3117
xor esi, esi
mov eax, esi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret