joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a1a4
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 0x40a309
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004074d4
cmp si, word [0x61fa08]
jb 0x40a23c
cmp si, word [0x61fc08]
ja 0x40a23c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40a23c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x61fa08]
jae 0x40a216
mov edi, ebx
dec edi
jmp 0x40a237
cmp si, word [ebx*8 + 0x61fa08]
jbe 0x40a226
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40a237
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x61fa0c]
call fcn.0040a0b4
jmp 0x40a23c
cmp edi, dword [ebp - 8]
jae 0x40a200
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40a2eb
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a2eb
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.00408688
push dword [ebp - 0x160]
push 0x40a324
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00408688
push dword [ebp - 0x164]
push 0x40a334
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00408688
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004088c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a310
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407534
ret
Function at 0x40a4bc
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 0x40a5bf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x63eb88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x63eba0]
jne 0x40a508
mov eax, esi
mov edx, 0x63eba2
mov ecx, 0x55
call fcn.00408688
push 0x63eb88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40a5a9
push 0x63eb88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004074d4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a577
cmp byte [0x63eb84], 0
je 0x40a53c
mov edx, esi
mov eax, ebx
call fcn.0040a3a0
jmp 0x40a577
mov edx, esi
mov eax, ebx
call fcn.0040a1a4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40a577
cmp dword [esi], 0
je 0x40a560
mov eax, esi
mov edx, 0x40a5d8
call fcn.004087e0
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040a1a4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004087e0
push 0x63eb88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x63eba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.004085cc
push eax
push 0x63eba2
call sub.kernel32.dll_lstrcpynW
push 0x63eb88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a5c6
lea eax, [ebp - 4]
call fcn.004074d4
ret
Function at 0x40a7f4
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.004075b8
xor eax, eax
push ebp
push 0x40aa19
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40a834
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40a84e
push 0x105
mov eax, dword [ebp - 4]
call fcn.004085cc
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40aa03
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40aa28
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a91d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40aa28
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a91d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40aa64
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a91d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40aa64
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a91d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40aa98
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a91d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40aacc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40aa03
xor eax, eax
push ebp
push 0x40a9fc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040a600
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 0x40a98c
mov eax, dword [ebp - 0x10]
call fcn.0040451c
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.00408634
jmp 0x40a9d7
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40ab0c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a9d7
mov eax, dword [ebp - 0x10]
call fcn.0040451c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40ab0c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00408634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40aa03
cmp dword [ebp - 8], 0
je 0x40a9f2
mov eax, dword [ebp - 8]
call fcn.00404538
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 0x40aa20
lea eax, [ebp - 4]
call fcn.004074d4
ret
Function at 0x40acfc
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.004075b8
xor eax, eax
push ebp
push 0x40adbc
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.00408688
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408838
mov eax, dword [ebx]
call fcn.0040abc4
test al, al
jne 0x40ad99
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00408688
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408838
mov eax, dword [ebx]
call fcn.0040abc4
test al, al
jne 0x40ad99
mov eax, ebx
call fcn.004074d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40adc3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407534
lea eax, [ebp - 4]
call fcn.004074d4
ret

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

Disassembly:
cmp eax, edx
je 0x41d3a5
test eax, edx
je 0x41d3a8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41d363
movzx eax, word [eax]
sub eax, ecx
jmp 0x41d38a
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 0x41d38b
add ecx, 4
js 0x41d37b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41d388
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41d38a
xor eax, eax
ret
test eax, eax
je 0x41d3b4
test edx, edx
jne 0x41d354
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41db98
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x41dbb0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41dbb8
mov al, 1
jmp 0x41dbd5
movzx esi, word [ebp]
mov eax, esi
call fcn.0040fbdc
test al, al
jne 0x41dbd1
cmp si, 0x5f
je 0x41dbd1
xor eax, eax
jmp 0x41dbd3
mov al, 1
xor al, 1
test al, al
jne 0x41dc65
test bl, bl
je 0x41dc25
mov eax, ebp
test eax, eax
je 0x41dbec
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41dc61
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040fc68
test al, al
jne 0x41dc19
cmp di, 0x5f
je 0x41dc19
cmp di, 0x2e
je 0x41dc19
xor eax, eax
jmp 0x41dc1b
mov al, 1
test al, al
je 0x41dc65
inc esi
dec ebx
jne 0x41dbf9
jmp 0x41dc61
mov eax, ebp
test eax, eax
je 0x41dc30
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41dc61
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040fc68
test al, al
jne 0x41dc57
cmp di, 0x5f
je 0x41dc57
xor eax, eax
jmp 0x41dc59
mov al, 1
test al, al
je 0x41dc65
inc esi
dec ebx
jne 0x41dc3d
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41e738
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.004085cc
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41e7a2
test ah, 4
je 0x41e79b
test bl, bl
jne 0x41e760
mov al, 1
jmp 0x41e7c9
test al, 0x10
je 0x41e768
xor eax, eax
jmp 0x41e7c9
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41e78c
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41e7c9
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41e7c9
test al, 0x10
sete al
jmp 0x41e7c9
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x41e7c3
cmp ebx, 3
je 0x41e7c3
cmp ebx, 0x7b
je 0x41e7c3
mov eax, esi
call fcn.0041e6f8
test al, al
jne 0x41e7c7
xor eax, eax
jmp 0x41e7c9
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41e7d0
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.004085cc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41e877
test esi, 0x400
jne 0x41e80c
test esi, 0x10
setne bl
jmp 0x41e896
cmp byte [esp], 0
je 0x41e840
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41e896
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41e896
test esi, 0x10
je 0x41e84c
mov bl, 1
jmp 0x41e896
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41e873
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41e896
mov bl, 1
jmp 0x41e896
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x41e890
cmp eax, 3
je 0x41e890
cmp eax, 0x7b
je 0x41e890
cmp eax, 0x35
jne 0x41e894
xor ebx, ebx
jmp 0x41e896
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x422858
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 0x422891
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040765c
jmp 0x42289a
mov eax, ebx
mov edx, esi
call fcn.004078b4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4228a4
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 0x4228c6
movzx eax, word [esp]
jmp 0x4228c8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42358c
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 0x4236b1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423394
mov esi, eax
mov eax, dword [0x63ba54]
cmp byte [eax], 0
je 0x423659
mov eax, dword [0x63b3fc]
call fcn.00404c30
call fcn.00404690
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 [0x42355c]
call fcn.00409bf4
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 0x4236cc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x423695
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x63b314]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x63ec50]
call fcn.00409ce8
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 0x4236b8
lea eax, [ebp - 4]
mov edx, dword [0x42355c]
call fcn.00409c00
ret

Function at 0x424374
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 0x42444a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004078fc
lea eax, [ebp - 4]
call fcn.00407a9c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004085cc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x424434
mov eax, ebx
call fcn.0040451c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42442d
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.004085cc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x424417
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42445c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x424417
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 0x424434
mov eax, dword [ebp - 0x10]
call fcn.00404538
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424451
lea eax, [ebp - 4]
call fcn.004074d4
ret
Function at 0x424f50
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.004079dc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040b704
mov edi, eax
cmp edi, 0x104
jbe 0x424ef7
mov eax, edi
add eax, eax
call fcn.0040451c
mov esi, eax
jmp 0x424ef9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040b704
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x424f34
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 0x424f1e
mov eax, esp
cmp esi, eax
je 0x424f41
mov eax, esi
call fcn.00404538
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 0x424f7c
cmp bl, 0
je 0x424f78
cmp bl, 0x41
jl 0x424f73
cmp bl, 0x5a
jg 0x424f73
or bl, 0x20
xor al, bl
inc esi
jmp 0x424f57
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x424eb8

Function at 0x42577c
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.00408688
add esp, 0x800
pop ebx
ret

Function at 0x425ac4
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.004074d4
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.004085cc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x425b09
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040765c
jmp 0x425b22
mov edx, ebx
dec edx
mov eax, esi
call fcn.00408760
push ebx
mov eax, dword [esi]
call fcn.004085cc
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x44e7a8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44e846
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44e80a
cmp byte [ebx + 0x10], 0
jne 0x44e80a
cmp byte [ebx + 0x3c], 0
jne 0x44e80a
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 0x44e82b
lea edx, [ebp - 4]
mov eax, dword [0x63b96c]
call fcn.0040b670
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43dfb0]
call fcn.004236fc
call fcn.00406bb0
jmp 0x44e82b
lea edx, [ebp - 8]
mov eax, dword [0x63b96c]
call fcn.0040b670
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43dfb0]
call fcn.004236fc
call fcn.00406bb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e84d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407534
ret
Function at 0x44eb74
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 0x44ebc2
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.0044e6e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44ebdb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44ebe4
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.0044e6e0
dec esi
jne 0x44ec06
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x450c40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x640fc0
cmp dword [edi], 0
jne 0x450cbc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x640fbc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x620994
mov ecx, 2
call fcn.004046e0
mov edx, 0x450c18
lea eax, [esi + 5]
call fcn.00450c38
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00450c38
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 0x450c91
mov dword [0x640fbc], 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 0x453910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x453962
test eax, edx
je 0x453965
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x453925
movzx eax, byte [eax]
sub eax, ecx
ret
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]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x45394b
add ecx, 4
js 0x45393b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x453948
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x453971
test edx, edx
jne 0x453918
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x456f2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004085cc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.00456a04
test al, al
jne 0x456f8d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x63bdb8]
mov dl, 1
mov eax, dword [0x455740]
call fcn.004237f4
call fcn.00406bb0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045696c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45f500
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x45f506
ret