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

Disassembly:
push ecx
cmp byte [0x70f05c], 0
je 0x40a1af
cmp word [0x70f348], 0xd7b2
jne 0x40a171
cmp dword [0x70f350], 0
jbe 0x40a171
mov eax, 0x70f344
call dword [0x70f360]
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, 0x40a1dc
call fcn.0040af28
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x6fd03a], 0
jne 0x40a1cb
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40a3ac
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 [0x6fd03c], 0
je 0x40a3d7
mov edx, edi
mov eax, esi
call dword [0x6fd03c]
mov ebx, eax
jmp 0x40a3e8
mov eax, 8
call fcn.00407024
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x70f05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a374
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 0x40a418
mov eax, ebx
call fcn.00407040
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40e510
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 0x40e677
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a4ec
cmp si, word [0x6fda18]
jb 0x40e5a8
cmp si, word [0x6fdc18]
ja 0x40e5a8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40e5a8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x6fda18]
jae 0x40e582
mov edi, ebx
dec edi
jmp 0x40e5a3
cmp si, word [ebx*8 + 0x6fda18]
jbe 0x40e592
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40e5a3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x6fda1c]
call fcn.0040e42c
jmp 0x40e5a8
cmp edi, dword [ebp - 8]
jae 0x40e56c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40e657
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e657
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.0040b288
push dword [ebp - 0x160]
push 0x40e694
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b288
push dword [ebp - 0x164]
push 0x40e6a4
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b288
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b4c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e67e
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a54c
pop eax
jmp eax
Function at 0x40e82c
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 0x40e932
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x711c18
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x711c30]
jne 0x40e878
mov eax, esi
mov edx, 0x711c32
mov ecx, 0x55
call fcn.0040b288
push 0x711c18
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40e91a
push 0x711c18
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a4ec
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e8e7
cmp byte [0x711c14], 0
je 0x40e8ac
mov edx, esi
mov eax, ebx
call fcn.0040e710
jmp 0x40e8e7
mov edx, esi
mov eax, ebx
call fcn.0040e510
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40e8e7
cmp dword [esi], 0
je 0x40e8d0
mov eax, esi
mov edx, 0x40e94c
call fcn.0040b3e0
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040e510
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b3e0
push 0x711c18
call sub.kernel32.dll_EnterCriticalSection
mov word [0x711c30], bx
mov eax, dword [esi]
call fcn.0040b1d4
mov ecx, eax
mov eax, 0x711c32
mov edx, 0xaa
call fcn.0040e38c
push 0x711c18
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e939
lea eax, [ebp - 4]
call fcn.0040a4ec
pop eax
jmp eax
Function at 0x40eb74
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a5e0
xor eax, eax
push ebp
push 0x40ed9c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40ebba
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40ebd4
mov eax, dword [ebp - 4]
call fcn.0040b1d4
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040e38c
cmp word [ebp - 0x21e], 0
je 0x40ed7f
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40edac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40eca3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40edac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40eca3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ede8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40eca3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ede8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40eca3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ee1c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40eca3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ee50
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40ed7f
xor eax, eax
push ebp
push 0x40ed78
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040e974
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40ed06
mov eax, dword [ebp - 0x14]
call fcn.00407024
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040b234
jmp 0x40ed51
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40ee90
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40ed51
mov eax, dword [ebp - 0x14]
call fcn.00407024
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40ee90
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040b234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ed7f
cmp dword [ebp - 0xc], 0
je 0x40ed6c
mov eax, dword [ebp - 0xc]
call fcn.00407040
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eda3
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a54c
pop eax
jmp eax
Function at 0x40f0b0
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.0040a5e0
xor eax, eax
push ebp
push 0x40f172
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.0040b288
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b438
mov eax, dword [ebx]
call fcn.0040ef58
test al, al
jne 0x40f14d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b288
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b438
mov eax, dword [ebx]
call fcn.0040ef58
test al, al
jne 0x40f14d
mov eax, ebx
call fcn.0040a4ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f179
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a54c
lea eax, [ebp - 4]
call fcn.0040a4ec
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x42574d
test eax, edx
je 0x425750
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42570b
movzx eax, word [eax]
sub eax, ecx
jmp 0x425732
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x425733
add ecx, 4
js 0x425723
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x425730
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x425732
xor eax, eax
ret
test eax, eax
je 0x42575c
test edx, edx
jne 0x4256fc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x426ce4
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.0040b1d4
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x426d4e
test ah, 4
je 0x426d47
test bl, bl
jne 0x426d0c
mov al, 1
jmp 0x426d75
test al, 0x10
je 0x426d14
xor eax, eax
jmp 0x426d75
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x426d38
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x426d75
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x426d75
test al, 0x10
sete al
jmp 0x426d75
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x426d6f
cmp ebx, 3
je 0x426d6f
cmp ebx, 0x7b
je 0x426d6f
mov eax, esi
call fcn.00426ca4
test al, al
jne 0x426d73
xor eax, eax
jmp 0x426d75
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x426d7c
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.0040b1d4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x426e1a
test esi, 0x400
jne 0x426db1
test esi, 0x10
setne bl
jmp 0x426e1a
cmp byte [esp], 0
je 0x426de5
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x426e1a
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x426e1a
test esi, 0x10
je 0x426df1
mov bl, 1
jmp 0x426e1a
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x426e18
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x426e1a
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42bf28
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 0x42bf61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a684
jmp 0x42bf6a
mov eax, ebx
mov edx, esi
call fcn.0040a8dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42bf74
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42bf98
movzx eax, word [esp]
jmp 0x42bf9a
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x42d6b8
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 0x42d7df
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042d4c0
mov esi, eax
mov eax, dword [0x70e068]
cmp byte [eax], 0
je 0x42d785
mov eax, dword [0x70da50]
call fcn.00407e80
call fcn.00407198
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 [0x42d688]
call fcn.0040d8f8
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 0x42d7f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42d7c1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x70d970]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x71263c]
call fcn.0040e030
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 0x42d7e6
lea eax, [ebp - 4]
mov edx, dword [0x42d688]
call fcn.0040da1c
pop eax
jmp eax
Function at 0x42ec98
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x42ecdb
mov eax, dword [ebp - 0x10c]
mov dword [0x712900], eax
mov eax, 0x712904
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040b288
mov eax, 0x712908
call fcn.0040a4ec
xor eax, eax
mov dword [0x71290c], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x7127c4], 0xa
jl 0x42ee31
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x42ee3c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x42ee31
xor eax, eax
push ebp
push 0x42ee2a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42ee98
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42ed8a
cmp dword [ebp - 8], 2
jle 0x42ed8a
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42ed5d
adc edx, 0
mov eax, 0x712908
call fcn.0040b360
lea eax, [ebp - 8]
push eax
mov eax, dword [0x712908]
call fcn.0040b1d4
push eax
push 0
push 0
push 0x42ee98
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x42ede4
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42eeb8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42ede4
cmp dword [ebp - 8], 2
jle 0x42ede4
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42edb9
adc edx, 0
mov eax, 0x712908
call fcn.0040b360
lea eax, [ebp - 8]
push eax
mov eax, dword [0x712908]
call fcn.0040b1d4
push eax
push 0
push 0
push 0x42eeb8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x71290c
push 0
push 0
push 0x42eecc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x42ee11
xor eax, eax
mov dword [0x71290c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ee31
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x6ff720], 1
mov esp, ebp
pop ebp
ret
Function at 0x42ef74
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 0x42f04e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a924
lea eax, [ebp - 4]
call fcn.0040aabc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b1d4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42f036
mov eax, ebx
call fcn.00407024
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42f02f
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.0040b1d4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42f017
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42f060
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42f017
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 0x42f036
mov eax, dword [ebp - 0x10]
call fcn.00407040
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f055
lea eax, [ebp - 4]
call fcn.0040a4ec
pop eax
jmp eax

