Function at 0x2e954f8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp + 0xc]
call fcn.02e64a54
xor eax, eax
push ebp
push 0x2e94c4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.02e64034
mov eax, dword [ebp - 0x40]
call fcn.02e64154
cdq
push edx
push eax
mov eax, dword [ebp - 4]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x2e95560
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x2e95568
jmp 0x2e9582e
pop edx
pop eax
jg 0x2e9582e
lea eax, [ebp - 0x40]
call fcn.02e64324
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
cmp word [eax], 0x5a4d
jne 0x2e9582e
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x3c]
add esi, ebx
cmp dword [esi], 0x4550
jne 0x2e9582e
cmp byte [ebp + 8], 0
je 0x2e955a2
mov dword [ebp - 0xc], edi
jmp 0x2e955bc
push edi
push 0
push 0x1f0fff
call fcn.02e670f0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x2e9582e
mov eax, dword [ebp - 0xc]
call fcn.02e9d240
test al, al
jne 0x2e95813
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x50]
add eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x38], eax
push 0
push 0x8000000
push 0x40
lea eax, [ebp - 0x20]
push eax
push 0
push 0xf001f
lea eax, [ebp - 0x10]
push eax
call fcn.02ea44f8
test eax, eax
jne 0x2e95813
push 0x40
push 0
push 1
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.02ea44f0
test eax, eax
jne 0x2e95813
push 0x40
push 0
push 1
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.02e66fd0
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.02ea44f0
test eax, eax
jne 0x2e95813
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, 0x2e948f4
sub eax, 0x2e94644
mov dword [ebp - 0x28], eax
push 0
push 0x8000000
push 0x40
lea eax, [ebp - 0x28]
push eax
push 0
push 0xf001f
lea eax, [ebp - 0x14]
push eax
call fcn.02ea44f8
test eax, eax
jne 0x2e95813
push 0x40
push 0
push 1
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.02ea44f0
test eax, eax
jne 0x2e95813
push 0x40
push 0
push 1
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.02e66fd0
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.02ea44f0
test eax, eax
jne 0x2e95813
mov ecx, dword [esi + 0x54]
mov edx, ebx
mov eax, dword [ebp - 0x30]
call fcn.02e67270
mov ecx, 0x2e948f4
sub ecx, 0x2e94644
mov edx, 0x2e94644
mov eax, dword [ebp - 0x38]
call fcn.02e67270
lea edx, [ebp - 4]
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x30]
mov ecx, 4
call fcn.02e67270
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x30]
add eax, 4
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.02e67270
mov eax, dword [ebp + 0xc]
call fcn.02e64694
inc eax
add eax, eax
push eax
mov eax, dword [ebp + 0xc]
call fcn.02e64684
mov edx, eax
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x30]
add eax, 4
add eax, dword [ebp - 4]
pop ecx
call fcn.02e67270
movzx eax, word [esi + 6]
dec eax
test eax, eax
jl 0x2e957ad
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov edx, ebx
add eax, edx
add eax, 0xf8
mov ecx, dword [ebp - 0x3c]
shl ecx, 3
lea ecx, [ecx + ecx*4]
add eax, ecx
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0xc]
add edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
xchg ecx, eax
call fcn.02e67270
inc dword [ebp - 0x3c]
dec dword [ebp - 0x44]
jne 0x2e95779
mov edx, dword [esi + 0x34]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
je 0x2e957df
sub eax, edx
push eax
push esi
mov eax, dword [ebp - 0x30]
push eax
call fcn.02e93ed0
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x30]
mov ecx, 0xf8
mov edx, esi
call fcn.02e67270
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
call fcn.02e9513c
test al, al
je 0x2e957f5
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0x30]
push eax
call fcn.02e66fd0
push eax
call fcn.02ea44e8
mov eax, dword [ebp - 0x38]
push eax
call fcn.02e66fd0
push eax
call fcn.02ea44e8
mov eax, dword [ebp - 0xc]
push eax
call fcn.02e66f20
mov eax, dword [ebp - 0x14]
push eax
call fcn.02e66f20
mov eax, dword [ebp - 0x10]
push eax
call fcn.02e66f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e94c53
lea eax, [ebp - 0x40]
call fcn.02e63f4c
lea eax, [ebp + 0xc]
call fcn.02e64504
ret