joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e661
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 0x45e6fe
push ebx
push esi
call fcn.0045e62a
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.0045ab68
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x45e6ab
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45e6fd
push edi
push eax
call fcn.00458f7c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x45e6cb
call fcn.00457002
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45e6fc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0045ab68
add esp, 0x20
test eax, eax
jne 0x45e6ea
push edi
call fcn.00457002
jmp 0x45e6f2
push ebx
call fcn.00457002
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 0x465605
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]
push dword [ebp + 0xc]
push ebx
call fcn.00465581
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x46577d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x46577d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x46572c
jg 0x46565e
test eax, eax
je 0x465722
push 1
push 0x1000
call fcn.00457caf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x465684
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x465719
push 0x8000
push ebx
call fcn.004555c7
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4656b0
jg 0x4656ab
cmp ecx, 0x1000
jb 0x4656b0
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004587d5
add esp, 0x10
cmp eax, 0xffffffff
je 0x4656f5
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 0x4656ab
jl 0x4656dc
test ecx, ecx
jne 0x46569d
push dword [ebp - 0xc]
push ebx
call fcn.004555c7
push esi
call fcn.00457002
add esp, 0xc
xor edi, edi
jmp 0x46578e
cmp byte [edi + 0x24], 0
je 0x46570c
cmp dword [edi + 0x20], 5
jne 0x46570c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x465717
mov edi, dword [edi + 0x18]
jmp 0x465719
xor edi, edi
push esi
call fcn.00457002
pop ecx
jmp 0x46578e
test ecx, ecx
jg 0x4656ee
jl 0x46572c
test eax, eax
jae 0x4656ee
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0045ba84
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x46574f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4656ee
jmp 0x465786
push ebx
call fcn.0045f0d0
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4656ee
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x46578e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x46578b
mov edi, dword [edi + 0x18]
jmp 0x46578e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0045ba84
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x466a00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x466a2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x466a2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401068
Capabilities:
Parse pe header

Disassembly:
push 0x401060
pushfd
pushal
call 0x401074
pop ebp
sub ebp, 0x40200c
mov eax, 0x400000
mov ebx, dword [eax + 0x3c]
add ebx, eax
mov ebx, dword [ebx + 0x80]
add ebx, eax
mov esi, dword [ebx + 0xc]
or esi, esi
je 0x4010f7
add esi, eax
lea edi, [ebp + 0x405da9]
mov ecx, 8
cld
repe cmpsb byte [esi], byte es:[edi]
je 0x4010ab
add ebx, 0x14
jmp 0x40108d
xor edx, edx
push dword [ebx + 0x10]
mov ebx, dword [ebx]
or ebx, ebx
je 0x4010f6
add ebx, eax
mov esi, dword [ebx]
or esi, esi
je 0x4010f6
test esi, 0x80000000
jne 0x4010da
add esi, eax
inc esi
inc esi
lea edi, [ebp + 0x405db2]
mov ecx, 0x11
cld
repe cmpsb byte [esi], byte es:[edi]
je 0x4010e1
inc edx
inc ebx
inc ebx
inc ebx
inc ebx
jmp 0x4010b8
pop ebx
add ebx, eax
mov ebx, dword [ebx + edx*4]
lea edx, [ebp + 0x405da9]
push edx
call ebx
or eax, eax
jne 0x401114
jmp 0x4010f7
pop ebx
mov ebx, dword [esp + 0x28]
cmp dword [ebx], 0x4550
jne 0x401111
mov eax, dword [ebx + 0x34]
or al, al
jne 0x401111
cmp word [eax], 0x5a4d
je 0x401114
dec ebx
jmp 0x4010fb
mov dword [ebp + 0x405da5], eax
lea esi, [ebp + 0x405dc3]
lea edi, [ebp + 0x405f03]
mov ecx, 0x15
call fcn.00401cbb
lea eax, [ebp + 0x405f57]
push eax
call dword [ebp + fcn.00405f17]
lea esi, [ebp + 0x405f64]
lea edi, [ebp + 0x405fae]
mov ecx, 5
call fcn.00401cbb
call fcn.004011b0
call fcn.004013ab
popal
popfd
ret

Function at 0x40129f
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ecx
push esi
push ebx
push edi
mov eax, dword [ebp + 0x405da5]
call fcn.00401cd6
mov ecx, dword [edx + eax]
add ecx, eax
pop edi
pop ebx
mov dword [edi + ebp + 0x402001], ecx
movzx ecx, word [ebx + 6]
movzx eax, word [ebx + 0x14]
lea ebx, [eax + ebx + 0x18]
mov esi, dword [ebx + 0xc]
cmp esi, edx
ja 0x4012d7
add esi, dword [ebx + 8]
cmp esi, edx
ja 0x4012de
add ebx, 0x28
loop 0x4012c9
jmp 0x4012f4
sub edx, dword [ebx + 0xc]
add edx, dword [ebx + 0x14]
add edx, dword [ebp + 0x405d99]
mov eax, edi
add eax, dword [ebp + 0x405d9d]
mov dword [edx], eax
add edi, 7
pop esi
pop ecx
pop ebx
ret