Function at 0x430078
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.0040a9fc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410d4c
mov edi, eax
cmp edi, 0x104
jbe 0x430023
mov eax, edi
add eax, eax
call fcn.00407024
mov esi, eax
jmp 0x430025
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410d4c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x43005e
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 0x430048
mov eax, esp
cmp esi, eax
je 0x43006b
mov eax, esi
call fcn.00407040
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 0x4300a4
cmp bl, 0
je 0x4300a0
cmp bl, 0x41
jl 0x43009b
cmp bl, 0x5a
jg 0x43009b
or bl, 0x20
xor al, bl
inc esi
jmp 0x43007f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42ffe4

Function at 0x4309bc
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.0040b288
add esp, 0x800
pop ebx
ret
Function at 0x430fd4
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.0040a4ec
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040b1d4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x431019
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040a684
jmp 0x431032
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040b360
push ebx
mov eax, dword [esi]
call fcn.0040b1d4
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433614
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x433634
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x43364e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x433649
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x433653
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x4336c1
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x43370a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43367f
inc dword [ebp - 0xc]
jmp 0x433697
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x433697
cmp dword [ebp - 0xc], 0
jle 0x433697
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x4336b9
xor eax, eax
jmp 0x4336b5
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4336b4
mov eax, esi
jmp 0x43370d
inc eax
cmp eax, ecx
jle 0x4336a1
inc esi
cmp esi, dword [ebp - 8]
jl 0x43366b
jmp 0x43370a
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x43370a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x4336e2
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x433704
xor eax, eax
jmp 0x433700
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4336ff
mov eax, esi
jmp 0x43370d
inc eax
cmp eax, ecx
jle 0x4336ec
inc esi
cmp esi, dword [ebp - 8]
jl 0x4336ca
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10