Function at 0x2e95998
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x42
push 0
push 0
dec ecx
jne 0x2e959a1
xchg dword [ebp - 4], ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.02e64a54
lea eax, [ebp - 8]
call fcn.02e64a54
lea eax, [ebp + 8]
call fcn.02e64a54
xor eax, eax
push ebp
push 0x2e9543f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 8]
lea ecx, [ebp - 0x1f4]
mov edx, 0x2e9545c
mov eax, 0x2e95468
call fcn.02e9fcdc
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x1f0]
call fcn.02e64674
push dword [ebp - 0x1f0]
lea eax, [ebp - 0x1f8]
mov edx, dword [0x2eb4b24]
mov edx, dword [edx]
call fcn.02e64674
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x200]
mov edx, 0x2e95474
mov eax, 0x2e95480
call fcn.02e9fcdc
mov edx, dword [ebp - 0x200]
lea eax, [ebp - 0x1fc]
call fcn.02e64674
push dword [ebp - 0x1fc]
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.02e64764
push 0x2e95488
push dword [ebp - 4]
push 0x2e95488
lea eax, [ebp - 8]
mov edx, 3
call fcn.02e64764
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x40]
mov ecx, dword [ebp + 0x18]
mov edx, ebx
call fcn.02e64034
mov eax, dword [ebp - 0x40]
call fcn.02e64154
cdq
push edx
push eax
mov eax, dword [ebp + 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x2e95ab6
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x2e95abe
jmp 0x2e95fd1
pop edx
pop eax
jg 0x2e95fd1
lea eax, [ebp - 0x40]
call fcn.02e64324
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
cmp word [eax], 0x5a4d
jne 0x2e95fd1
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x3c]
add esi, ebx
cmp dword [esi], 0x4550
jne 0x2e95fd1
lea eax, [ebp - 0x9c]
xor ecx, ecx
mov edx, 0x44
call fcn.02e6336c
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.02e6336c
mov dword [ebp - 0x9c], 0x44
mov dword [ebp - 0x70], 0x80
cmp byte [ebp + 0x10], 0
je 0x2e95bf7
mov eax, dword [0x2eb4984]
cmp dword [eax], 0
je 0x2e95bf7
mov eax, dword [0x2eb49ac]
cmp byte [eax], 0
je 0x2e95bf7
mov eax, dword [0x2eb48dc]
cmp byte [eax], 0
jne 0x2e95bf7
mov eax, dword [0x2eb4b60]
cmp byte [eax], 0
je 0x2e95baf
mov ecx, dword [0x2eb4b74]
mov ecx, dword [ecx]
mov edx, dword [0x2eb4b34]
mov edx, dword [edx]
lea eax, [ebp - 0x20c]
call fcn.02e641a0
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 0x208]
call fcn.02e68578
mov ecx, dword [ebp - 0x208]
lea eax, [ebp - 0x204]
mov edx, 0x2e95494
call fcn.02e641a0
mov edx, dword [ebp - 0x204]
lea eax, [ebp - 0x3c]
call fcn.02e64674
jmp 0x2e95be9
mov ecx, dword [0x2eb4b74]
mov ecx, dword [ecx]
mov edx, dword [0x2eb4b34]
mov edx, dword [edx]
lea eax, [ebp - 0x214]
call fcn.02e641a0
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.02e68578
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x3c]
call fcn.02e64674
mov eax, dword [ebp - 0x3c]
call fcn.02e64684
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 4]
mov eax, 0x2e954a4
call fcn.02e649c0
test eax, eax
je 0x2e95c1e
mov edx, dword [ebp - 4]
mov eax, 0x2e954a4
call fcn.02e649c0
cmp eax, 4
jge 0x2e95c1e
xor eax, eax
jmp 0x2e95c20
mov al, 1
test al, al
je 0x2e95c5d
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp + 8]
call fcn.02e64684
push eax
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.02e64684
push eax
push 0
call fcn.02e66f58
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x2d], al
jmp 0x2e95c9b
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp + 8]
call fcn.02e64684
push eax
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.02e64684
push eax
mov eax, dword [ebp - 4]
call fcn.02e64684
push eax
call fcn.02e66f58
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x2d], al
push 0x320
call fcn.02e67150
cmp byte [ebp - 0x2d], 1
jne 0x2e95fd1
cmp byte [ebp + 0xc], 0
je 0x2e95ce3
mov eax, dword [ebp - 0x58]
call fcn.02e9d240
cmp al, 1
jne 0x2e95ce3
push 0
mov eax, dword [ebp - 0x58]
push eax
call fcn.02e67158
mov eax, dword [ebp - 0x58]
push eax
call fcn.02e66f20
mov eax, dword [ebp - 0x54]
push eax
call fcn.02e66f20
jmp 0x2e95fd1
push 0
push 0x18
lea eax, [ebp - 0x1ec]
push eax
push 0
mov eax, dword [ebp - 0x58]
push eax
call fcn.02ea44e0
test eax, eax
jne 0x2e95fa5
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1e8]
add eax, 8
push eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.02e67108
neg eax
sbb eax, eax
neg eax
test al, al
je 0x2e95fa5
lea eax, [ebp - 0x18]
push eax
push 0x40
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.02e67108
neg eax
sbb eax, eax
neg eax
test al, al
je 0x2e95fa5
lea eax, [ebp - 0x18]
push eax
push 0xf8
lea eax, [ebp - 0x1d4]
push eax
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xa0]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.02e67108
neg eax
sbb eax, eax
neg eax
test al, al
je 0x2e95fa5
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x50]
add eax, eax
mov dword [ebp - 0x20], eax
push 0
push 0x8000000
push 0x40
lea eax, [ebp - 0x20]
push eax
push 0
push 0xf001f
lea eax, [ebp - 0x2c]
push eax
call fcn.02ea44f8
test eax, eax
jne 0x2e95fa5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x28], eax
push 0x40
push 0
push 1
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.02ea44f0
test eax, eax
jne 0x2e95fa5
push 0x40
push 0
push 1
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.02e66fd0
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.02ea44f0
test eax, eax
jne 0x2e95fa5
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1e8]
add eax, 8
push eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.02ea4518
test eax, eax
jne 0x2e95fa5
cmp dword [ebp - 0x18], 4
jne 0x2e95fa5
mov ecx, dword [esi + 0x54]
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.02e67270
lea edx, [ebp + 0x18]
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x24]
mov ecx, 4
call fcn.02e67270
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x24]
add eax, 4
mov ecx, dword [ebp + 0x18]
mov edx, ebx
call fcn.02e67270
mov eax, dword [ebp - 0x38]
call fcn.02e64694
inc eax
add eax, eax
push eax
mov eax, dword [ebp - 0x38]
call fcn.02e64684
mov edx, eax
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x24]
add eax, 4
add eax, dword [ebp + 0x18]
pop ecx
call fcn.02e67270
movzx eax, word [esi + 6]
dec eax
test eax, eax
jl 0x2e95efc
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, ebx
add eax, edx
add eax, 0xf8
mov ecx, dword [ebp - 0x34]
shl ecx, 3
lea ecx, [ecx + ecx*4]
add eax, ecx
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
xchg ecx, eax
call fcn.02e67270
inc dword [ebp - 0x34]
dec dword [ebp - 0x48]
jne 0x2e95ec8
mov edx, dword [esi + 0x34]
mov eax, dword [ebp - 0x28]
cmp edx, eax
je 0x2e95f2e
sub eax, edx
push eax
push esi
mov eax, dword [ebp - 0x24]
push eax
call fcn.02e93ed0
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x24]
mov ecx, 0xf8
mov edx, esi
call fcn.02e67270
mov eax, dword [ebp - 0x24]
push eax
call fcn.02e66fd0
push eax
call fcn.02ea44e8
lea eax, [ebp - 0x44]
call fcn.02e95964
mov ebx, eax
test ebx, ebx
je 0x2e95fa5
mov dword [ebx], 0x10007
push ebx
mov eax, dword [ebp - 0x54]
push eax
call fcn.02e67068
test eax, eax
je 0x2e95f95
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x28]
mov dword [ebx + 0xb0], eax
push ebx
mov eax, dword [ebp - 0x54]
push eax
call fcn.02e67140
test eax, eax
je 0x2e95f95
mov eax, dword [ebp - 0x54]
push eax
call fcn.02e67118
cmp eax, 0xffffffff
je 0x2e95f95
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
push 0x8000
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.02e67170
cmp dword [ebp - 0xc], 0
jne 0x2e95fbf
push 0
mov eax, dword [ebp - 0x58]
push eax
call fcn.02e67158
mov eax, dword [ebp - 0x58]
push eax
call fcn.02e66f20
mov eax, dword [ebp - 0x2c]
push eax
call fcn.02e66f20
mov eax, dword [ebp - 0x54]
push eax
call fcn.02e66f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e95446
lea eax, [ebp - 0x214]
mov edx, 6
call fcn.02e63f70
lea eax, [ebp - 0x1fc]
mov edx, 2
call fcn.02e6451c
lea eax, [ebp - 0x1f4]
call fcn.02e63f4c
lea eax, [ebp - 0x1f0]
call fcn.02e64504
lea eax, [ebp - 0x40]
call fcn.02e63f4c
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.02e6451c
lea eax, [ebp - 8]
mov edx, 2
call fcn.02e6451c
lea eax, [ebp + 8]
call fcn.02e64504
ret