Function at 0x434258
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0xfdbb4477
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 8]
mov edi, eax
cmp word [edi], 0x5a4d
je 0x43429c
push 0xc1
call fcn.0040acd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x434491
mov ebx, dword [edi + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x4342c0
push 0xc1
call fcn.0040acd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x434491
cmp word [ebx + 4], 0x14c
je 0x4342df
push 0xc1
call fcn.0040acd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x434491
test byte [ebx + 0x38], 1
je 0x4342fc
push 0xc1
call fcn.0040acd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x434491
push 4
push 0x3000
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebx + 0x34]
push eax
call fcn.0040ad04
mov esi, eax
test esi, esi
jne 0x434342
push 4
push 0x3000
mov eax, dword [ebx + 0x50]
push eax
push 0
call fcn.0040ad04
mov esi, eax
test esi, esi
jne 0x434342
push 0xe
call fcn.0040acd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x434491
push 0x18
push 8
call fcn.0040abd4
push eax
call fcn.0040ac4c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43437b
push 0x8000
push 0
push esi
call fcn.0040ad0c
push 0xe
call fcn.0040acd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x434491
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], esi
lea eax, [ebp - 0x30]
push eax
call fcn.0040abf4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x14], edx
push 4
push 0x1000
mov eax, dword [ebx + 0x54]
push eax
push esi
call fcn.0040ad04
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x54]
mov edx, dword [ebp - 8]
mov ecx, edi
xchg ecx, eax
call fcn.00404420
mov eax, dword [edi + 0x3c]
add eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp + 8]
call fcn.00433b24
test al, al
jne 0x4343d6
call fcn.00433ad8
mov edi, esi
mov eax, edi
sub eax, dword [ebx + 0x34]
mov ebx, eax
test ebx, ebx
je 0x4343f5
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00433e94
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x11], al
jmp 0x4343fc
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 0xc]
push eax
call fcn.00433f74
test al, al
jne 0x43440e
call fcn.00433ad8
mov eax, dword [ebp - 0xc]
call fcn.00433cd0
test al, al
jne 0x43441f
call fcn.00433ad8
mov eax, dword [ebp - 0xc]
call fcn.00433e2c
test al, al
jne 0x434430
call fcn.00433ad8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x434467
add eax, esi
mov ebx, eax
push 0
push 1
push edi
call ebx
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x434460
push 0x45a
call fcn.0040acd4
call fcn.00433ad8
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x10], 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x434491
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4