joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2ac90d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..snx
lea edi, [esi - 0x268d000]
push edi
or ebp, 0xffffffff
jmp 0x2ac90f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x2ac90f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2ac90e8
mov eax, 1
add ebx, ebx
jne 0x2ac910b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x2ac911c
jne 0x2ac913b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2ac913b
dec eax
add ebx, ebx
jne 0x2ac9128
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x2ac9100
add ebx, ebx
jne 0x2ac9137
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x2ac918d
xor ecx, ecx
sub eax, 3
jb 0x2ac9153
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x2ac91c2
sar eax, 1
mov ebp, eax
jmp 0x2ac915e
add ebx, ebx
jne 0x2ac915e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2ac912c
inc ecx
add ebx, ebx
jne 0x2ac916c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x2ac912c
add ebx, ebx
jne 0x2ac9179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x2ac916e
jne 0x2ac918a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x2ac916e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x2ac91ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x2ac919e
jmp 0x2ac90ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x2ac91ac
add edi, ecx
jmp 0x2ac90ee
pop esi
mov edi, esi
mov ecx, 0x40d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x2ac91ca
cmp byte [edi], 5
jne 0x2ac91ca
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 0x2ac91cf
lea edi, [esi + 0x26c7000]
mov eax, dword [edi]
or eax, eax
je 0x2ac923e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26c9cd8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26c9d4c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x2ac91fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26c9d54]
or eax, eax
je 0x2ac9238
mov dword [ebx], eax
add ebx, 4
jmp 0x2ac9219
call dword [esi + 0x26c9d50]
mov ebp, dword [esi + 0x26c9d58]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x2ac9272
sub esp, 0xffffff80
jmp 0x404487
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040d73f
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040d73f
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040d73f
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040d73f
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040d73f
mov dword [0x41203c], eax
call fcn.0040d73f
test eax, eax
jge 0x402550
push 8
call fcn.0040d73f
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040d73f
pop ecx
push 1
call fcn.0040d73f
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040d73f
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040d73f
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040d73f
jmp 0x402495

Function at 0x40d73f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40d74e
pop dword [ebp - 0xc]
mov eax, 0xcb767b84
add eax, 0x34ca5bca
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x36e03
push 0
mov eax, 0x8fa20958
sub eax, 0x8f612880
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x3eab
xor edi, edi
add edi, eax
mov esi, 0x47677f2b
add esi, 0xb8d9bc99
add esi, dword [ebp - 0xc]
mov ebx, 0x78472300
add ebx, 0xabf28c89
xor dword [ebp - 4], 0x88bc251
mov edx, dword [esi]
sub dword [ebp - 8], edx
add edx, ebx
add dword [ebp - 4], 0xb4ee7ace
mov dword [edi], edx
sub dword [ebp - 4], ecx
add edi, 0x36a283e1
sub edi, 0x36a283dd
add esi, 0x7c41fdb8
add esi, 0x83be024c
loop 0x40d7a9
add eax, 0xc142213d
sub eax, 0xc14133be
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x23494bed
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1077113e
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x2efa4da3
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3603fd3
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x5b893088
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x4249035d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x463550
Capabilities:
Delete file
Get common file path
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464eeb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x51481c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x230]
push ecx
push edx
push eax
mov byte [ebp - 4], 1
call fcn.00430e90
add esp, 0xc
cmp eax, edi
je 0x4636f8
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x22c]
je 0x4636f8
lea ecx, [ebp - 0x230]
push 0x4019d8
push ecx
call fcn.00431e20
add esp, 8
push 0x4019c8
push 0x4019b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4636f8
push esi
call eax
cmp eax, edi
je 0x46367d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x46367d
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push edi
push eax
mov word [ebp - 0x21c], dx
call fcn.00454bd0
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4636f8
lea edx, [ebp - 0x21c]
push edx
push edi
push edi
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4636f8
push 1
lea ecx, [ebp - 0x21c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4636f8
push 0x4019a8
lea edx, [ebp - 0x220]
push esi
push edx
mov dword [ebp - 0x220], edi
call fcn.004567f8
add esp, 0xc
test eax, eax
jne 0x4636f8
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x4636f8
mov ecx, dword [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x230]
sub ecx, eax
push ecx
push 1
push eax
call fcn.004566c0
mov edx, dword [ebp - 0x220]
push edx
call fcn.0045650d
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x22c]
sub esi, dword [ebp - 0x230]
push eax
call fcn.0045631e
mov ecx, dword [ebp - 0x220]
xor ebx, ebx
cmp esi, eax
push ecx
sete bl
call fcn.00456116
add esp, 0x1c
mov eax, dword [ebp - 0x230]
cmp eax, edi
je 0x463723
push eax
call fcn.00454a31
add esp, 4
jmp 0x463723
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004546bb
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x401220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
inc edx
rol esi, 0xc5
add eax, 0x80
sub edi, 0x2e
neg edx
bswap edi
or ebx, 0xc3
inc ebx
add edx, 0x3c
dec edi
bswap ebx
rcl edi, 0x48
neg eax
mov eax, 0xd1
rcr eax, 0x37
sbb edx, 0x68
sub eax, 0xe
inc eax
mov edi, 0x47
rol edx, 0x22
bswap esi
dec edx
or ebx, 0x67
sub ebx, 0x4a
bswap eax
inc ebx
not edx
sub esi, 0xcd
imul edx
bswap edx
ror eax, 0x8b
add esi, 0x70
or ebx, 0x9f
or esi, 0xa
sbb eax, 0x8c
imul edx
inc edi
imul ebx
ror edi, 0x48
neg eax
rcl eax, 0x1f
rcr eax, 0x63
dec edx
sub eax, 6
mov esi, 0
rol esi, 0xc
add eax, 0xc2
bswap edi
imul edi
neg esi
xor ecx, ecx
xor edi, edi
add esi, 0xb9
dec edx
inc ebx
inc eax
bswap edi
not ebx
rcr esi, 0x43
dec edi
rol edx, 0x3e
bswap ebx
sbb esi, 0xd6
ror ebx, 0x14
or edx, 0x6a
bswap edi
rcr esi, 0x9d
mov edx, 0xdb
and eax, 0xe2
mov ebx, 0x6f
mov ebx, 1
imul ebx
sub eax, 0x92
imul esi
rcl edi, 0x59
mov eax, 0x13
imul esi
dec esi
dec edi
not ebx
or edx, 0x65
rcr ebx, 7
inc ebx
bswap ebx
and eax, 0xb2
sbb ebx, 0x52
ror edx, 0xe4
bswap edi
dec edi
rol ebx, 0xf5
sbb edx, 0x71
dec eax
mov ebx, 0xd0
bswap ebx
mov esi, 0x1e
not esi
sbb esi, 0x8a
dec esi
ror edx, 0xf0
inc esi
inc eax
imul edx
mov ecx, dword [ebp + 0xc]
bswap edi
not esi
inc ebx
bswap edi
bswap edi
and esi, 0x86
add esi, 0x70
rcl edx, 3
rcr edi, 0x7a
dec edx
inc esi
bswap ebx
imul edx
not edx
not edi
neg ebx
and edi, 0xfd
rol eax, 0xb6
rol edx, 0xb1
neg edi
neg eax
not esi
rcl eax, 0x65
bswap edi
imul esi
not eax
bswap edx
dec eax
sub edx, 0x75
sbb edx, 0xae
bswap ebx
and edx, 0x64
sub edi, 0x2e
bswap edi
imul edx
inc esi
bswap eax
not edi
rcl edi, 0x2e
neg esi
neg esi
mov edx, 0xaf
and edi, 0x54
rol ebx, 0x23
or edx, 0xa8
rol edi, 2
sbb eax, 0x5f
and eax, 0x3b
not eax
inc ebx
mov edi, dword [ebp + 8]
mov ebx, eax
xor eax, esi
mov ebx, esi
not byte [edi]
xor ebx, eax
xor eax, eax
mov esi, ebx
xor ebx, ebx
mov ebx, esi
mov eax, eax
xor esi, esi
xor eax, ebx
mov esi, eax
add byte [edi], 0x87
mov eax, eax
xor eax, ebx
mov esi, esi
xor eax, esi
mov eax, eax
xor eax, ebx
xor esi, ebx
xor esi, ebx
xor ebx, eax
sub byte [edi], 0x54
xor esi, ebx
mov esi, ebx
mov eax, ebx
xor esi, eax
mov ebx, eax
mov eax, esi
xor esi, esi
mov eax, ebx
xor ebx, esi
imul byte [edi]
inc edi
loop 0x4013ce
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404f75
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x467000]
jne 0x404f7f
repz ret
jmp fcn.00407310
Function at 0x4055e5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404395
and dword [ebp - 4], 0
cmp dword [0x468190], 0
mov ebx, eax
jne 0x405696
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405747
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405747
push eax
call fcn.00404323
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x468190], eax
call esi
push eax
call fcn.00404323
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x468194], eax
call esi
push eax
call fcn.00404323
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x468198], eax
call esi
push eax
call fcn.00404323
pop ecx
mov dword [0x4681a0], eax
test eax, eax
je 0x405696
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404323
pop ecx
mov dword [0x46819c], eax
mov eax, dword [0x46819c]
cmp eax, ebx
je 0x4056ee
cmp dword [0x4681a0], ebx
je 0x4056ee
push eax
call fcn.0040439e
push dword [0x4681a0]
mov esi, eax
call fcn.0040439e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4056ee
test edi, edi
je 0x4056ee
call esi
test eax, eax
je 0x4056e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4056e5
test byte [ebp - 0xc], 1
jne 0x4056ee
or dword [ebp + 0x10], 0x200000
jmp 0x405727
mov eax, dword [0x468194]
cmp eax, ebx
je 0x405727
push eax
call fcn.0040439e
pop ecx
test eax, eax
je 0x405727
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405727
mov eax, dword [0x468198]
cmp eax, ebx
je 0x405727
push eax
call fcn.0040439e
pop ecx
test eax, eax
je 0x405727
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x468190]
call fcn.0040439e
pop ecx
test eax, eax
je 0x405747
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405749
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ef62
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409cc4
and dword [ebp - 4], 0
cmp dword [0x418b2c], 0
mov ebx, eax
jne 0x40f013
push 0x413b90
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f0c4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x413b84
push edi
call esi
test eax, eax
je 0x40f0c4
push eax
call fcn.00409c52
mov dword [esp], 0x413b74
push edi
mov dword [0x418b2c], eax
call esi
push eax
call fcn.00409c52
mov dword [esp], 0x413b60
push edi
mov dword [0x418b30], eax
call esi
push eax
call fcn.00409c52
mov dword [esp], 0x413b44
push edi
mov dword [0x418b34], eax
call esi
push eax
call fcn.00409c52
pop ecx
mov dword [0x418b3c], eax
test eax, eax
je 0x40f013
push 0x413b2c
push edi
call esi
push eax
call fcn.00409c52
pop ecx
mov dword [0x418b38], eax
mov eax, dword [0x418b38]
cmp eax, ebx
je 0x40f06b
cmp dword [0x418b3c], ebx
je 0x40f06b
push eax
call fcn.00409ccd
push dword [0x418b3c]
mov esi, eax
call fcn.00409ccd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f06b
test edi, edi
je 0x40f06b
call esi
test eax, eax
je 0x40f062
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f062
test byte [ebp - 0xc], 1
jne 0x40f06b
or dword [ebp + 0x10], 0x200000
jmp 0x40f0a4
mov eax, dword [0x418b30]
cmp eax, ebx
je 0x40f0a4
push eax
call fcn.00409ccd
pop ecx
test eax, eax
je 0x40f0a4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f0a4
mov eax, dword [0x418b34]
cmp eax, ebx
je 0x40f0a4
push eax
call fcn.00409ccd
pop ecx
test eax, eax
je 0x40f0a4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x418b2c]
call fcn.00409ccd
pop ecx
test eax, eax
je 0x40f0c4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f0c6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x882370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x88238e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x8ab074
push ecx
mov edi, eax
call fcn.00896198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8823cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0089602e
push esi
call fcn.00895fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x885850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x8858ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x8b0720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8858ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.008961e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x8858ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x8b0720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x88592a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00897082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x885957
mov word [eax], si
add eax, 2
push eax
call fcn.00897030
add esp, 4
jmp 0x885959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x8858ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x8858b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x885ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret