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

Disassembly:
push ecx
cmp byte [0x7d005c], 0
je 0x40a0f7
cmp word [0x7d034c], 0xd7b2
jne 0x40a0b9
cmp dword [0x7d0354], 0
jbe 0x40a0b9
mov eax, 0x7d0348
call dword [0x7d0364]
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, 0x40a124
call fcn.0040ad64
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x7b203a], 0
jne 0x40a113
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40a2f4
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 [0x7b203c], 0
je 0x40a31f
mov edx, edi
mov eax, esi
call dword [0x7b203c]
mov ebx, eax
jmp 0x40a330
mov eax, 8
call fcn.00406e94
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x7d005d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a2bc
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 0x40a360
mov eax, ebx
call fcn.00406eb0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40e1c4
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 0x40e32b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a434
cmp si, word [0x7b2a18]
jb 0x40e25c
cmp si, word [0x7b2c18]
ja 0x40e25c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40e25c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x7b2a18]
jae 0x40e236
mov edi, ebx
dec edi
jmp 0x40e257
cmp si, word [ebx*8 + 0x7b2a18]
jbe 0x40e246
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40e257
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x7b2a1c]
call fcn.0040e0e4
jmp 0x40e25c
cmp edi, dword [ebp - 8]
jae 0x40e220
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40e30b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e30b
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.0040b180
push dword [ebp - 0x160]
push 0x40e348
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b180
push dword [ebp - 0x164]
push 0x40e358
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b180
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b3b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e332
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a494
pop eax
jmp eax
Function at 0x40e4e0
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 0x40e5e6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x7d2c18
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x7d2c30]
jne 0x40e52c
mov eax, esi
mov edx, 0x7d2c32
mov ecx, 0x55
call fcn.0040b180
push 0x7d2c18
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40e5ce
push 0x7d2c18
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a434
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e59b
cmp byte [0x7d2c14], 0
je 0x40e560
mov edx, esi
mov eax, ebx
call fcn.0040e3c4
jmp 0x40e59b
mov edx, esi
mov eax, ebx
call fcn.0040e1c4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40e59b
cmp dword [esi], 0
je 0x40e584
mov eax, esi
mov edx, 0x40e600
call fcn.0040b2d8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040e1c4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b2d8
push 0x7d2c18
call sub.kernel32.dll_EnterCriticalSection
mov word [0x7d2c30], bx
mov eax, dword [esi]
call fcn.0040b0cc
mov ecx, eax
mov eax, 0x7d2c32
mov edx, 0xaa
call fcn.0040e044
push 0x7d2c18
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e5ed
lea eax, [ebp - 4]
call fcn.0040a434
pop eax
jmp eax
Function at 0x40e828
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.0040a528
xor eax, eax
push ebp
push 0x40ea50
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e86e
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40e888
mov eax, dword [ebp - 4]
call fcn.0040b0cc
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040e044
cmp word [ebp - 0x21e], 0
je 0x40ea33
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ea60
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e957
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ea60
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e957
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ea9c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e957
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ea9c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e957
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ead0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e957
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40eb04
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40ea33
xor eax, eax
push ebp
push 0x40ea2c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040e628
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 0x40e9ba
mov eax, dword [ebp - 0x14]
call fcn.00406e94
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.0040b12c
jmp 0x40ea05
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40eb44
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40ea05
mov eax, dword [ebp - 0x14]
call fcn.00406e94
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40eb44
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040b12c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ea33
cmp dword [ebp - 0xc], 0
je 0x40ea20
mov eax, dword [ebp - 0xc]
call fcn.00406eb0
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 0x40ea57
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a494
pop eax
jmp eax
Function at 0x40ed60
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.0040a528
xor eax, eax
push ebp
push 0x40ee22
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.0040b180
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b330
mov eax, dword [ebx]
call fcn.0040ec0c
test al, al
jne 0x40edfd
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b180
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b330
mov eax, dword [ebx]
call fcn.0040ec0c
test al, al
jne 0x40edfd
mov eax, ebx
call fcn.0040a434
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ee29
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a494
lea eax, [ebp - 4]
call fcn.0040a434
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x4264f9
test eax, edx
je 0x4264fc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4264b7
movzx eax, word [eax]
sub eax, ecx
jmp 0x4264de
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 0x4264df
add ecx, 4
js 0x4264cf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4264dc
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4264de
xor eax, eax
ret
test eax, eax
je 0x426508
test edx, edx
jne 0x4264a8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x427888
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.0040b0cc
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4278f2
test ah, 4
je 0x4278eb
test bl, bl
jne 0x4278b0
mov al, 1
jmp 0x427919
test al, 0x10
je 0x4278b8
xor eax, eax
jmp 0x427919
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4278dc
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x427919
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x427919
test al, 0x10
sete al
jmp 0x427919
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x427913
cmp ebx, 3
je 0x427913
cmp ebx, 0x7b
je 0x427913
mov eax, esi
call fcn.00427848
test al, al
jne 0x427917
xor eax, eax
jmp 0x427919
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x427920
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.0040b0cc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x4279be
test esi, 0x400
jne 0x427955
test esi, 0x10
setne bl
jmp 0x4279be
cmp byte [esp], 0
je 0x427989
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4279be
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x4279be
test esi, 0x10
je 0x427995
mov bl, 1
jmp 0x4279be
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4279bc
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x4279be
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x427bf0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040b0cc
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x427c45
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x427c3f
test ah, 4
je 0x427c3f
test al, 0x10
je 0x427c3f
mov eax, esi
call fcn.0040b0cc
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x427c45
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42cda0
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 0x42cdd9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a5cc
jmp 0x42cde2
mov eax, ebx
mov edx, esi
call fcn.0040a824
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42cdec
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 0x42ce10
movzx eax, word [esp]
jmp 0x42ce12
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x42eb08
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 0x42ec2f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042e910
mov esi, eax
mov eax, dword [0x7cf490]
cmp byte [eax], 0
je 0x42ebd5
mov eax, dword [0x7ced0c]
call fcn.00407cd4
call fcn.00407008
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 [0x42ead8]
call fcn.0040d5e8
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 0x42ec48
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42ec11
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x7cebfc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x7d363c]
call fcn.0040dce8
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 0x42ec36
lea eax, [ebp - 4]
mov edx, dword [0x42ead8]
call fcn.0040d70c
pop eax
jmp eax
Function at 0x4301b4
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 0x4301f7
mov eax, dword [ebp - 0x10c]
mov dword [0x7d3900], eax
mov eax, 0x7d3904
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040b180
mov eax, 0x7d3908
call fcn.0040a434
xor eax, eax
mov dword [0x7d390c], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x7d37c4], 0xa
jl 0x43034d
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x430358
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x43034d
xor eax, eax
push ebp
push 0x430346
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x4303b4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4302a6
cmp dword [ebp - 8], 2
jle 0x4302a6
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x430279
adc edx, 0
mov eax, 0x7d3908
call fcn.0040b258
lea eax, [ebp - 8]
push eax
mov eax, dword [0x7d3908]
call fcn.0040b0cc
push eax
push 0
push 0
push 0x4303b4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x430300
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x4303d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x430300
cmp dword [ebp - 8], 2
jle 0x430300
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x4302d5
adc edx, 0
mov eax, 0x7d3908
call fcn.0040b258
lea eax, [ebp - 8]
push eax
mov eax, dword [0x7d3908]
call fcn.0040b0cc
push eax
push 0
push 0
push 0x4303d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x7d390c
push 0
push 0
push 0x4303e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x43032d
xor eax, eax
mov dword [0x7d390c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43034d
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x7b4750], 1
mov esp, ebp
pop ebp
ret
Function at 0x430490
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 0x43056a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a86c
lea eax, [ebp - 4]
call fcn.0040aa00
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b0cc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x430552
mov eax, ebx
call fcn.00406e94
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43054b
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.0040b0cc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x430533
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x43057c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x430533
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 0x430552
mov eax, dword [ebp - 0x10]
call fcn.00406eb0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430571
lea eax, [ebp - 4]
call fcn.0040a434
pop eax
jmp eax

Function at 0x4315fc
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.0040a940
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410a28
mov edi, eax
cmp edi, 0x104
jbe 0x4315a7
mov eax, edi
add eax, eax
call fcn.00406e94
mov esi, eax
jmp 0x4315a9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410a28
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4315e2
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 0x4315cc
mov eax, esp
cmp esi, eax
je 0x4315ef
mov eax, esi
call fcn.00406eb0
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 0x431628
cmp bl, 0
je 0x431624
cmp bl, 0x41
jl 0x43161f
cmp bl, 0x5a
jg 0x43161f
or bl, 0x20
xor al, bl
inc esi
jmp 0x431603
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x431568

Function at 0x431f64
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.0040b180
add esp, 0x800
pop ebx
ret
Function at 0x432560
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.0040a434
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040b0cc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x4325a5
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040a5cc
jmp 0x4325be
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040b258
push ebx
mov eax, dword [esi]
call fcn.0040b0cc
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4348d0
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 0x4348ee
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x434906
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x434901
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x43490b
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x434979
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x4349c2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x434937
inc dword [ebp - 0xc]
jmp 0x43494f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x43494f
cmp dword [ebp - 0xc], 0
jle 0x43494f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x434971
xor eax, eax
jmp 0x43496d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x43496c
mov eax, esi
jmp 0x4349c5
inc eax
cmp eax, ecx
jle 0x434959
inc esi
cmp esi, dword [ebp - 8]
jl 0x434923
jmp 0x4349c2
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x4349c2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43499a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4349bc
xor eax, eax
jmp 0x4349b8
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4349b7
mov eax, esi
jmp 0x4349c5
inc eax
cmp eax, ecx
jle 0x4349a4
inc esi
cmp esi, dword [ebp - 8]
jl 0x434982
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10