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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00406a14
test esi, esi
jne 0x4047f6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406b7c
jmp 0x404814
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004046a4
mov edi, eax
test esi, esi
je 0x404814
cmp dword [ebx], 0
je 0x404814
dec esi
jmp 0x4047fd
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405758
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405b44
mov byte [esp], al
cmp byte [esp], 0
jne 0x4058e1
test edi, edi
je 0x4058e1
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405818
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x4057f3
cmp edi, 0xffffffff
je 0x4057b7
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4057b7
mov byte [esp], 0
jmp 0x4058e1
mov ebx, dword [esi]
cmp ebx, 1
jg 0x4057f3
test ebx, ebx
jne 0x4057ec
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.004025f0
test eax, eax
jne 0x4057ec
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4058e1
pause
dec ebp
test ebp, ebp
jg 0x40579c
cmp edi, 0xffffffff
je 0x405818
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405816
mov byte [esp], 0
jmp 0x4058e1
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405766
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.004025f0
cmp ebx, eax
jne 0x405818
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405954
mov edx, eax
mov ebx, dword [0x4f08cc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40587f
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40587d
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40587f
xor edi, edi
cmp byte [esp], 0
je 0x4058a8
mov ebx, dword [esi]
test bl, 1
jne 0x4058c1
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.004025f0
cmp ebx, eax
jne 0x405885
mov byte [esp + 1], 1
jmp 0x4058c1
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.004025f0
cmp ebx, eax
jne 0x4058a8
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405832
cmp byte [esp], 0
je 0x4058e1
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406678
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f0054], 0
je 0x4066d9
cmp word [0x4f0330], 0xd7b2
jne 0x4066a1
cmp dword [0x4f0338], 0
jbe 0x4066a1
mov eax, 0x4f032c
call dword [0x4f0348]
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
push 0x406704
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4eb028], 0
jne 0x4066f5
push 0
push 0x4eb78c
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4068d0
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 [0x4eb02c], 0
je 0x4068fb
mov edx, edi
mov eax, esi
call dword [0x4eb02c]
mov ebx, eax
jmp 0x40690c
mov eax, 8
call fcn.004043d8
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4f0055], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x406898
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 0x406941
mov edx, 8
mov eax, ebx
call fcn.004043f4
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x408cf4
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 0x408e59
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406a14
cmp si, word [0x4eb7dc]
jb 0x408d8c
cmp si, word [0x4eb9dc]
ja 0x408d8c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x408d8c
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4eb7dc]
jae 0x408d66
mov edi, ebx
dec edi
jmp 0x408d87
cmp si, word [ebx*8 + 0x4eb7dc]
jbe 0x408d76
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408d87
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4eb7e0]
call fcn.00408c04
jmp 0x408d8c
cmp edi, dword [ebp - 8]
jae 0x408d50
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x408e3b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408e3b
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.004075dc
push dword [ebp - 0x160]
push 0x408e74
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004075dc
push dword [ebp - 0x164]
push 0x408e84
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004075dc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408e60
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406a74
ret
Function at 0x40900c
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 0x40910f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f2b55
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4f2b6e]
jne 0x409058
mov eax, esi
mov edx, 0x4f2b70
mov ecx, 0x55
call fcn.004075dc
push 0x4f2b55
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4090f9
push 0x4f2b55
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406a14
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4090c7
cmp byte [0x4f2b54], 0
je 0x40908c
mov edx, esi
mov eax, ebx
call fcn.00408ef0
jmp 0x4090c7
mov edx, esi
mov eax, ebx
call fcn.00408cf4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4090c7
cmp dword [esi], 0
je 0x4090b0
mov eax, esi
mov edx, 0x409128
call fcn.00407734
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408cf4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407734
push 0x4f2b55
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4f2b6e], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407538
push eax
push 0x4f2b70
call sub.kernel32.dll_lstrcpynW
push 0x4f2b55
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409116
lea eax, [ebp - 4]
call fcn.00406a14
ret
Function at 0x409344
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.00406af8
xor eax, eax
push ebp
push 0x409569
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409384
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40939e
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407538
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409553
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409578
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40946d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409578
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40946d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095b4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40946d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40946d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095e8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40946d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40961c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409553
xor eax, eax
push ebp
push 0x40954c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409150
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 0x4094dc
mov eax, dword [ebp - 0x10]
call fcn.004043d8
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.00407588
jmp 0x409527
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40965c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409527
mov eax, dword [ebp - 0x10]
call fcn.004043d8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40965c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409553
cmp dword [ebp - 8], 0
je 0x409542
mov eax, dword [ebp - 8]
call fcn.004043f4
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 0x409570
lea eax, [ebp - 4]
call fcn.00406a14
ret
Function at 0x4098a8
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.00406af8
xor eax, eax
push ebp
push 0x409968
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.004075dc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040778c
mov eax, dword [ebx]
call fcn.00409770
test al, al
jne 0x409945
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004075dc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040778c
mov eax, dword [ebx]
call fcn.00409770
test al, al
jne 0x409945
mov eax, ebx
call fcn.00406a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40996f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406a74
lea eax, [ebp - 4]
call fcn.00406a14
ret

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

