joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427220
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, edx
call fcn.004088d0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.004271f0
push ebp
push 0x413e90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00427440
test al, al
je 0x4273d5
lea esi, [esi]
mov eax, dword [ebp - 8]
call fcn.00427150
mov eax, 0x5d5600
call fcn.00441d80
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4b0]
lea edx, [ebp - 0xc]
call fcn.0048e980
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.00403a40
push 0
mov edx, dword [0x5d5630]
mov ecx, str.valveconfig.cfg
lea eax, [ebp - 0x10]
call fcn.00408a00
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, ebx
call fcn.00426dd0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4b0]
lea edx, [ebp - 0x10]
call fcn.0048e980
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00403a40
push 0
mov edx, dword [0x5d5630]
mov ecx, str.cstrikeconfig.cfg
lea eax, [ebp - 0xc]
call fcn.00408a00
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, ebx
call fcn.00426dd0
push 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, str.connect
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4a0]
lea edx, [ebp - 0x20]
call fcn.0048e980
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00408c90
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4a0]
lea edx, [ebp - 0x20]
call fcn.0048e980
mov edx, dword [ebp - 0x20]
mov ecx, 1
mov al, 0x3a
call fcn.00409880
test eax, eax
jne 0x42736c
push 0
mov edx, dword [ebp - 4]
lea eax, [ebp - 4]
mov ecx, str.:27015
call fcn.00408a00
nop
push 0
mov edx, dword [ebp - 4]
lea eax, [ebp - 4]
mov ecx, str.password_aiplay
call fcn.00408a00
push 1
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x42738e
mov eax, 0x5d42f0
push eax
lea eax, [ebp - 0x10]
call fcn.00403a40
push 0
mov edx, dword [0x5d5630]
mov ecx, str.hl.exe
lea eax, [ebp - 0x10]
call fcn.00408a00
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4273b8
mov eax, 0x5d42f0
push eax
mov eax, str.open
push eax
mov eax, dword [ebp - 8]
call fcn.00483870
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebp - 8]
call fcn.0041c1f0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004271f0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427570
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.00427540
push ebp
push 0x413e90
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, str.root_
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
lea edx, [ebp - 0x1c]
call fcn.0048e980
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, 0x5852c8
mov dword [ebp - 0x10], eax
mov eax, dword [0x5d5610]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 3
call fcn.00408c90
push 1
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4275fa
mov eax, 0x5d42f0
push eax
lea eax, [ebp - 0x20]
call fcn.00403a40
push 0
lea eax, [ebp - 0x24]
call fcn.00442e40
mov edx, dword [ebp - 0x24]
mov ecx, str.putty.exe
lea eax, [ebp - 0x20]
call fcn.00408a00
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x427629
mov eax, 0x5d42f0
push eax
mov eax, str.open
push eax
mov eax, dword [ebp - 4]
call fcn.00483870
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d0]
mov dl, 1
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4d0]
mov ecx, dword [ecx]
call dword [ecx + 0xd8]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00427540
mov esp, ebp
pop ebp
ret
Function at 0x4291f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.004291e0
push ebp
push 0x413e90
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x429300
mov al, byte [ebp - 0x110]
test al, al
je 0x4292c9
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404d10
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409180
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00409f50
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x585910
call fcn.00441ee0
mov edx, 0x42925a
mov ecx, ebp
call fcn.00413d50
jmp 0x429300
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x585910
call fcn.00441ee0
mov edx, 0x4292c9
mov ecx, ebp
call fcn.00413d50
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4293c4
mov al, byte [ebp - 0x110]
test al, al
je 0x42938d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404d10
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409180
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00409f50
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x585910
call fcn.00441ee0
mov edx, 0x42931e
mov ecx, ebp
call fcn.00413d50
jmp 0x4293c4
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x585910
call fcn.00441ee0
mov edx, 0x42938d
mov ecx, ebp
call fcn.00413d50
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00428b80
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004291e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42c480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x58659c
call fcn.0040cd20
test al, al
je 0x42c566
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0042c580
xor eax, eax
push fcn.0042c470
push ebp
push 0x413e90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408900
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.0042b690
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.0042b1e0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042c470
jmp 0x42c571
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0042ea10
mov esp, ebp
pop ebp
ret
Function at 0x4389c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc10], 0
xor eax, eax
push fcn.004389b0
push ebp
push 0x413e90
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc10]
call fcn.00408900
lea eax, [ebp - 0xc10]
call fcn.00403a80
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x438a20
mov eax, 0x5d42f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x438aca
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.0040f760
xor eax, eax
push fcn.004389a0
push ebp
push 0x413e90
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0xc0c]
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x438a7c
mov eax, 0x5d42f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x438ab8
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x58b0bc
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x438ab8
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004389a0
jmp 0x438b28
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x438aec
mov eax, 0x5d42f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x438b28
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x58b0bc
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x438b28
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004389b0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x443400
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x26c]
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov bl, cl
mov edx, 0x58bfa0
lea eax, [ebp - 0x268]
call fcn.0040e510
xor eax, eax
push fcn.004433e0
push ebp
push 0x413e90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x443443
mov eax, 0x5d42f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x44348b
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x44345f
clc
jmp 0x443466
bt dword [0x58b570], eax
jb 0x44347f
mov eax, ebp
call fcn.00443530
test al, al
je 0x44347f
mov byte [ebp - 0x26c], 1
jmp 0x443510
mov byte [ebp - 0x26c], 0
jmp 0x443510
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x565b20]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x443510
and esi, 0x400
je 0x443510
lea ebx, [ebp - 0x268]
mov edx, 0x58bfa0
mov eax, ebx
call fcn.0040e5d0
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.004430a0
test eax, eax
je 0x4434e4
sub eax, 1
je 0x4434fc
jmp 0x443508
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00443400
mov byte [ebp - 0x26c], al
jmp 0x443510
mov byte [ebp - 0x26c], 1
jmp 0x443510
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004433e0
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443720
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x44372c
mov eax, 0x5d42f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esp, ebp
pop ebp
ret

Function at 0x4437d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
push fcn.004437c0
push ebp
push 0x413e90
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x443840
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040b4f0
cmp ebx, 1
jle 0x443830
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040aca0
jmp 0x44384b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00408900
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004437c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x443c50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00443c40
push ebp
push 0x413e90
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x5d59dc]
xor edx, edx
call fcn.00408900
mov dword [ebx*4 + 0x5d59fc], 0xffffffff
cmp ebx, 7
jl 0x443c78
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x443d04
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.004092f0
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0043a4c0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x443d04
push 4
push ebx
push esi
mov eax, 0x443b20
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x443bb0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00443c40
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444350
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00444320
push ebp
push 0x413e90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040ae50
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00440030
jmp 0x444428
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040ae00
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040b8d0
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040b670
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00440030
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040b4b0
test eax, eax
jne 0x444418
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x444406
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040b670
jmp 0x44442f
mov eax, esi
call fcn.004046e0
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x4443b0
push edi
call sub.kernel32.dll_FreeEnvironmentStringsW
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00444320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444460
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x5d5a40], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x5d58a0], eax
mov eax, dword [ebp - 0x90]
mov dword [0x5d58b0], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x5d58c0], eax
mov eax, dword [ebp - 0x88]
mov dword [0x5d58d0], eax
mov edx, 0x5d58e1
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00403560
lea eax, [ebp - 0x80]
call fcn.004046c0
mov byte [0x5d58e0], al
mov eax, 0x58b640
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x5d5a50], eax
test eax, eax
je 0x444500
mov eax, 0x58b64c
push eax
push dword [0x5d5a50]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5d5a40], eax
nop
cmp dword [0x5d58b0], 6
jae 0x444514
mov dword [0x5653e0], 0
nop
cmp dword [0x5d58b0], 6
jb 0x444530
cmp dword [0x5d58c0], 1
jb 0x444530
mov dword [0x5653f0], 2
mov esp, ebp
pop ebp
ret

Function at 0x454f90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x454fab
jmp 0x454fb8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x454fc0
jmp 0x454fc8
jmp 0x455076
xor eax, eax
push 0x455053
push ebp
push 0x414210
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x454ffe
jmp 0x455024
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_SizeofResource
mov ebx, eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00428b80
mov esi, esi
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x455033
jmp 0x455048
cmp dword [ebp - 8], 0
jne 0x45503b
jmp 0x455048
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x455076
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x496630
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x49664b
jmp 0x496658
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x496660
jmp 0x496668
jmp 0x49671a
xor eax, eax
push 0x4966f7
push ebp
push 0x414210
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, 0
call fcn.0040ce00
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x4966d9
jmp 0x4966ec
cmp dword [ebp - 8], 0
jne 0x4966e1
jmp 0x4966ec
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x49671a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a10a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x4a114a
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x4a1166
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x4a1166
sub dx, 0x20
je 0x4a1140
sub dx, 0x80
je 0x4a1140
sub dx, 0x1f62
jb 0x4a1166
sub dx, 1
jbe 0x4a1140
sub dx, 6
je 0x4a1140
sub dx, 0x26
jne 0x4a1166
nop
jmp 0x4a1140
cmp eax, dword [ebp - 0x20]
jg 0x4a10e8
lea esi, [esi]
jmp 0x4a1166
cmp dword [ebp - 0x1c], 2
jne 0x4a115a
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x4a1166
mov al, byte [ebp - 0xc]
call fcn.0040b150
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x4a11e4
sub ax, 0x21
je 0x4a11f8
sub ax, 0x17
je 0x4a1204
sub ax, 0x222
je 0x4a1210
sub ax, 0x392
je 0x4a1218
sub ax, 1
je 0x4a1220
sub ax, 0x1996
je 0x4a1228
sub ax, 1
je 0x4a1230
sub ax, 6
je 0x4a1238
sub ax, 0xb
je 0x4a1248
sub ax, 0x1b
je 0x4a1240
sub ax, 0x367
je 0x4a1250
jmp 0x4a1258
mov ax, word [ebp - 0x24]
call fcn.0040b1f0
mov byte [ebp - 0x10], al
jmp 0x4a1260
mov byte [ebp - 0x10], 0x20
jmp 0x4a1260
mov byte [ebp - 0x10], 0x2e
jmp 0x4a1260
mov byte [ebp - 0x10], 0x27
jmp 0x4a1260
mov byte [ebp - 0x10], 0x2c
jmp 0x4a1260
mov byte [ebp - 0x10], 0x27
jmp 0x4a1260
mov byte [ebp - 0x10], 0x20
jmp 0x4a1260
mov byte [ebp - 0x10], 0x20
jmp 0x4a1260
mov byte [ebp - 0x10], 0x20
jmp 0x4a1260
mov byte [ebp - 0x10], 0x20
jmp 0x4a1260
mov byte [ebp - 0x10], 0x2d
jmp 0x4a1260
mov byte [ebp - 0x10], 0x27
jmp 0x4a1260
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4dd550
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x4dd584
mov edi, 0xffffffff
nop
add edi, 1
mov cl, al
xor cl, byte [edx]
and ecx, 0xff
mov ebx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x5d6f90]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x4dd560
pop edi
pop esi
pop ebx
ret

Function at 0x4e5540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov edx, eax
xor eax, eax
lea ebx, [edx + 1]
movzx ecx, byte [edx]
add ecx, 1
and ecx, 0xff
add edx, ecx
jmp 0x4e5571
mov ecx, eax
shl ecx, 5
sub ecx, eax
movzx esi, byte [ebx]
xor ecx, esi
mov eax, ecx
add ebx, 1
cmp edx, ebx
ja 0x4e5560
pop esi
pop ebx
ret

Function at 0x4e6d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x4e6d74
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
lea esi, [esi]
cmp dword [ebp - 8], 0
je 0x4e6e3a
mov esi, esi
xor eax, eax
push 0x4e6e1b
push ebp
push 0x414210
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040ce00
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0xe], 0
mov edx, 1
mov eax, 0x5861f8
call fcn.0042aa20
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004e6fd0
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004e7040
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004e70b0
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4e6e10
cmp dword [ebp - 4], 0
je 0x4e6e10
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4e6e3a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret