joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a5a2
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x422d58
call fcn.00419dcc
mov edi, 0x94
mov eax, edi
call fcn.00419830
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x45aa78], ecx
mov eax, dword [esi + 4]
mov dword [0x45aa84], eax
mov edx, dword [esi + 8]
mov dword [0x45aa88], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x45aa7c], esi
cmp ecx, 2
je 0x41a602
or esi, 0x8000
mov dword [0x45aa7c], esi
shl eax, 8
add eax, edx
mov dword [0x45aa80], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x41a63d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41a63d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x41a655
cmp eax, 0x20b
je 0x41a642
mov dword [ebp - 0x1c], esi
jmp 0x41a669
cmp dword [ecx + 0x84], 0xe
jbe 0x41a63d
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x41a663
cmp dword [ecx + 0x74], 0xe
jbe 0x41a63d
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0041d4eb
pop ecx
test eax, eax
jne 0x41a695
cmp dword [0x45aa58], 1
jne 0x41a682
call fcn.0041cca0
push 0x1c
call fcn.0041cb29
push 0xff
call fcn.0041b76b
pop ecx
pop ecx
call fcn.0041d449
mov dword [ebp - 4], esi
call fcn.0041d29e
test eax, eax
jge 0x41a6ae
push 0x1b
call fcn.0041a57d
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x45c050], eax
call fcn.0041d17c
mov dword [0x45aa50], eax
call fcn.0041d0da
test eax, eax
jge 0x41a6d4
push 8
call fcn.0041a57d
pop ecx
call fcn.0041cea7
test eax, eax
jge 0x41a6e5
push 9
call fcn.0041a57d
pop ecx
push 1
call fcn.0041b79b
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x41a6fb
push eax
call fcn.0041a57d
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0041ce4a
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x41a71c
movzx eax, word [ebp - 0x40]
jmp 0x41a71f
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040c6ba
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x41a73d
push edi
call fcn.0041b8c6
call fcn.0041b8e8
jmp 0x41a76f
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00419e07
ret
Function at 0x41bc56
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x41bc84
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x41bc8b
cmp ebx, dword [eax + 4]
jae 0x41bc8b
xor eax, eax
jmp 0x41be7b
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x41bc9c
xor eax, eax
inc eax
jmp 0x41be7a
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x41bcb2
cmp ecx, edx
jae 0x41bdf7
cmp dword [eax + 4], 0
je 0x41bcbb
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x41bca3
cmp dword [ebp + 8], 0
je 0x41bcdd
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x41bdf7
cmp eax, esi
jae 0x41bdf7
mov eax, dword [0x45aac0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x41bd02
cmp dword [esi*4 + 0x45aac8], edi
je 0x41bdfb
inc esi
cmp esi, eax
jl 0x41bcf0
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41be77
cmp dword [ebp - 8], 0x1000000
jne 0x41be77
test byte [ebp - 0xc], 0xcc
je 0x41bd80
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x41be77
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41be77
cmp word [eax + 0x18], 0x10b
jne 0x41be77
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x41be77
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x41bd80
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x41bd80
test byte [ecx + 0x27], 0x80
jne 0x41bdf7
push 1
push 0x45ab08
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x41bc94
mov ecx, dword [0x45aac0]
test ecx, ecx
mov edx, ecx
jle 0x41bdb4
lea eax, [ecx*4 + 0x45aac4]
cmp dword [eax], edi
je 0x41bdb4
dec edx
sub eax, 4
test edx, edx
jg 0x41bda8
test edx, edx
jne 0x41bde5
push 0xf
pop ebx
cmp ecx, ebx
jg 0x41bdc1
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x41bdd9
lea eax, [edx*4 + 0x45aac8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x41bdc7
cmp ecx, 0x10
jge 0x41bde5
inc ecx
mov dword [0x45aac0], ecx
push 0
push 0x45ab08
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x41bc94
xor eax, eax
jmp 0x41be7a
test esi, esi
jle 0x41bc94
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x45ab08
call ebx
test eax, eax
jne 0x41bc94
cmp dword [esi*4 + 0x45aac8], edi
je 0x41be51
mov eax, dword [0x45aac0]
lea esi, [eax - 1]
test esi, esi
jl 0x41be3f
cmp dword [esi*4 + 0x45aac8], edi
je 0x41be3b
dec esi
jns 0x41be2f
test esi, esi
jge 0x41be4f
cmp eax, 0x10
jge 0x41be4a
inc eax
mov dword [0x45aac0], eax
lea esi, [eax - 1]
jmp 0x41be51
je 0x41be69
xor ecx, ecx
test esi, esi
jl 0x41be69
lea eax, [ecx*4 + 0x45aac8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x41be57
push 0
push 0x45ab08
call ebx
jmp 0x41bc94
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405cb5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c56c], 0
push esi
jne 0x405cec
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405cc6
mov dword [ecx*4 + 0x42c568], eax
inc ecx
cmp ecx, 0x100
jl 0x405cc1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d1d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c568]
xor eax, esi
inc ecx
dec edx
jne 0x405cff
pop edi
not eax
pop esi
ret 0xc

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
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x76596f3e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2d6863c8
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x438400
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [section..data]
push eax
call fcn.1001b200
add esp, 4
mov ecx, 0x100c88e4
call fcn.1001e310
cmp eax, 1
jne 0x10001168
mov eax, 1
jmp 0x1000119e
push 0x100a71c0
mov ecx, 0x100c88e4
call fcn.1001ddc0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10001187
push 1
call fcn.1008aaa4
mov ecx, dword [ebp + 0x14]
push ecx
push str.DllRegisterServer
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x10002c50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a60d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
push str.ababc1ab
lea ecx, [ebp - 0x48]
call fcn.100018a0
mov dword [ebp - 4], 0
push 0x100a729c
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.100012b0
add esp, 0xc
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x10002ce1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001d80
jmp 0x10002d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x4550
je 0x10002d15
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001d80
jmp 0x10002d7d
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x10002d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001d80
jmp 0x10002d7d
lea ecx, [ebp - 0x30]
call fcn.100030f0
lea ecx, [ebp - 0x30]
call fcn.10002660
push eax
call fcn.10001340
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001d80
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6155
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push 0x100a72d8
lea ecx, [ebp - 0x24]
call fcn.100018a0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x20
je 0x1001b26d
push 0x100a72dc
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.100012b0
add esp, 0xc
mov byte [ebp - 4], 1
push 1
call fcn.1008aaa4
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x24]
call fcn.10001fb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10001d80
lea ecx, [ebp - 0x24]
call fcn.100030f0
lea ecx, [ebp - 0x24]
call fcn.10002660
push eax
call fcn.10001340
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10001d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001e7b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a63ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x40]
call fcn.10001b00
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.10001d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10001eb0
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.10001ed0
mov eax, dword [ebp - 0x10]
push eax
call fcn.1008ace2
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x40]
call fcn.100029f0
push eax
lea ecx, [ebp - 0x40]
call fcn.10002660
push eax
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.1007ecc0
add esp, 0x10
test eax, eax
je 0x1001e858
push str.uncompress_failed
call fcn.10002b80
add esp, 4
push 1
call fcn.1008aaa4
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
je 0x1001e874
push str.if__origSize___out_len_
call fcn.10002b80
add esp, 4
push 1
call fcn.1008aaa4
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x6c]
call fcn.100034c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1008acc7
add esp, 4
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1001c170
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.1001c420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10001dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10001d80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1009894c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100988ce

