Function at 0x16f78a0
Capabilities:
Parse pe header

Disassembly:
push 0x58
push 0x16a1338
call fcn.014cd640
lea eax, [ebp - 0x68]
push eax
call dword [0x152b1c0]
xor esi, esi
cmp dword [0x16bc27c], esi
jne 0x14cc013
push esi
push esi
push 1
push esi
call dword [0x152b238]
mov eax, 0x5a4d
cmp word [0x11d0000], ax
je 0x14cc026
mov dword [ebp - 0x1c], esi
jmp 0x14cc05c
mov eax, dword [0x11d003c]
cmp dword [eax + 0x11d0000], 0x4550
jne 0x14cc021
mov ecx, 0x10b
cmp word [eax + 0x11d0018], cx
jne 0x14cc021
cmp dword [eax + 0x11d0074], 0xe
jbe 0x14cc021
xor ecx, ecx
cmp dword [eax + 0x11d00e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.014d6fe3
test eax, eax
jne 0x14cc06d
push 0x1c
call fcn.014cbfbf
pop ecx
call fcn.014d76de
test eax, eax
jne 0x14cc07e
push 0x10
call fcn.014cbfbf
pop ecx
call fcn.014d95c8
mov dword [ebp - 4], esi
call fcn.014d9383
test eax, eax
jns 0x14cc097
push 0x1b
call fcn.014ccf88
pop ecx
call dword [0x152b234]
mov dword [0x16bc278], eax
call fcn.014d92ec
mov dword [0x16ba2ac], eax
call fcn.014d9231
test eax, eax
jns 0x14cc0bd
push 8
call fcn.014ccf88
pop ecx
call fcn.014d8fbb
test eax, eax
jns 0x14cc0ce
push 9
call fcn.014ccf88
pop ecx
push 1
call fcn.014ccd67
pop ecx
cmp eax, esi
je 0x14cc0e1
push eax
call fcn.014ccf88
pop ecx
call fcn.014d8f5c
test byte [ebp - 0x3c], 1
je 0x14cc0f2
movzx ecx, word [ebp - 0x38]
jmp 0x14cc0f5
push 0xa
pop ecx
push ecx
push eax
push esi
push 0x11d0000
call fcn.014e7174
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x14cc110
push eax
call fcn.014ccf3e
call fcn.014ccf6a
jmp 0x14cc145
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.014cd685
ret
call fcn.014d9614
jmp 0x14cbfe8
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2df000]
push edi
jmp 0x16f78ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16f78c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16f78b0
mov eax, 1
add ebx, ebx
jne 0x16f78d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16f78e4
jne 0x16f7903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16f7903
dec eax
add ebx, ebx
jne 0x16f78f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16f78c8
add ebx, ebx
jne 0x16f78ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16f7955
xor ecx, ecx
sub eax, 3
jb 0x16f791b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16f798a
sar eax, 1
mov ebp, eax
jmp 0x16f7926
add ebx, ebx
jne 0x16f7926
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16f78f4
inc ecx
add ebx, ebx
jne 0x16f7934
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16f78f4
add ebx, ebx
jne 0x16f7941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16f7936
jne 0x16f7952
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16f7936
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16f7974
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16f7966
jmp 0x16f78b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16f7974
add edi, ecx
jmp 0x16f78b6
pop esi
mov edi, esi
mov ecx, 0x1d6d4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16f7992
cmp byte [edi], 0x7a
jne 0x16f7992
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 0x16f7997
lea edi, [esi + 0x515000]
mov eax, dword [edi]
or eax, eax
je 0x16f7a0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x52adc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x52aeb0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16f79c4
mov ecx, edi
jns 0x16f79f3
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 + 0x52aeb4]
or eax, eax
je 0x16f7a09
mov dword [ebx], eax
add ebx, 4
jmp 0x16f79e1
call dword [esi + 0x52aec4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x16f7a40
cmp al, 0xef
ja 0x16f7a33
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x16f7a15
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x16f7a22
mov ebp, dword [esi + 0x52aeb8]
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 0x16f7a74
sub esp, 0xffffff80
jmp 0x14cc155