Function at 0x436d10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov byte [ebp - 0x21], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov edx, dword [ebp + 8]
push edx
call dword [0x4c33fc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x436d55
xor al, al
jmp 0x4370ff
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [0x4c3348]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x436d83
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x4c3458]
xor al, al
jmp 0x4370ff
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x10]
push edx
call dword [0x4c334c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x436db9
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4c3458]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x4c3458]
xor al, al
jmp 0x4370ff
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x4370de
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x16]
and edx, 0x100
je 0x436e09
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 4]
cmp ecx, 0x8664
je 0x436e09
mov edx, dword [ebp - 4]
movzx eax, word [edx + 4]
cmp eax, 0x200
jne 0x436e11
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 2
jmp 0x436e17
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0x5e]
mov word [eax], dx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 2
jne 0x436f51
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
push 0x108
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x4c3350]
test eax, eax
jne 0x436f4c
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0x4550
jne 0x436f4c
mov eax, dword [ebp - 0x18]
add eax, 0x108
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 1
jmp 0x436e96
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x28
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jg 0x436f4c
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x10], 0
jne 0x436f47
push 8
push 0x4caa0c
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004a3fd3
add esp, 0xc
test eax, eax
je 0x436f47
push 8
push 0x4caa04
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004a3fd3
add esp, 0xc
test eax, eax
je 0x436f47
push 8
push 0x4ca9fc
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004a3fd3
add esp, 0xc
test eax, eax
je 0x436f47
push 8
push 0x4ca9fc
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004a3fd3
add esp, 0xc
test eax, eax
je 0x436f47
push 8
push 0x4ca9f4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004a3fd3
add esp, 0xc
test eax, eax
je 0x436f47
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
je 0x436f47
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x24]
and edx, 0xc0
je 0x436f47
mov byte [ebp - 0x21], 1
jmp 0x436f4c
jmp 0x436e84
jmp 0x4370de
push 0xf8
mov eax, dword [ebp - 4]
push eax
call dword [0x4c3350]
test eax, eax
jne 0x4370de
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x4370de
mov edx, dword [ebp - 4]
add edx, 0xf8
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], 1
jmp 0x436f9e
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x28
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jg 0x4370de
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x24]
and edx, 0x20
je 0x436fe2
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0x1000
jbe 0x436fe2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
sub edx, 0x1000
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], edx
jae 0x436fe2
mov byte [ebp - 0x21], 1
jmp 0x4370de
push 8
push 0x4ca9ec
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004a3fd3
add esp, 0xc
test eax, eax
jne 0x437022
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 8], 0x1000
jbe 0x437022
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
sub ecx, 0x1000
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x10], ecx
jae 0x437022
mov byte [ebp - 0x21], 1
jmp 0x4370de
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x437043
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 8]
jae 0x437043
mov byte [ebp - 0x21], 1
jmp 0x4370de
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x10], 0
jne 0x4370d9
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0x1000
jb 0x4370d9
push 8
push 0x4caa0c
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004a3fd3
add esp, 0xc
test eax, eax
je 0x4370d9
push 8
push 0x4caa04
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004a3fd3
add esp, 0xc
test eax, eax
je 0x4370d9
push 8
push 0x4ca9fc
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004a3fd3
add esp, 0xc
test eax, eax
je 0x4370d9
push 8
push 0x4ca9e4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004a3fd3
add esp, 0xc
test eax, eax
je 0x4370d9
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
je 0x4370d9
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x24]
and edx, 0xc0
je 0x4370d9
mov byte [ebp - 0x21], 1
jmp 0x4370de
jmp 0x436f8c
mov eax, dword [ebp - 0xc]
push eax
call dword [0x4c3354]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x4c3458]
mov edx, dword [ebp - 0x14]
push edx
call dword [0x4c3458]
mov al, byte [ebp - 0x21]
mov esp, ebp
pop ebp
ret