joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001b77
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1000e018
call fcn.1000dd50
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10001bf4
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10001bf4
call fcn.1000127b
mov esi, eax
jmp 0x10001cfa
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10001c17
call fcn.1000127b
jmp 0x10001ced
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10001c0d
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10001c4a
mov esi, 0x8007000e
jmp 0x10001cef
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10001d28
jb 0x10001c65
cmp eax, 0xffffffff
ja 0x10001d28
cmp eax, 0x400
jbe 0x10001c7a
push eax
lea ecx, [ebp - 0x418]
call fcn.10007c3d
jmp 0x10001c9c
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10001c9c
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10001c40
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10001c0d
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.10007c3d
mov esi, eax
test edi, edi
je 0x10001cfa
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10001d13
lea ecx, [ebp - 0x418]
call fcn.10004013
lea ecx, [ebp - 0x428]
call fcn.10003e34
mov eax, esi
call fcn.1000dca1
ret 0x10
push 0x80070216
call fcn.10007c3d
int3
Function at 0x10004775
Capabilities:
Parse url

Disassembly:
push 0x4c
mov eax, 0x1000e30d
call fcn.1000dcae
mov dword [ebp - 0x1c], ecx
push 0x3c
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x58]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x58], esi
test ebx, ebx
jne 0x100047a6
mov dword [ebp - 0x10], edi
jmp 0x100047af
push ebx
lea ecx, [ebp - 0x10]
call fcn.10007c3d
push 5
mov dword [ebp - 4], edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push ebx
call edi
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10004908
push 6
push ebx
mov byte [ebp - 4], 1
call edi
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x10004908
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10004abb
mov ebx, eax
test ebx, ebx
js 0x100048ed
lea ecx, [ebp - 0x18]
call fcn.10004abb
mov ebx, eax
test ebx, ebx
js 0x100048ed
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x40], 0
je 0x100048e8
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
call ebx
cmp eax, 0x8000
ja 0x100048e8
push dword [ebp - 0x10]
call ebx
cmp eax, 6
jb 0x100048e8
lea ecx, [ebp - 0x10]
call fcn.10004abb
mov ebx, eax
test ebx, ebx
js 0x100048ed
push str.http:
lea ecx, [ebp - 0x14]
call fcn.10007c3d
test al, al
je 0x1000486d
push str.https:
lea ecx, [ebp - 0x18]
call fcn.10007c3d
test al, al
jne 0x100048e8
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x18], eax
movzx eax, word [eax]
test ax, ax
je 0x100048e8
mov ecx, eax
cmp cx, 0xd
je 0x100048e8
cmp cx, 0xa
je 0x100048e8
mov dword [ebp - 0x1c], 0x2f
lea eax, [edx + 1]
cmp word [ebp - 0x1c], cx
cmovne eax, edx
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
movzx eax, word [eax]
mov ecx, eax
test ax, ax
jne 0x1000487f
cmp edx, 3
jb 0x100048e8
push dword [ebp - 0x10]
xor eax, eax
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea ecx, [ebp - 0x58]
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x100048ed
mov ebx, 0x80070057
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push esi
call edi
push dword [ebp - 0x10]
call edi
mov eax, ebx
call fcn.1000dc7f
ret 4
push 0x8007000e
call fcn.10007c3d
int3
Function at 0x10007c3d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10007c4c
pop dword [ebp - 0x20]
mov eax, 0x10007c4c
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3be0e
push 0
mov eax, 0x8c929700
add eax, 0x836e59d4
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x4c9a8163
sub ecx, 0x4c9a2d67
mov edx, eax
mov esi, 0xf0577dba
add esi, 0x1faa4646
add esi, dword [ebp - 0x20]
mov ebx, 0x7fc0b7dc
add ebx, 0x2ab5cb2e
xor dword [ebp - 0xc], edx
mov edi, dword [esi]
sub dword [ebp - 0x10], ecx
sub edi, ebx
xor dword [ebp - 0x14], esi
mov dword [edx], edi
sub dword [ebp - 4], 0xdb34ff36
add edx, 4
add esi, 4
loop 0x10007ca6
add eax, 0x7111c50e
sub eax, 0x7110824b
mov ebx, eax
add eax, 0x8002f9b7
add eax, 0x7ffd064e
mov ecx, 0xfa58db51
sub ecx, 0xea58db51
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x73b26fc5
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..text
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x548c65cd
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2020
call fcn.00406820
mov eax, dword [0x428040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2014], 0
cmp dword [ebp + 0xc], 0
je 0x402925
cmp dword [ebp + 0x10], 0
je 0x402925
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.Software_s_s
lea edx, [ebp - 0x2004]
push edx
call fcn.00404ec0
add esp, 0x10
lea eax, [ebp - 0x2010]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x2004]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402925
mov dword [ebp - 0x2008], 0x2000
lea edx, [ebp - 0x2008]
push edx
lea eax, [ebp - 0x2004]
push eax
lea ecx, [ebp - 0x200c]
push ecx
push 0
push str.InstalledFolder
mov edx, dword [ebp - 0x2010]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x2018], eax
cmp dword [ebp - 0x2018], 0
jne 0x402918
cmp dword [ebp - 0x200c], 1
jne 0x402918
lea eax, [ebp - 0x2004]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b87b
add esp, 8
push 0x22
mov edx, dword [ebp + 8]
push edx
call fcn.00404f30
add esp, 8
mov dword [ebp - 0x201c], eax
push 0x22
mov eax, dword [ebp + 8]
push eax
call fcn.00404f50
add esp, 8
mov dword [ebp - 0x2020], eax
mov ecx, dword [ebp - 0x201c]
cmp ecx, dword [ebp + 8]
jne 0x40290e
mov edx, dword [ebp + 8]
push edx
call fcn.0040b9bf
add esp, 4
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 - 2]
cmp dword [ebp - 0x2020], edx
jne 0x40290e
push 0x2000
push 0
lea eax, [ebp - 0x2004]
push eax
call fcn.00407fe0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b9bf
add esp, 4
sub eax, 2
push eax
mov edx, dword [ebp + 8]
add edx, 2
push edx
lea eax, [ebp - 0x2004]
push eax
call fcn.0040bc97
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b9bf
add esp, 4
push eax
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00407fe0
add esp, 0xc
lea eax, [ebp - 0x2004]
push eax
call fcn.0040b9bf
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x2004]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040bc97
add esp, 0xc
mov dword [ebp - 0x2014], 1
mov eax, dword [ebp - 0x2010]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2014]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004067d3
mov esp, ebp
pop ebp
ret
Function at 0x405a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00405880
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
call fcn.0040689e
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 0x20
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov word [ebp - 4], cx
xor edx, edx
mov word [ebp - 8], dx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x14], ecx
jmp 0x405aad
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x24], 0
je 0x405b02
mov edx, dword [ebp - 0x10]
movzx ebx, byte [edx]
call fcn.00405800
movzx eax, ax
sub ebx, eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx], bl
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
movzx edx, word [ebp - 4]
add edx, ecx
mov word [ebp - 4], dx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
movzx edx, word [ebp - 8]
xor edx, ecx
mov word [ebp - 8], dx
jmp 0x405aa4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x1c]
movzx edx, word [ebp - 4]
cmp ecx, edx
jne 0x405b20
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x1e]
movzx edx, word [ebp - 8]
cmp ecx, edx
je 0x405b55
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004068a7
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x405b41
mov dword [ebp - 0x28], 0
jmp 0x405b4e
mov dword [ebp - 0xc], 0x8123
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407370
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4073af
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4073af
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4073af
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4073af
cmp dword [ecx + 0x74], 0xe
jbe 0x4073af
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x410039
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x428040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x421068
push esi
call fcn.00414218
pop ecx
pop ecx
test eax, eax
jne 0x410067
xor al, al
jmp 0x4100e4
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0040fd7a
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4100a1
push dword [ebp - 0x210]
call fcn.0041129a
xor al, al
jmp 0x4100e2
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4100a7
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x4100c7
push edx
call fcn.0040ff70
pop ecx
test al, al
je 0x410092
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4100d5
mov bl, 1
push dword [ebp - 0x210]
call fcn.0041129a
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004067d3
leave
ret

