Function at 0x8ba8e0
Capabilities:
Parse pe header

Disassembly:
push 0x58
push 0x85df38
call fcn.0067d640
lea eax, [ebp - 0x68]
push eax
call dword [0x6db1c0]
xor esi, esi
cmp dword [0x87927c], esi
jne 0x67c013
push esi
push esi
push 1
push esi
call dword [0x6db238]
mov eax, 0x5a4d
cmp word [0x380000], ax
je 0x67c026
mov dword [ebp - 0x1c], esi
jmp 0x67c05c
mov eax, dword [0x38003c]
cmp dword [eax + 0x380000], 0x4550
jne 0x67c021
mov ecx, 0x10b
cmp word [eax + 0x380018], cx
jne 0x67c021
cmp dword [eax + 0x380074], 0xe
jbe 0x67c021
xor ecx, ecx
cmp dword [eax + 0x3800e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.00686fe3
test eax, eax
jne 0x67c06d
push 0x1c
call fcn.0067bfbf
pop ecx
call fcn.006876de
test eax, eax
jne 0x67c07e
push 0x10
call fcn.0067bfbf
pop ecx
call fcn.006895c8
mov dword [ebp - 4], esi
call fcn.00689383
test eax, eax
jns 0x67c097
push 0x1b
call fcn.0067cf88
pop ecx
call dword [0x6db234]
mov dword [0x879278], eax
call fcn.006892ec
mov dword [0x8772ac], eax
call fcn.00689231
test eax, eax
jns 0x67c0bd
push 8
call fcn.0067cf88
pop ecx
call fcn.00688fbb
test eax, eax
jns 0x67c0ce
push 9
call fcn.0067cf88
pop ecx
push 1
call fcn.0067cd67
pop ecx
cmp eax, esi
je 0x67c0e1
push eax
call fcn.0067cf88
pop ecx
call fcn.00688f5c
test byte [ebp - 0x3c], 1
je 0x67c0f2
movzx ecx, word [ebp - 0x38]
jmp 0x67c0f5
push 0xa
pop ecx
push ecx
push eax
push esi
push 0x380000
call fcn.00697174
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x67c110
push eax
call fcn.0067cf3e
call fcn.0067cf6a
jmp 0x67c145
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0067d685
ret
call fcn.00689614
jmp 0x67bfe8
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e4000]
push edi
jmp 0x8ba8fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8ba901
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8ba8f0
mov eax, 1
add ebx, ebx
jne 0x8ba913
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8ba924
jne 0x8ba943
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8ba943
dec eax
add ebx, ebx
jne 0x8ba930
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8ba908
add ebx, ebx
jne 0x8ba93f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8ba995
xor ecx, ecx
sub eax, 3
jb 0x8ba95b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8ba9ca
sar eax, 1
mov ebp, eax
jmp 0x8ba966
add ebx, ebx
jne 0x8ba966
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8ba934
inc ecx
add ebx, ebx
jne 0x8ba974
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8ba934
add ebx, ebx
jne 0x8ba981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8ba976
jne 0x8ba992
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8ba976
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8ba9b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8ba9a6
jmp 0x8ba8f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8ba9b4
add edi, ecx
jmp 0x8ba8f6
pop esi
mov edi, esi
mov ecx, 0x1d6d4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8ba9d2
cmp byte [edi], 0x7a
jne 0x8ba9d2
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 0x8ba9d7
lea edi, [esi + 0x528000]
mov eax, dword [edi]
or eax, eax
je 0x8baa4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x543ad8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x543bc8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8baa04
mov ecx, edi
jns 0x8baa33
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 + 0x543bcc]
or eax, eax
je 0x8baa49
mov dword [ebx], eax
add ebx, 4
jmp 0x8baa21
call dword [esi + 0x543bdc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8baa80
cmp al, 0xef
ja 0x8baa73
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8baa55
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8baa62
mov ebp, dword [esi + 0x543bd0]
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 0x8baab4
sub esp, 0xffffff80
jmp 0x67c155