Function at 0x401bee
Capabilities:
Enumerate pe sections

Disassembly:
movzx ecx, word [ebx + 6]
dec ecx
push ebx
movzx edx, word [ebx + 0x14]
add ebx, edx
add ebx, 0x18
xor edx, edx
mov eax, 0x28
mul ecx
add ebx, eax
pop eax
or dword [ebx + 0x24], 0xe0000020
mov ecx, dword [ebx + 8]
or ecx, ecx
jne 0x401c1a
mov ecx, dword [ebx + 0x10]
mov edx, ecx
add edx, dword [ebx + 0x14]
add edx, dword [ebp + 0x405d99]
mov dword [ebp + 0x405da1], edx
mov edx, ecx
add edx, dword [ebx + 0xc]
mov dword [ebp + 0x405d9d], edx
add ecx, 0x3fe2
push ecx
mov dword [ebx + 8], ecx
mov edx, dword [eax + 0x3c]
call fcn.00401d17
mov dword [ebx + 0x10], ecx
add ecx, dword [ebx + 0x14]
mov dword [ebp + 0x405d8d], ecx
pop ecx
add ecx, dword [ebx + 0xc]
mov edx, dword [eax + 0x38]
call fcn.00401d17
mov dword [eax + 0x50], ecx
ret
Function at 0x401cd6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ebx, eax
add ebx, dword [eax + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, eax
xor ecx, ecx
mov edx, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
add edi, eax
pushal
mov edi, dword [edi + ecx*4]
add edi, eax
lodsb al, byte [esi]
cmp byte [edi], al
jne 0x401cfc
inc edi
or al, al
jne 0x401cf0
jmp 0x401d05
popal
inc ecx
cmp ecx, edx
jl 0x401cea
popal
stc
ret
popal
mov edx, dword [ebx + 0x24]
add edx, eax
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebx + 0x1c]
lea edx, [edx + ecx*4]
clc
ret
Function at 0x4dfdb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xda000]
push edi
jmp 0x4dfdca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4dfdd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dfdc0
mov eax, 1
add ebx, ebx
jne 0x4dfde3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4dfdd8
jne 0x4dfdf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dfdd8
xor ecx, ecx
sub eax, 3
jb 0x4dfe08
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4dfe7a
mov ebp, eax
add ebx, ebx
jne 0x4dfe13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4dfe20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4dfe44
inc ecx
add ebx, ebx
jne 0x4dfe30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4dfe25
jne 0x4dfe41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dfe25
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dfe64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dfe55
jmp 0x4dfdc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dfe64
add edi, ecx
jmp 0x4dfdc6
pop esi
mov edi, esi
mov ecx, 0x277
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dfe82
cmp byte [edi], 1
jne 0x4dfe82
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 0x4dfe87
lea edi, [esi + 0xdd000]
mov eax, dword [edi]
or eax, eax
je 0x4dfeff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13a534]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13a5ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dfeb4
mov ecx, edi
jns 0x4dfee3
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 + 0x13a5f4]
or eax, eax
je 0x4dfef9
mov dword [ebx], eax
add ebx, 4
jmp 0x4dfed1
call dword [esi + 0x13a5f0]
mov ebp, dword [esi + 0x13a5f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4dff33
sub esp, 0xffffff80
jmp 0x40350d
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x403e59
pop dword [ebp - 0x4c]
mov eax, 0x403e59
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x372ab744
sub dword [ebp - 0x5c], 0xe8d871f9
mov dword [ebp - 0x58], 0xa7178506
sub dword [ebp - 0x58], 0x74e438c1
mov dword [ebp - 0x54], 0xf9c0af15
sub dword [ebp - 0x54], 0xad746ae7
mov dword [ebp - 0x50], 0x7bf50a8c
sub dword [ebp - 0x50], 0x7bf50a8c
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x67f3da7f
sub eax, 0x67b359f3
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x654b2808
add dword [ebp - 0x5c], 0xf27414e
mov dword [ebp - 0x58], 0x47e50cc7
sub dword [ebp - 0x58], 0x678ab52
mov dword [ebp - 0x54], 0xd11e1bb9
add dword [ebp - 0x54], 0x925150b3
mov dword [ebp - 0x50], 0x9713a3c5
sub dword [ebp - 0x50], 0x9713a3c5
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x389fd
push 0
call eax
mov ecx, 0x370c8631
add ecx, 0xc8f3c951
mov edi, eax
mov ebx, 0x411000
add ebx, dword [ebp - 0x4c]
mov esi, 0xa6bb0599
sub esi, 0xb5750e6b
add dword [ebp - 0x28], 0xb62d72ea
mov edx, dword [ebx]
sub dword [ebp - 0x34], 0xd8771bce
add edx, esi
mov dword [edi], edx
xor dword [ebp - 0x34], 0x81e9b7d1
add edi, 0x6f74fa32
add edi, 0x908b05d2
add ebx, 4
loop 0x403f6b
add eax, 0x130db
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x3724607a
add ecx, 0xc91b9f86
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1006ffd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push esi
push edi
call fcn.1006e8e4
mov edi, dword [esp + 0x38]
push eax
push edi
call sub.glib_lite.dll_Ordinal_413
mov esi, eax
pop ecx
pop ecx
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1006fffb
xor eax, eax
jmp 0x10070184
cmp eax, dword [esi + 0x1f0]
je 0x1006fff4
push ebx
push ebp
lea ebx, [esi + 0xc]
push ebx
call sub.glib_lite.dll_Ordinal_213
pop ecx
jmp 0x10070014
lea ebx, [esi + 0xc]
push dword [esp + 0x44]
push edi
call fcn.1002a825
pop ecx
pop ecx
test eax, eax
jne 0x10070175
push ebx
call sub.glib_lite.dll_Ordinal_212
mov eax, dword [esi + 0x1f8]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_213
push edi
call fcn.1002b710
add esp, 0xc
cmp ebp, edx
jb 0x1007005b
ja 0x10070055
cmp ebx, eax
jbe 0x1007005b
sub ebx, eax
sbb ebp, edx
jmp 0x1007006c
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ebp
push ebx
push edi
call fcn.1002d6cd
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 4
je 0x1007009b
cmp dword [edi + 0x168], 0
jne 0x10070175
cmp eax, 2
je 0x10070011
call fcn.10083a8f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_413
push eax
call fcn.10083a5e
add esp, 0xc
push edx
push eax
call fcn.10083a8f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_413
pop ecx
pop ecx
push eax
call fcn.10083975
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x24], edx
call sub.glib_lite.dll_Ordinal_212
mov edi, dword [esi + 0x78]
add esp, 0x10
add edi, ebx
mov ebx, dword [esi + 0x7c]
adc ebx, ebp
cmp dword [esp + 0x10], 1
jne 0x100700fd
add edi, dword [esp + 0x24]
adc ebx, dword [esp + 0x28]
push esi
call fcn.1006e427
lea eax, [esp + 0x30]
xor ebp, ebp
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push ebp
push dword [esi + 0x1f0]
call fcn.10030026
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push edi
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esi + 0x1f0]
call fcn.1007ed43
mov eax, dword [esi + 0x1f8]
add esp, 0x3c
cmp dword [eax + 8], ebp
jne 0x10070160
push dword [esp + 0x20]
push dword [esi + 0x1f0]
call fcn.10030542
pop ecx
pop ecx
push esi
call fcn.1006f830
push 3
push esi
call fcn.1006de9e
add esp, 0xc
xor eax, eax
jmp 0x10070182
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_212
pop ecx
push 0xfffffffffffffffe
pop eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x1007a10c
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 0xc], ecx
jle 0x1007a132
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
movsx eax, byte [ecx + edx]
xor eax, 0xffffff80
shl eax, 0x18
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [esp + 0x10]
jl 0x1007a11d
pop esi
ret