Function at 0x414719
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x421e10
push 0x421e08
push str.FlsAlloc
push 0x1f
call fcn.004145d8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41474d
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f1b8]
call esi
jmp 0x414753
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x414797
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x421e20
push 0x421e18
push str.FlsGetValue
push 0x21
call fcn.004145d8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4147ce
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f1b8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4147d6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x421e28
push 0x421e20
push str.FlsSetValue
push 0x22
call fcn.004145d8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414810
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41f1b8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4161e9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x416286
push ebx
push esi
call fcn.004161b2
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00416146
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x416233
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x416285
push edi
push eax
call fcn.00412498
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x416253
call fcn.0041245e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x416284
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00416146
add esp, 0x20
test eax, eax
jne 0x416272
push edi
call fcn.0041245e
jmp 0x41627a
push ebx
call fcn.0041245e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x416289
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x41629a
pop esi
ret
push ebx
push edi
push esi
call fcn.004161b2
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00412498
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4162c2
push ebx
push esi
push edi
call fcn.00407a60
add esp, 0xc
push 0
call fcn.0041245e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x416692
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162d7

Function at 0x419bac
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x428040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x419bef
call fcn.00412235
mov dword [eax], 0xf
call fcn.00412248
mov dword [eax], 0xd
call fcn.00412167
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004067d3
leave
ret
test eax, eax
jne 0x419bf6
inc eax
jmp 0x419be3
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x419be1
xor eax, eax
cmp ecx, 1
setne al
jmp 0x419be3
Function at 0x41e850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e87d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e87d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x40105b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x460004]
jne 0x401065
repz ret
jmp fcn.00401684