Function at 0x1009a03f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10099eb5
Function at 0x43bf70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
jmp 0x43bf8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43bf91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43bf80
mov eax, 1
add ebx, ebx
jne 0x43bfa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43bf98
jne 0x43bfb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43bf98
xor ecx, ecx
sub eax, 3
jb 0x43bfc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43c03a
mov ebp, eax
add ebx, ebx
jne 0x43bfd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43bfe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43c004
inc ecx
add ebx, ebx
jne 0x43bff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43bfe5
jne 0x43c001
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43bfe5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43c024
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43c015
jmp 0x43bf86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43c024
add edi, ecx
jmp 0x43bf86
pop esi
mov edi, esi
mov ecx, 0x5a7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43c042
cmp byte [edi], 5
jne 0x43c042
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 0x43c047
lea edi, [esi + 0x39000]
mov eax, dword [edi]
or eax, eax
je 0x43c0b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3c1b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3c208]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43c074
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3c20c]
or eax, eax
je 0x43c0b0
mov dword [ebx], eax
add ebx, 4
jmp 0x43c091
call dword [esi + 0x3c21c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x43c0e7
cmp al, 0xef
ja 0x43c0da
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x43c0bc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x43c0c9
mov ebp, dword [esi + 0x3c210]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x43c11b
sub esp, 0xffffff80
jmp 0x4057f1
Function at 0x4e4350
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc8000]
push edi
or ebp, 0xffffffff
jmp 0x4e4372
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e4379
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e4368
mov eax, 1
add ebx, ebx
jne 0x4e438b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e439c
jne 0x4e43ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e43ac
dec eax
add ebx, ebx
jne 0x4e43a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e4380
xor ecx, ecx
sub eax, 3
jb 0x4e43c4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e4436
sar eax, 1
mov ebp, eax
jmp 0x4e43cf
add ebx, ebx
jne 0x4e43cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4e43dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4e4400
inc ecx
add ebx, ebx
jne 0x4e43ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e43e1
jne 0x4e43fd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e43e1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e4420
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e4411
jmp 0x4e436e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e4420
add edi, ecx
jmp 0x4e436e
pop esi
mov edi, esi
mov ecx, 0x141
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e443e
cmp byte [edi], 5
jne 0x4e443e
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 eax, ebx
loop 0x4e4443
lea edi, [esi + 0xe2000]
mov eax, dword [edi]
or eax, eax
je 0x4e44b2
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe4f10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe4f9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e4470
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe4fa0]
or eax, eax
je 0x4e44ac
mov dword [ebx], eax
add ebx, 4
jmp 0x4e448d
call dword [esi + 0xe4fa4]
popal
jmp 0x4070c1
Function at 0x10004265
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10004284
xor eax, eax
jmp 0x100042ff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000429a
xor eax, eax
jmp 0x100042ff
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x100042e2
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x100042e2
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x100042bb
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x100042ee
xor eax, eax
jmp 0x100042ff
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x100042fc
xor eax, eax
jmp 0x100042ff
mov eax, dword [ebp - 4]
leave
ret

Function at 0x10009a7b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x10009a84
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
shl eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10009ac1
mov eax, dword [ebp - 0xc]
jmp 0x10009b17
cmp dword [ebp - 4], 1
je 0x10009ad2
cmp dword [ebp - 4], 2
je 0x10009ad2
push 0xd
pop eax
jmp 0x10009b17
cmp dword [ebp + 0xc], 0
je 0x10009b0b
cmp dword [ebp - 8], 0
je 0x10009b04
mov eax, dword [ebp - 8]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x10009afd
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + eax*2 - 2]
test eax, eax
je 0x10009b02
push 0xd
pop eax
jmp 0x10009b17
jmp 0x10009b0b
mov eax, dword [ebp + 0xc]
and word [eax], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
leave
ret 0xc
Function at 0x10009b42
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.1001f937
push 0x2001f
push dword [ebp + 8]
mov eax, dword [ebp - 0x228]
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.100098a5
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009ba0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.10009917
mov eax, dword [ebp - 0x21c]
jmp 0x10009c2f
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10009c05
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.10009b42
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009bfc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.10009917
mov eax, dword [ebp - 0x220]
jmp 0x10009c2f
mov dword [ebp - 4], 0x100
jmp 0x10009ba7
lea ecx, [ebp - 0x10]
call fcn.100098ea
push dword [ebp + 8]
mov ecx, dword [ebp - 0x228]
call fcn.100099e1
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.10009917
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006e261
leave
ret 4
Function at 0x1000f5c7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
and dword [eax], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0x10], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10070f00
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x100cab68
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x1000f67e
jmp 0x1000f6f2
mov eax, dword [ebp - 0x218]
mov dword [eax], 1
push str.OpenThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
push str.CloseThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 8], eax
push str.DrawThemeBackground
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xc], eax
push str.SetWindowTheme
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e261
leave
ret

Function at 0x100135cd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.100209f5
test eax, eax
je 0x10013632
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x10013628
cmp dword [ebp + 8], 0x1b
jne 0x1001360e
push 0
push 2
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020acd
jmp 0x10013628
cmp dword [ebp + 8], 0xd
jne 0x10013628
push 0
push 1
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020acd
push 0
mov ecx, dword [ebp - 4]
call fcn.100136dc
leave
ret 0xc