joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5162e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x51632c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x51632c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x516316
push eax
call ebp
test ax, ax
jl 0x516324
inc esi
add edi, 4
cmp esi, 6
jb 0x516308
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00515fe0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5193a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x519400
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x519400
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x519400
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x519400
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x519410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x524e50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x524e5b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x524f5e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x61e9c8]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x61e9c8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x61e9c8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x61e9c8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x61e9c8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x61e9c8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x61e9c8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x61e9c8]
xor eax, edx
inc ecx
dec edi
jne 0x524e76
pop edi
test esi, esi
je 0x524f80
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x61e9c8]
xor eax, edx
inc ecx
dec esi
jne 0x524f62
pop esi
pop ebx
not eax
ret
Function at 0x53bb10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x77a09c]
xor edx, edx
cmp eax, edx
jne 0x53bb36
xor eax, eax
mov byte [eax + 0x779f9c], al
inc eax
cmp eax, 0x100
jl 0x53bb1e
mov dword [0x77a09c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x779f9c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x53bbc7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x53bb9a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x53bb68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x53bbd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x53bc23
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x53bc0a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5425b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59164e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00542ed0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x6201d4
call fcn.005807f7
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x542643
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005807f7
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x54263c
push 0
mov ecx, eax
call fcn.00539750
mov dword [esi + 0xc], eax
jmp 0x542645
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x542645
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x576ca0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x592690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0056bd69
mov eax, dword [0x6eb500]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0056bc9b
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00577750
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x576d47
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x576d3e
cmp al, 0xff
je 0x576d3e
dec al
mov byte [ecx], al
jmp 0x576d47
push ecx
call fcn.00580820
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x576d78
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x576d6f
cmp al, 0xff
je 0x576d6f
dec al
mov byte [ecx], al
jmp 0x576d78
push ecx
call fcn.00580820
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x582e84
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x582ebc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00580f11
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00580ee9
jmp 0x582ec8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x584576
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5845b8
call fcn.0058a515
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5845b8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5845af
xor eax, eax
jmp 0x5845c0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005845c6
pop edi
pop esi
pop ebx
ret 4

Function at 0x58aa45
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x58aa73
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x58aa91
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0058a9ab
jmp 0x58aa91
mov eax, dword [esi + 0x14]
test eax, eax
je 0x58aa91
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0058a9ab
test edi, edi
mov eax, edi
jne 0x58aa7b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401186
Capabilities:
Packed with generic packer

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [0x4705c8]
mov edx, ecx
imul edx, edx, 0x4020
mov edx, dword [edx + eax + 8]
test dl, 2
je 0x4011f5
push esi
push edi
lea esi, [ecx + 1]
xor edi, edi
cmp esi, dword [0x4705cc]
jae 0x4011f3
mov ecx, esi
imul ecx, ecx, 0x48435420
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ebx], esi
aaa
cmp dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x33202a0a
and byte ss:[esi + 0x45], al
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ebx], esi
cmp byte [edx], dh
and byte [esi + 0x4c], al
inc esi
dec esp
inc ecx
inc edi
push ebx

Function at 0x4011f8
Capabilities:
Packed with generic packer

Disassembly:
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x33202a0a
aaa
and byte [esi + 0x45], al
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ebx], esi
cmp byte [0x414c4620], dh
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x33202a0a
cmp byte [eax], ah
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ebx], esi
cmp dword [ebx], esi
and byte [esi + 0x4c], al
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x33202a0a
cmp dword [eax], esp
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [eax + esi], esi
xor byte [eax], ah
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor byte [eax], ah
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [eax + esi], esi
xor dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
Function at 0x4012a6
Capabilities:
Packed with generic packer

Disassembly:
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor dword [eax], esp
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [eax + esi], esi
and byte ss:[esi + 0x4c], al
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor ah, byte [eax]
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ecx + esi], esi
xor al, 0x31
xor byte [eax], ah
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor esp, dword [eax]
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ecx + esi], esi
xor ah, byte [eax]
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor al, 0x20
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ecx + esi], esi
cmp dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor eax, 0x54454620
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [edx + esi], esi
xor dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
and byte ss:[esi + 0x45], al
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp byte [ecx], bh
xor al, 0x32
xor eax, 0x414c4620
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
aaa
and byte [esi + 0x45], al
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [edx + esi], esi
and byte ss:[esi + 0x4c], al
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
cmp byte [eax], ah
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [edx + esi], esi
cmp dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
cmp dword [eax], esp
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
Function at 0x4012f1
Capabilities:
Packed with generic packer

Disassembly:
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor dword [eax], esp
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [eax + esi], esi
and byte ss:[esi + 0x4c], al
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor ah, byte [eax]
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ecx + esi], esi
xor al, 0x31
xor byte [eax], ah
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor esp, dword [eax]
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ecx + esi], esi
xor ah, byte [eax]
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor al, 0x20
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ecx + esi], esi
cmp dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor eax, 0x54454620
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [edx + esi], esi
xor dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
and byte ss:[esi + 0x45], al
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp byte [ecx], bh
xor al, 0x32
xor eax, 0x414c4620
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
aaa
and byte [esi + 0x45], al
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [edx + esi], esi
and byte ss:[esi + 0x4c], al
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
cmp byte [eax], ah
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [edx + esi], esi
cmp dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
cmp dword [eax], esp
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
Function at 0x40139b
Capabilities:
Packed with generic packer

Disassembly:
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor dword [eax], esp
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [eax + esi], esi
and byte ss:[esi + 0x4c], al
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor ah, byte [eax]
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ecx + esi], esi
xor al, 0x31
xor byte [eax], ah
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor esp, dword [eax]
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ecx + esi], esi
xor ah, byte [eax]
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor al, 0x20
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [ecx + esi], esi
cmp dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
xor eax, 0x54454620
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [edx + esi], esi
xor dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
and byte ss:[esi + 0x45], al
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp byte [ecx], bh
xor al, 0x32
xor eax, 0x414c4620
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
aaa
and byte [esi + 0x45], al
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [edx + esi], esi
and byte ss:[esi + 0x4c], al
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
cmp byte [eax], ah
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [edx + esi], esi
cmp dword [eax], esp
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x34202a0a
cmp dword [eax], esp
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
Function at 0x40141d
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [ebx + esi], esi
cmp byte [eax], ah
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x35202a0a
xor byte [eax], ah
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]

Function at 0x401446
Capabilities:
Packed with generic packer

Disassembly:
xor al, 0x38
cmp dword [esi + 0x4c462034], esi
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x35202a0a
or ch, byte [edx]
and byte [0x45462031], dh

Function at 0x40145c
Capabilities:
Packed with generic packer

Disassembly:
or ch, byte [edx]
and byte [0x45462031], dh
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp
and byte [ecx], dh
xor esi, dword [ecx + edi]
xor al, 0x38
cmp dword [esi + esi], esi
xor al, 0x20
inc esi
dec esp
inc ecx
inc edi
push ebx
and byte [eax], ch
pop esp
push ebx
outsb dx, byte gs:[esi]
sub dword [ecx], ebp
or eax, 0x35202a0a
xor ah, byte [eax]
inc esi
inc ebp
push esp
inc ebx
dec eax
and byte [eax], ch
push ebp
dec ecx
inc esp

Function at 0x405a34
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
inc ecx
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405ab7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405b30
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x4008
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405b19
cmp dword [ebp + 0x14], 1
je 0x405b1e
cmp dword [ebp + 0x14], 2
je 0x405b1e
xor eax, eax
mov word [esi], ax
push dword [ebp + 0x18]
xor eax, eax
mov word [esi + 0x4006], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret 0x14