Function at 0x1007ed43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1007ed52
pop dword [ebp - 0x28]
mov eax, 0xe03a4a18
sub eax, 0xd0325cc6
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xa93705e2
add dword [ebp - 0x38], 0xa51b3f69
mov dword [ebp - 0x34], 0xcf78b793
add dword [ebp - 0x34], 0x62ba94b2
mov dword [ebp - 0x30], 0xa13ac7a0
add dword [ebp - 0x30], 0xab117c8e
mov dword [ebp - 0x2c], 0x3b68aba
add dword [ebp - 0x2c], 0xfc497546
lea eax, [ebp - 0x38]
push eax
mov eax, 0xd866409c
sub eax, 0xc85dd068
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x18b5ba66
add dword [ebp - 0x38], 0x5bbcaef0
mov dword [ebp - 0x34], 0x6abfb180
sub dword [ebp - 0x34], 0x2953500b
mov dword [ebp - 0x30], 0x6d07e94b
sub dword [ebp - 0x30], 0x9987cdf
mov dword [ebp - 0x2c], 0xfe64d258
add dword [ebp - 0x2c], 0x19b2da8
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xae7d4761
sub eax, 0x9e74d73d
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3d1cf
push 0
call eax
mov ecx, 0xe20a228d
sub ecx, 0xe209dbb7
mov ebx, eax
mov edi, 0x100b9000
add edi, dword [ebp - 0x28]
mov edx, 0x7f9adf91
sub edx, 0x9883200
xor dword [ebp - 0x24], 0x7978c0f7
mov esi, dword [edi]
add dword [ebp - 0x20], 0x595be365
xor esi, edx
xor dword [ebp - 0x18], edi
mov dword [ebx], esi
sub dword [ebp - 0x1c], 0x3fd0a64f
add ebx, 4
add edi, 4
loop 0x1007ee6e
add eax, 0x50fd32ca
add eax, 0xaf03db61
mov ebx, eax
add eax, 5
mov ecx, 0xbb154a5f
add ecx, 0x54eab5a1
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x9c4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9c41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9c407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c406a
add dl, dl
jne 0x9c4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c40dc
xor eax, eax
add dl, dl
jne 0x9c4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c417d
add dl, dl
jne 0x9c40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9c40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9c4075
mov eax, 1
add dl, dl
jne 0x9c40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c40e1
sub eax, ebx
mov ebx, 1
jne 0x9c4128
mov ecx, 1
add dl, dl
jne 0x9c410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9c4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9c413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9c414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c4136
cmp eax, 0x7d00
jae 0x9c416d
cmp eax, 0x500
jb 0x9c4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c4075
cmp eax, 0x7f
ja 0x9c4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9c419e
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 0x9c4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x475ff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x53000]
push edi
or ebp, 0xffffffff
jmp 0x476012
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x476019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x476008
mov eax, 1
add ebx, ebx
jne 0x47602b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47603c
jne 0x47605b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47605b
dec eax
add ebx, ebx
jne 0x476048
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x476020
add ebx, ebx
jne 0x476057
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4760ad
xor ecx, ecx
sub eax, 3
jb 0x476073
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4760e2
sar eax, 1
mov ebp, eax
jmp 0x47607e
add ebx, ebx
jne 0x47607e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47604c
inc ecx
add ebx, ebx
jne 0x47608c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47604c
add ebx, ebx
jne 0x476099
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47608e
jne 0x4760aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47608e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4760cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4760be
jmp 0x47600e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4760cc
add edi, ecx
jmp 0x47600e
pop esi
mov edi, esi
mov ecx, 0x1116
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4760ea
cmp byte [edi], 0x11
jne 0x4760ea
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 0x4760ef
lea edi, [esi + 0x72000]
mov eax, dword [edi]
or eax, eax
je 0x47615e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x80308]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8034c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47611c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x80354]
or eax, eax
je 0x476158
mov dword [ebx], eax
add ebx, 4
jmp 0x476139
call dword [esi + 0x80350]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x47618f
cmp al, 0xef
ja 0x476182
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x476164
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x476171
mov ebp, dword [esi + 0x80358]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x4761c3
sub esp, 0xffffff80
jmp 0x41ea80
Function at 0x468b80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x446015
lea edi, [esi - 0x45015]
push edi
or ebp, 0xffffffff
jmp 0x468ba2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x468ba9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x468b98
mov eax, 1
add ebx, ebx
jne 0x468bbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x468bcc
jne 0x468beb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x468beb
dec eax
add ebx, ebx
jne 0x468bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x468bb0
add ebx, ebx
jne 0x468be7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x468c3d
xor ecx, ecx
sub eax, 3
jb 0x468c03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x468c72
sar eax, 1
mov ebp, eax
jmp 0x468c0e
add ebx, ebx
jne 0x468c0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x468bdc
inc ecx
add ebx, ebx
jne 0x468c1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x468bdc
add ebx, ebx
jne 0x468c29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x468c1e
jne 0x468c3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x468c1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x468c5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x468c4e
jmp 0x468b9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x468c5c
add edi, ecx
jmp 0x468b9e
pop esi
mov edi, esi
mov ecx, 0x1866
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x468c7a
cmp byte [edi], 5
jne 0x468c7a
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 0x468c7f
lea edi, [esi + 0x65000]
mov eax, dword [edi]
or eax, eax
je 0x468cf7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6923c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x69310]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x468cac
mov ecx, edi
jns 0x468cdb
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 + 0x69318]
or eax, eax
je 0x468cf1
mov dword [ebx], eax
add ebx, 4
jmp 0x468cc9
call dword [esi + 0x69314]
mov ebp, dword [esi + 0x6931c]
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 0x468d2b
sub esp, 0xffffff80
jmp 0x408280