Function at 0x13d43a0
Capabilities:
Parse pe header

Disassembly:
push 0x58
push 0x136d248
call fcn.012e2290
lea eax, [ebp - 0x68]
push eax
call dword [0x13192ec]
xor esi, esi
cmp dword [0x138b8e8], esi
jne 0x12ddc68
push esi
push esi
push 1
push esi
call dword [0x13192f0]
mov eax, 0x5a4d
cmp word [0x1180000], ax
je 0x12ddc7b
mov dword [ebp - 0x1c], esi
jmp 0x12ddcb1
mov eax, dword [0x118003c]
cmp dword [eax + 0x1180000], 0x4550
jne 0x12ddc76
mov ecx, 0x10b
cmp word [eax + 0x1180018], cx
jne 0x12ddc76
cmp dword [eax + 0x1180074], 0xe
jbe 0x12ddc76
xor ecx, ecx
cmp dword [eax + 0x11800e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.012e73a8
test eax, eax
jne 0x12ddcc2
push 0x1c
call fcn.012ddc14
pop ecx
call fcn.012e722d
test eax, eax
jne 0x12ddcd3
push 0x10
call fcn.012ddc14
pop ecx
call fcn.012e6e3d
mov dword [ebp - 4], esi
call fcn.012e6bf8
test eax, eax
jns 0x12ddcec
push 0x1b
call fcn.012e421a
pop ecx
call dword [0x1319430]
mov dword [0x138b8e4], eax
call fcn.012e6ba0
mov dword [0x1388cfc], eax
call fcn.012e6af2
test eax, eax
jns 0x12ddd12
push 8
call fcn.012e421a
pop ecx
call fcn.012e68c0
test eax, eax
jns 0x12ddd23
push 9
call fcn.012e421a
pop ecx
push 1
call fcn.012e3ff9
pop ecx
cmp eax, esi
je 0x12ddd36
push eax
call fcn.012e421a
pop ecx
call fcn.012e687a
test byte [ebp - 0x3c], 1
je 0x12ddd47
movzx ecx, word [ebp - 0x38]
jmp 0x12ddd4a
push 0xa
pop ecx
push ecx
push eax
push esi
push 0x1180000
call fcn.012fd35a
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x12ddd65
push eax
call fcn.012e41d0
call fcn.012e41fc
jmp 0x12ddd9a
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.012e22d5
ret
call fcn.012e73c6
jmp 0x12ddc3d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x145000]
push edi
or ebp, 0xffffffff
jmp 0x13d43c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x13d43c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x13d43b8
mov eax, 1
add ebx, ebx
jne 0x13d43db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x13d43d0
jne 0x13d43ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x13d43d0
xor ecx, ecx
sub eax, 3
jb 0x13d4400
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x13d4472
mov ebp, eax
add ebx, ebx
jne 0x13d440b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x13d4418
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x13d443c
inc ecx
add ebx, ebx
jne 0x13d4428
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x13d441d
jne 0x13d4439
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x13d441d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x13d445c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x13d444d
jmp 0x13d43be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x13d445c
add edi, ecx
jmp 0x13d43be
pop esi
mov edi, esi
mov ecx, 0xc2bf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x13d447a
cmp byte [edi], 0x19
jne 0x13d447a
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 0x13d447f
lea edi, [esi + 0x240000]
mov eax, dword [edi]
or eax, eax
je 0x13d44f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25690c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x256a9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x13d44ac
mov ecx, edi
jns 0x13d44db
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 + 0x256aa0]
or eax, eax
je 0x13d44f1
mov dword [ebx], eax
add ebx, 4
jmp 0x13d44c9
call dword [esi + 0x256ab0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x13d4528
cmp al, 0xef
ja 0x13d451b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x13d44fd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x13d450a
mov ebp, dword [esi + 0x256aa4]
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 0x13d455c
sub esp, 0xffffff80
jmp 0x12dddaa