joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fb0c
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 0x40fc71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040ccac
cmp si, word [0x718d88]
jb 0x40fba4
cmp si, word [0x718f88]
ja 0x40fba4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40fba4
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x718d88]
jae 0x40fb7e
mov edi, ebx
dec edi
jmp 0x40fb9f
cmp si, word [ebx*8 + 0x718d88]
jbe 0x40fb8e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40fb9f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x718d8c]
call fcn.0040fa2c
jmp 0x40fba4
cmp edi, dword [ebp - 8]
jae 0x40fb68
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40fc53
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x40fc53
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.0040da4c
push dword [ebp - 0x160]
push 0x40fc8c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040da4c
push dword [ebp - 0x164]
push 0x40fc9c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040da4c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040dc84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fc78
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040cd0c
ret
Function at 0x40fe24
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 0x40ff28
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x728da0
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x728db8]
jne 0x40fe70
mov eax, esi
mov edx, 0x728dba
mov ecx, 0x55
call fcn.0040da4c
push 0x728da0
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x40ff12
push 0x728da0
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.0040ccac
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x40fedf
cmp byte [0x728d9c], 0
je 0x40fea4
mov edx, esi
mov eax, ebx
call fcn.0040fd08
jmp 0x40fedf
mov edx, esi
mov eax, ebx
call fcn.0040fb0c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40fedf
cmp dword [esi], 0
je 0x40fec8
mov eax, esi
mov edx, 0x40ff40
call fcn.0040dba4
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040fb0c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040dba4
push 0x728da0
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x728db8], bx
mov eax, dword [esi]
call fcn.0040d9ac
mov ecx, eax
mov eax, 0x728dba
mov edx, 0xaa
call fcn.0040f98c
push 0x728da0
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ff2f
lea eax, [ebp - 4]
call fcn.0040ccac
ret
Function at 0x410158
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.0040cd90
xor eax, eax
push ebp
push 0x41037d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x410198
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x4101b2
mov eax, dword [ebp - 4]
call fcn.0040d9ac
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040f98c
cmp word [ebp - 0x21a], 0
je 0x410367
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x41038c
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x410281
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x41038c
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x410281
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4103c8
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x410281
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4103c8
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x410281
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4103fc
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x410281
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x410430
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x410367
xor eax, eax
push ebp
push 0x410360
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040ff68
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 0x4102f0
mov eax, dword [ebp - 0x10]
call fcn.00409d48
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.0040da10
jmp 0x41033b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x410470
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x41033b
mov eax, dword [ebp - 0x10]
call fcn.00409d48
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x410470
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040da10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410367
cmp dword [ebp - 8], 0
je 0x410356
mov eax, dword [ebp - 8]
call fcn.00409d64
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 0x410384
lea eax, [ebp - 4]
call fcn.0040ccac
ret
Function at 0x410684
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.0040cd90
xor eax, eax
push ebp
push 0x410744
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.0040da4c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040dbfc
mov eax, dword [ebx]
call fcn.00410534
test al, al
jne 0x410721
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040da4c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040dbfc
mov eax, dword [ebx]
call fcn.00410534
test al, al
jne 0x410721
mov eax, ebx
call fcn.0040ccac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41074b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040cd0c
lea eax, [ebp - 4]
call fcn.0040ccac
ret

