Function at 0x45d450
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
cmp byte [ebx + 0x3f4], 0
je 0x45d4a9
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
test edx, edx
je 0x45d6ec
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x45d6ec
mov dword [ebx + 0x3d8], ecx
cmp ecx, 0xffffffff
je 0x45d4a9
mov eax, 0x5a4d
mov dword [ebx + 8], edx
cmp word [edx], ax
je 0x45d4b2
push 0xc1
call dword [0x575204]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [edx + 0x3c]
mov dword [ebp + 8], esi
mov dword [ebx + 0x3cc], esi
cmp esi, ecx
ja 0x45d6d7
lea eax, [esi + 0xf8]
cmp eax, ecx
ja 0x45d6d7
movups xmm0, xmmword [edx]
push edi
add esi, edx
lea edi, [ebx + 0x54]
movups xmmword [ebx + 0x14], xmm0
mov ecx, 0x3e
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ebx + 0x24], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ebx + 0x34], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [ebx + 0x44], xmm0
rep movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0x54], 0x4550
je 0x45d520
push 0xbf
call dword [0x575204]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x45d540
mov ecx, dword [ebp + 8]
add ecx, 0x18
add ecx, eax
movzx eax, word [ebx + 0x5a]
mov dword [ebx + 0x3d0], ecx
cmp eax, 0x10
jbe 0x45d556
push 0xc0
call dword [0x575204]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [eax + eax*4]
shl eax, 3
push eax
lea eax, [ecx + edx]
push eax
lea eax, [ebx + 0x14c]
push eax
call fcn.00515080
movzx eax, word [ebx + 0x5a]
xor ecx, ecx
add esp, 0xc
cmp cx, ax
jae 0x45d60e
lea esi, [ebx + 0x160]
mov edi, eax
nop word [eax + eax]
lea eax, [ebx + 0x3f4]
lea ecx, [esi - 0x14]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x45d5c0
test dl, dl
je 0x45d5bc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x45d5c0
add ecx, 2
add eax, 2
test dl, dl
jne 0x45d5a0
xor eax, eax
jmp 0x45d5c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45d602
mov edx, dword [esi]
add edx, dword [ebx + 8]
movups xmm1, xmmword [edx]
movq xmm0, qword [edx + 0x10]
movq qword [ebp - 0x14], xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd ecx, xmm0
movd eax, xmm1
movups xmmword [ebp - 0x24], xmm1
test ecx, ecx
cmove ecx, eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
lea eax, [edx + ecx]
mov dword [ebp - 4], eax
add esi, 0x28
sub edi, 1
jne 0x45d590
movzx eax, word [ebx + 0x5a]
xor ecx, ecx
mov dword [ebx + 0x3d4], 0
mov dword [ebp + 8], 0
cmp cx, ax
jae 0x45d6a7
movzx esi, ax
lea edi, [ebx + 0x15c]
mov eax, dword [edi + 4]
add eax, dword [edi]
cmp eax, ecx
cmova ecx, eax
lea eax, [edi - 0x10]
mov dword [ebp + 0xc], ecx
mov dword [ebx + 0x3d4], ecx
lea ecx, [ebx + 0x3f4]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45d670
test dl, dl
je 0x45d66c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45d670
add eax, 2
add ecx, 2
test dl, dl
jne 0x45d650
xor eax, eax
jmp 0x45d675
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45d693
add esi, 0xffff
mov dword [ebx + 0xac], eax
mov word [ebx + 0x5a], si
mov dword [ebx + 0x3f0], 1
mov edx, dword [ebp + 8]
add edi, 0x28
mov ecx, dword [ebp + 0xc]
inc edx
movzx eax, si
mov dword [ebp + 8], edx
cmp edx, eax
jb 0x45d633
push 0xc
call fcn.00482235
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
pop edi
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
mov dword [ebx + 4], eax
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xc1
call dword [0x575204]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xa0
call dword [0x575204]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8