Function at 0x108d440
Capabilities:
Parse pe header

Disassembly:
push 0x58
push 0x1026dd8
call fcn.00f9ed30
lea eax, [ebp - 0x68]
push eax
call dword [0xfd42e4]
xor esi, esi
cmp dword [0x10448a8], esi
jne 0xf9a7e0
push esi
push esi
push 1
push esi
call dword [0xfd42e8]
mov eax, 0x5a4d
cmp word [0xe40000], ax
je 0xf9a7f3
mov dword [ebp - 0x1c], esi
jmp 0xf9a829
mov eax, dword [0xe4003c]
cmp dword [eax + 0xe40000], 0x4550
jne 0xf9a7ee
mov ecx, 0x10b
cmp word [eax + 0xe40018], cx
jne 0xf9a7ee
cmp dword [eax + 0xe40074], 0xe
jbe 0xf9a7ee
xor ecx, ecx
cmp dword [eax + 0xe400e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.00fa3e38
test eax, eax
jne 0xf9a83a
push 0x1c
call fcn.00f9a78c
pop ecx
call fcn.00fa3cbd
test eax, eax
jne 0xf9a84b
push 0x10
call fcn.00f9a78c
pop ecx
call fcn.00fa38cd
mov dword [ebp - 4], esi
call fcn.00fa3688
test eax, eax
jns 0xf9a864
push 0x1b
call fcn.00fa0ca7
pop ecx
call dword [0xfd4428]
mov dword [0x10448a4], eax
call fcn.00fa3630
mov dword [0x1041cfc], eax
call fcn.00fa3582
test eax, eax
jns 0xf9a88a
push 8
call fcn.00fa0ca7
pop ecx
call fcn.00fa3350
test eax, eax
jns 0xf9a89b
push 9
call fcn.00fa0ca7
pop ecx
push 1
call fcn.00fa0a86
pop ecx
cmp eax, esi
je 0xf9a8ae
push eax
call fcn.00fa0ca7
pop ecx
call fcn.00fa330a
test byte [ebp - 0x3c], 1
je 0xf9a8bf
movzx ecx, word [ebp - 0x38]
jmp 0xf9a8c2
push 0xa
pop ecx
push ecx
push eax
push esi
push 0xe40000
call fcn.00fb8e2a
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0xf9a8dd
push eax
call fcn.00fa0c5d
call fcn.00fa0c89
jmp 0xf9a912
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00f9ed75
ret
call fcn.00fa3e56
jmp 0xf9a7b5
pushal
mov esi, section.UPX1
lea edi, [esi - 0x141000]
push edi
or ebp, 0xffffffff
jmp 0x108d462
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x108d469
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x108d458
mov eax, 1
add ebx, ebx
jne 0x108d47b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x108d470
jne 0x108d48c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x108d470
xor ecx, ecx
sub eax, 3
jb 0x108d4a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x108d512
mov ebp, eax
add ebx, ebx
jne 0x108d4ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x108d4b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x108d4dc
inc ecx
add ebx, ebx
jne 0x108d4c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x108d4bd
jne 0x108d4d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x108d4bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x108d4fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x108d4ed
jmp 0x108d45e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x108d4fc
add edi, ecx
jmp 0x108d45e
pop esi
mov edi, esi
mov ecx, 0xbfa5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x108d51a
cmp byte [edi], 0x35
jne 0x108d51a
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 0x108d51f
lea edi, [esi + 0x239000]
mov eax, dword [edi]
or eax, eax
je 0x108d597
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 0x108d54c
mov ecx, edi
jns 0x108d57b
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 0x108d591
mov dword [ebx], eax
add ebx, 4
jmp 0x108d569
call dword [esi + 0x24fab0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x108d5c8
cmp al, 0xef
ja 0x108d5bb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x108d59d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x108d5aa
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 0x108d5fc
sub esp, 0xffffff80
jmp 0xf9a922