Function at 0x412484
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 0x413490
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x413567
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x726b1c], 1
jae 0x413559
call fcn.0040ac4c
call fcn.00409b00
push 0x400
call sub.KERNEL32.DLL_SetThreadLocale
call fcn.0040f890
mov byte [0x7183a4], 2
mov dword [0x72619c], 0x71684a
mov dword [0x7261a0], 0x716862
mov byte [0x7261e2], 2
call fcn.00412484
mov dword [0x7261e8], eax
mov dword [0x726188], 0x40ea88
call fcn.0040ac88
call fcn.0040aca4
mov word [0x7261f0], 0xd7b0
mov word [0x7264cc], 0xd7b0
mov word [0x7267a8], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x7261d4], eax
call fcn.00408188
mov dword [0x7261d0], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x726b04], eax
mov dword [0x726b08], 0x4b0
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x7261c8], eax
call fcn.00412498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41356e
ret
Function at 0x425508
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x425561
test eax, edx
je 0x425564
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42551f
movzx eax, word [eax]
sub eax, ecx
jmp 0x425546
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 0x425547
add ecx, 4
js 0x425537
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x425544
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x425546
xor eax, eax
ret
test eax, eax
je 0x425570
test edx, edx
jne 0x425510
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Function at 0x426c14
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.0040d9ac
mov edi, eax
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x426c7e
test ah, 4
je 0x426c77
test bl, bl
jne 0x426c3c
mov al, 1
jmp 0x426ca5
test al, 0x10
je 0x426c44
xor eax, eax
jmp 0x426ca5
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x426c68
push eax
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
jmp 0x426ca5
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x426ca5
test al, 0x10
sete al
jmp 0x426ca5
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x426c9f
cmp ebx, 3
je 0x426c9f
cmp ebx, 0x7b
je 0x426c9f
mov eax, esi
call fcn.00426bd4
test al, al
jne 0x426ca3
xor eax, eax
jmp 0x426ca5
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x426cac
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.0040d9ac
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x426d53
test esi, 0x400
jne 0x426ce8
test esi, 0x10
setne bl
jmp 0x426d83
cmp byte [esp], 0
je 0x426d1c
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x426d83
push eax
call sub.KERNEL32.DLL_CloseHandle
test esi, 0x10
setne bl
jmp 0x426d83
test esi, 0x10
je 0x426d28
mov bl, 1
jmp 0x426d83
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x426d4f
push eax
call sub.KERNEL32.DLL_CloseHandle
xor ebx, ebx
jmp 0x426d83
mov bl, 1
jmp 0x426d83
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
je 0x426d7d
cmp eax, 3
je 0x426d7d
cmp eax, 0xa1
je 0x426d7d
cmp eax, 0x7b
je 0x426d7d
cmp eax, 0x35
je 0x426d7d
cmp eax, 0x15
je 0x426d7d
cmp eax, 0x43
jne 0x426d81
xor ebx, ebx
jmp 0x426d83
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42b05c
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 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x42b095
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040ce34
jmp 0x42b09e
mov eax, ebx
mov edx, esi
call fcn.0040d08c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42b0a8
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 0x42b0ca
movzx eax, word [esp]
jmp 0x42b0cc
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42c404
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 0x42c529
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042c20c
mov esi, eax
mov eax, dword [0x725600]
cmp byte [eax], 0
je 0x42c4d1
mov eax, dword [0x725618]
call fcn.0040a81c
call fcn.00409f2c
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 [0x42c3d4]
call fcn.0040f1f8
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 0x42c544
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x42c50d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x72572c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x726120]
call fcn.0040f630
push eax
call fcn.00717070
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call fcn.00717094
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c530
lea eax, [ebp - 4]
mov edx, dword [0x42c3d4]
call fcn.0040f31c
ret

Function at 0x42d688
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 0x42d75e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040d0d4
lea eax, [ebp - 4]
call fcn.0040d234
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040d9ac
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42d748
mov eax, ebx
call fcn.00409d48
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42d741
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.0040d9ac
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x42d72b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42d770
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x42d72b
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 0x42d748
mov eax, dword [ebp - 0x10]
call fcn.00409d64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d765
lea eax, [ebp - 4]
call fcn.0040ccac
ret
Function at 0x42d774
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 0x42d874
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040d0d4
lea eax, [ebp - 4]
call fcn.0040d234
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040d9ac
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42d85e
mov eax, ebx
call fcn.00409d48
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42d857
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.0040d9ac
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x42d841
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42d888
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x42d841
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 0x42d85e
mov eax, dword [ebp - 0x10]
call fcn.00409d64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d87b
lea eax, [ebp - 4]
call fcn.0040ccac
ret

Function at 0x42e830
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.0040d17c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00412464
mov edi, eax
cmp edi, 0x104
jbe 0x42e7db
mov eax, edi
add eax, eax
call fcn.00409d48
mov esi, eax
jmp 0x42e7dd
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00412464
push esi
call fcn.00716d40
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42e816
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 0x42e800
mov eax, esp
cmp esi, eax
je 0x42e823
mov eax, esi
call fcn.00409d64
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 0x42e85c
cmp bl, 0
je 0x42e858
cmp bl, 0x41
jl 0x42e853
cmp bl, 0x5a
jg 0x42e853
or bl, 0x20
xor al, bl
inc esi
jmp 0x42e837
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42e79c

Function at 0x42f16c
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.0040da4c
add esp, 0x800
pop ebx
ret
Function at 0x48a750
Capabilities:
Encode data using xor

Disassembly:
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 0x48a758
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4ceb24
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4ceb67
cmp byte [ebx + 0x11], 0
jne 0x4ceb67
cmp byte [ebx + 0x2c], 0
jne 0x4ceb67
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 0x4ceb7e
mov ecx, dword [0x7258d8]
mov dl, 1
mov eax, dword [0x49c144]
call fcn.0042c688
call fcn.0040c47c
pop ebx
ret
mov ecx, dword [0x7258d8]
mov dl, 1
mov eax, dword [0x49c144]
call fcn.0042c688
call fcn.0040c47c
pop ebx
ret

Function at 0x4cf3b0
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 0x4cf3fe
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.004ce9a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cf417
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4cf420
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.004ce9a4
dec esi
jne 0x4cf442
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4d2030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x72c644
cmp dword [edi], 0
jne 0x4d20ac
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x72c640]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x71bc18
mov ecx, 2
call fcn.00409f7c
mov edx, 0x4d2008
lea eax, [esi + 5]
call fcn.004d2028
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004d2028
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 0x4d2081
mov dword [0x72c640], 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 0x5350d4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x71e4dc
test edx, edx
jne 0x5350f3
xor eax, eax
jmp 0x535211
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x535110
push esi
push edx
push eax
call fcn.00535234
add esp, 0xc
jmp 0x535211
push esi
push edx
push eax
call fcn.005354f4
add esp, 0xc
jmp 0x535211
pop esi
pop ebx
pop ecx
pop ebp
ret