Function at 0x4091f3
Capabilities:
Parse pe header
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
mov byte [ebp - 1], 0
cmp word [eax], cx
je 0x40920e
xor al, al
leave
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x409223
xor al, al
jmp 0x4094cd
push esi
push edi
mov esi, 0xe06437fc
push esi
push 3
pop eax
call fcn.00406efb
pop ecx
push 0
push 0
call eax
push esi
push 3
pop eax
call fcn.00406efb
pop ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
call eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.0040914c
mov esi, eax
movzx eax, word [ebx + 0x14]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [eax + ebx + 0x18]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
xor eax, eax
push 0x3285501
inc eax
movsd dword es:[edi], dword [esi]
call fcn.00406efb
add esp, 0xc
push 4
mov esi, 0x3000
push esi
push 0x2cc
push 0
call eax
mov edi, eax
push edi
push dword [ebp - 0x2c]
mov dword [edi], 0x10002
call dword [0x40c078]
test eax, eax
jne 0x4092b0
push dword [ebp - 0x30]
call fcn.00401088
xor al, al
jmp 0x4094ca
and dword [ebp - 0xc], 0
mov eax, dword [edi + 0xa4]
add eax, 8
mov dword [ebp - 0x10], eax
xor eax, eax
push 0x9750505
inc eax
call fcn.00406efb
pop ecx
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0x10]
push dword [ebp - 0x30]
call eax
test eax, eax
je 0x4092a1
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp ecx, eax
jne 0x409344
push 0x53b808c5
push 3
pop eax
mov dword [ebp - 0x10], ecx
call fcn.00406efb
pop ecx
push dword [ebp - 0x10]
push dword [ebp - 0x30]
call eax
test eax, eax
mov eax, dword [ebx + 0x50]
push 0xaeb6049c
mov dword [ebp - 0x10], eax
jne 0x409331
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
xor eax, eax
inc eax
call fcn.00406efb
pop ecx
push 0x40
push esi
push dword [ebp - 0x10]
push dword [ebp - 8]
jmp 0x409361
xor eax, eax
inc eax
call fcn.00406efb
pop ecx
push 0x40
push esi
push dword [ebp - 0x10]
push 0
jmp 0x409361
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x10], eax
xor eax, eax
push 0xaeb6049c
inc eax
call fcn.00406efb
pop ecx
push 0x40
push esi
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0x30]
call eax
mov dword [ebp - 8], eax
test eax, eax
je 0x4092a1
mov esi, dword [ebx + 0x54]
xor eax, eax
push 0xc0088eea
inc eax
call fcn.00406efb
pop ecx
push 0
push esi
push dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp - 0x30]
call eax
and dword [ebp - 0x10], 0
xor eax, eax
cmp ax, word [ebx + 6]
jae 0x4093e6
mov esi, dword [ebp - 0x18]
add esi, 0x14
mov eax, dword [esi - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
push 0xc0088eea
mov dword [ebp - 0x1c], eax
mov eax, dword [esi - 8]
add eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
xor eax, eax
inc eax
call fcn.00406efb
pop ecx
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
call eax
movzx eax, word [ebx + 6]
inc dword [ebp - 0x10]
add esi, 0x28
cmp dword [ebp - 0x10], eax
jl 0x4093a2
mov esi, dword [edi + 0xa4]
xor eax, eax
push 0xc0088eea
inc eax
add esi, 8
call fcn.00406efb
pop ecx
push 0
push 4
lea ecx, [ebx + 0x34]
push ecx
push esi
push dword [ebp - 0x30]
call eax
mov eax, dword [ebx + 0x28]
add eax, dword [ebp - 8]
xor ebx, ebx
mov dword [edi + 0xb0], eax
inc ebx
push 0x6ed04712
mov eax, ebx
call fcn.00406efb
pop ecx
push edi
push dword [ebp - 0x2c]
call eax
push 0xbb21e02e
mov eax, ebx
call fcn.00406efb
pop ecx
push dword [ebp - 0x2c]
call eax
cmp dword [ebp + 0x10], 0
je 0x40948f
mov edi, dword [ebp + 0x14]
mov esi, 0x2fa62ca8
test edi, edi
je 0x40945d
push esi
mov eax, ebx
call fcn.00406efb
pop ecx
push edi
call eax
push dword [ebp + 0x10]
push dword [ebp - 0x28]
call fcn.004050a7
pop ecx
pop ecx
test al, al
je 0x409474
mov byte [ebp - 1], 1
jmp 0x40947d
push dword [ebp - 0x30]
call fcn.00401088
pop ecx
test edi, edi
je 0x40948f
push esi
mov eax, ebx
call fcn.00406efb
pop ecx
shr edi, 1
push edi
call eax
and dword [ebp - 0x14], 0
push 0x433d448b
mov eax, ebx
call fcn.00406efb
pop ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x30]
call eax
cmp dword [ebp - 0x14], 0x103
jne 0x4094b6
mov byte [ebp - 1], 1
push dword [ebp - 0x30]
call fcn.00401038
push dword [ebp - 0x2c]
call fcn.00401038
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret