Function at 0x15fce00
Capabilities:
Parse pe header

Disassembly:
push 0x58
push 0x1595dc0
call fcn.0150e480
lea eax, [ebp - 0x68]
push eax
call dword [0x15432e0]
xor esi, esi
cmp dword [0x15b38a8], esi
jne 0x1509f2f
push esi
push esi
push 1
push esi
call dword [0x15432e4]
mov eax, 0x5a4d
cmp word [0x13b0000], ax
je 0x1509f42
mov dword [ebp - 0x1c], esi
jmp 0x1509f78
mov eax, dword [0x13b003c]
cmp dword [eax + 0x13b0000], 0x4550
jne 0x1509f3d
mov ecx, 0x10b
cmp word [eax + 0x13b0018], cx
jne 0x1509f3d
cmp dword [eax + 0x13b0074], 0xe
jbe 0x1509f3d
xor ecx, ecx
cmp dword [eax + 0x13b00e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.01513588
test eax, eax
jne 0x1509f89
push 0x1c
call fcn.01509edb
pop ecx
call fcn.0151340d
test eax, eax
jne 0x1509f9a
push 0x10
call fcn.01509edb
pop ecx
call fcn.0151301d
mov dword [ebp - 4], esi
call fcn.01512dd8
test eax, eax
jns 0x1509fb3
push 0x1b
call fcn.01510407
pop ecx
call dword [0x1543424]
mov dword [0x15b38a4], eax
call fcn.01512d80
mov dword [0x15b0cfc], eax
call fcn.01512cd2
test eax, eax
jns 0x1509fd9
push 8
call fcn.01510407
pop ecx
call fcn.01512aa0
test eax, eax
jns 0x1509fea
push 9
call fcn.01510407
pop ecx
push 1
call fcn.015101e6
pop ecx
cmp eax, esi
je 0x1509ffd
push eax
call fcn.01510407
pop ecx
call fcn.01512a5a
test byte [ebp - 0x3c], 1
je 0x150a00e
movzx ecx, word [ebp - 0x38]
jmp 0x150a011
push 0xa
pop ecx
push ecx
push eax
push esi
push 0x13b0000
call fcn.0152856a
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x150a02c
push eax
call fcn.015103bd
call fcn.015103e9
jmp 0x150a061
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0150e4c5
ret
call fcn.015135a6
jmp 0x1509f04
pushal
mov esi, section.UPX1
lea edi, [esi - 0x141000]
push edi
or ebp, 0xffffffff
jmp 0x15fce22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x15fce29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x15fce18
mov eax, 1
add ebx, ebx
jne 0x15fce3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x15fce30
jne 0x15fce4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x15fce30
xor ecx, ecx
sub eax, 3
jb 0x15fce60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x15fced2
mov ebp, eax
add ebx, ebx
jne 0x15fce6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x15fce78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x15fce9c
inc ecx
add ebx, ebx
jne 0x15fce88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x15fce7d
jne 0x15fce99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x15fce7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x15fcebc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x15fcead
jmp 0x15fce1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x15fcebc
add edi, ecx
jmp 0x15fce1e
pop esi
mov edi, esi
mov ecx, 0xbf79
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x15fceda
cmp byte [edi], 0x2d
jne 0x15fceda
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 0x15fcedf
lea edi, [esi + 0x238000]
mov eax, dword [edi]
or eax, eax
je 0x15fcf57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24f90c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24fa9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x15fcf0c
mov ecx, edi
jns 0x15fcf3b
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 + 0x24faa0]
or eax, eax
je 0x15fcf51
mov dword [ebx], eax
add ebx, 4
jmp 0x15fcf29
call dword [esi + 0x24fab0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x15fcf88
cmp al, 0xef
ja 0x15fcf7b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x15fcf5d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x15fcf6a
mov ebp, dword [esi + 0x24faa4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x15fcfbc
sub esp, 0xffffff80
jmp 0x150a071