Disassembly:
cmp eax, edx
je 0x41c419
test eax, edx
je 0x41c41c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41c3d7
movzx eax, word [eax]
sub eax, ecx
jmp 0x41c3fe
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 0x41c3ff
add ecx, 4
js 0x41c3ef
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41c3fc
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41c3fe
xor eax, eax
ret
test eax, eax
je 0x41c428
test edx, edx
jne 0x41c3c8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00407538
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41d2b6
test ah, 4
je 0x41d2af
test bl, bl
jne 0x41d274
mov al, 1
jmp 0x41d2dd
test al, 0x10
je 0x41d27c
xor eax, eax
jmp 0x41d2dd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41d2a0
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41d2dd
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41d2dd
test al, 0x10
sete al
jmp 0x41d2dd
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x41d2d7
cmp ebx, 3
je 0x41d2d7
cmp ebx, 0x7b
je 0x41d2d7
mov eax, esi
call fcn.0041d20c
test al, al
jne 0x41d2db
xor eax, eax
jmp 0x41d2dd
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x4208d8
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 0x420911
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406b7c
jmp 0x42091a
mov eax, ebx
mov edx, esi
call fcn.00406dd4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x421604
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 0x421729
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00421414
mov esi, eax
mov eax, dword [0x4ef8fc]
cmp byte [eax], 0
je 0x4216d1
mov eax, dword [0x4ef53c]
call fcn.0040490c
call fcn.00404554
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 [0x4215dc]
call fcn.00408744
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 0x421744
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x42170d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4ef498]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f2c38]
call fcn.00408838
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 0x421730
lea eax, [ebp - 4]
mov edx, dword [0x4215dc]
call fcn.00408750
ret
Function at 0x422774
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 0x42284a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406e1c
lea eax, [ebp - 4]
call fcn.00406fbc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407538
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x422834
mov eax, ebx
call fcn.004043d8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42282d
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.00407538
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x422817
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42285c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x422817
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 0x422834
mov eax, dword [ebp - 0x10]
call fcn.004043f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422851
lea eax, [ebp - 4]
call fcn.00406a14
ret

Function at 0x423418
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.00406efc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a2ec
mov edi, eax
cmp edi, 0x104
jbe 0x4233c3
mov eax, edi
add eax, eax
call fcn.004043d8
mov esi, eax
jmp 0x4233c5
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a2ec
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4233fe
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 0x4233e8
mov eax, esp
cmp esi, eax
je 0x42340b
mov eax, esi
call fcn.004043f4
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 0x423444
cmp bl, 0
je 0x423440
cmp bl, 0x41
jl 0x42343b
cmp bl, 0x5a
jg 0x42343b
or bl, 0x20
xor al, bl
inc esi
jmp 0x42341f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x423384

Function at 0x423c80
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.004075dc
add esp, 0x800
pop ebx
ret
Function at 0x423ff8
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.00406a14
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00407538
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42403d
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00406b7c
jmp 0x424056
mov edx, ebx
dec edx
mov eax, esi
call fcn.004076b4
push ebx
mov eax, dword [esi]
call fcn.00407538
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x44a29c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44a33a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44a2fe
cmp byte [ebx + 0x10], 0
jne 0x44a2fe
cmp byte [ebx + 0x3c], 0
jne 0x44a2fe
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 0x44a31f
lea edx, [ebp - 4]
mov eax, dword [0x4ef85c]
call fcn.0040a258
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43a5d8]
call fcn.00421754
call fcn.004060fc
jmp 0x44a31f
lea edx, [ebp - 8]
mov eax, dword [0x4ef85c]
call fcn.0040a258
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43a5d8]
call fcn.00421754
call fcn.004060fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a341
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a74
ret

Function at 0x44ac48
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 0x44ac96
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.0044a1e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44acaf
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44acb8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0044a1e8
dec esi
jne 0x44acda
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x44c690
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f4f90
cmp dword [edi], 0
jne 0x44c70c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f4f8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ec00c
mov ecx, 2
call fcn.004045a4
mov edx, 0x44c668
lea eax, [esi + 5]
call fcn.0044c688
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0044c688
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 0x44c6e1
mov dword [0x4f4f8c], 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