Function at 0x4048ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x460004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040382b
and dword [ebp - 0x14], 0
cmp dword [0x462a2c], 0
mov dword [ebp - 0x18], eax
jne 0x40495e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404a06
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404a06
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x462a2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x462a30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x462a34], eax
call edi
push eax
call esi
mov dword [0x462a3c], eax
test eax, eax
je 0x40495e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x462a38], eax
mov eax, dword [0x462a38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4049b7
cmp dword [0x462a3c], ecx
je 0x4049b7
push eax
call esi
push dword [0x462a3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4049b7
test ebx, ebx
je 0x4049b7
call edi
test eax, eax
je 0x4049ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4049ae
test byte [ebp - 8], 1
jne 0x4049b7
or dword [ebp + 0x10], 0x200000
jmp 0x4049ea
mov eax, dword [0x462a30]
cmp eax, dword [ebp - 0x18]
je 0x4049ea
push eax
call esi
test eax, eax
je 0x4049ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4049ea
mov eax, dword [0x462a34]
cmp eax, dword [ebp - 0x18]
je 0x4049ea
push eax
call esi
test eax, eax
je 0x4049ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x462a2c]
call esi
test eax, eax
je 0x404a06
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404a08
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040105b
leave
ret
Function at 0x8af058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8af1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8af07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8af06a
add dl, dl
jne 0x8af089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8af0dc
xor eax, eax
add dl, dl
jne 0x8af096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8af17d
add dl, dl
jne 0x8af0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8af0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8af0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8af0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8af0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8af075
mov eax, 1
add dl, dl
jne 0x8af0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8af0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8af0e1
sub eax, ebx
mov ebx, 1
jne 0x8af128
mov ecx, 1
add dl, dl
jne 0x8af10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8af119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8af105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8af075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8af13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8af14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8af136
cmp eax, 0x7d00
jae 0x8af16d
cmp eax, 0x500
jb 0x8af168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8af075
cmp eax, 0x7f
ja 0x8af170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8af075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8af19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8af075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.004014e0
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret