Function at 0x2895368
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x1d0
mov eax, dword [0x28ba518]
push ebx
push edi
xor edi, edi
push 0xb
mov dword [ebp + 0x70], eax
mov ebx, ecx
mov dword [ebp - 8], edi
call fcn.02894527
cmp eax, edi
mov dword [ebx + 0x834], eax
je 0x28953a3
mov byte [ebx + 0xc94], 1
mov al, 1
jmp 0x28956e8
push 0xa
mov ecx, ebx
call fcn.02894527
cmp eax, edi
mov dword [ebx + 0x838], eax
je 0x28953d7
mov ecx, ebx
call fcn.02894e71
test al, al
je 0x28953d7
push dword [ebp + 0x7c]
mov ecx, ebx
mov byte [ebx + 0xc78], 1
call fcn.02894996
jmp 0x28956e8
push 4
mov ecx, ebx
call fcn.02894527
cmp eax, edi
mov dword [ebx + 0x82c], eax
jne 0x2895429
push 5
mov ecx, ebx
call fcn.02894527
cmp eax, edi
mov dword [ebx + 0x830], eax
jne 0x2895429
push 0x20
push 0x280c784
push dword [ebp + 0x7c]
call fcn.0289e8f9
add esp, 0xc
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x2895429
push dword [ebp + 0x7c]
mov ecx, ebx
push 4
call fcn.02894542
xor al, al
jmp 0x28956e8
push esi
mov esi, dword [ebp - 8]
lea eax, [ebp + 8]
push eax
push 0x40
push edi
push esi
mov ecx, ebx
call fcn.0289450a
test al, al
je 0x28956c1
cmp esi, edi
je 0x2895470
cmp word [ebp + 8], 0x4944
jne 0x2895470
push esi
call dword [0x2801234]
mov eax, dword [ebp + 0x10]
pop ecx
push dword [ebp + 0x7c]
mov ecx, ebx
mov dword [ebx + 0xc80], eax
call fcn.02894c69
jmp 0x28956e7
cmp word [ebp + 8], 0x5a4d
jne 0x28956c1
push dword [ebp + 0x7c]
mov ecx, ebx
call fcn.02894996
test al, al
jne 0x2895496
push esi
call dword [0x2801234]
jmp 0x28956e4
cmp dword [ebp + 0x44], edi
jle 0x28956c1
lea eax, [ebp - 0x15c]
push eax
push 0xf8
push dword [ebp + 0x44]
mov ecx, ebx
push esi
call fcn.0289450a
test al, al
je 0x28956c1
cmp dword [ebp - 0x15c], 0x4550
jne 0x28956c1
movzx eax, word [ebp - 0x144]
cmp eax, 0x10b
je 0x289550e
cmp eax, 0x20b
jne 0x28956c1
cmp dword [ebp - 0xd8], 6
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0xc7c], eax
jb 0x28956d2
mov eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xa0]
jmp 0x2895533
cmp dword [ebp - 0xe8], 6
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0xc7c], eax
jb 0x28956d2
mov eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
test eax, eax
mov dword [ebp - 4], eax
je 0x28956d2
test edi, edi
je 0x28956d2
movzx eax, word [ebp - 0x148]
mov ecx, dword [ebp + 0x44]
and dword [ebp], 0
lea esi, [eax + ecx + 0x18]
movzx eax, word [ebp - 0x156]
test eax, eax
mov dword [ebp - 0xc], eax
jbe 0x289559e
lea eax, [ebp + 0x48]
push eax
push 0x28
push esi
push dword [ebp - 8]
mov ecx, ebx
call fcn.0289450a
test al, al
je 0x289559e
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp - 4]
add esi, 0x28
cmp ecx, eax
ja 0x2895593
mov edx, dword [ebp + 0x58]
add edx, ecx
add eax, edi
cmp edx, eax
jae 0x289559e
inc dword [ebp]
mov eax, dword [ebp]
cmp eax, dword [ebp - 0xc]
jb 0x2895566
mov eax, dword [ebp - 0xc]
cmp dword [ebp], eax
je 0x28956c1
mov eax, edi
push 0x1c
xor edx, edx
pop edi
div edi
mov esi, dword [ebp + 0x5c]
sub esi, dword [ebp + 0x54]
xor ecx, ecx
add esi, dword [ebp - 4]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp], ecx
cmp eax, ecx
mov dword [ebp - 0x10], eax
jbe 0x289562d
push 0
lea eax, [ebp - 0x48]
push eax
push 0x1c
push dword [ebp - 4]
mov ecx, ebx
push esi
push dword [ebp - 8]
call fcn.02894474
test al, al
je 0x28956c1
add dword [ebp - 4], 0x1c
lea eax, [ebp - 0x48]
push eax
add esi, 0x1c
push 1
mov ecx, ebx
mov dword [ebp - 0xc], esi
call fcn.02894a00
cmp dword [ebp - 0x3c], 2
jne 0x289560e
lea edi, [ebp - 0x64]
jmp 0x2895617
cmp dword [ebp - 0x3c], 4
jne 0x2895622
lea edi, [ebp - 0x2c]
push 7
pop ecx
lea esi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc]
inc dword [ebp]
mov eax, dword [ebp]
cmp eax, dword [ebp - 0x10]
jb 0x28955ce
mov ecx, dword [ebp - 8]
xor edx, edx
cmp dword [ebp - 0x58], edx
mov dword [ebx + 0x86c], ecx
mov byte [ebp + 7], 0
je 0x2895667
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0xc98], eax
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0xc9c], eax
mov eax, dword [ebp - 0x4c]
mov byte [ebp + 7], 1
mov byte [ebx + 0xc94], 1
mov dword [ebx + 0xca0], eax
mov eax, dword [ebp - 0x146]
shr eax, 9
and al, 1
mov byte [ebx + 0xc78], al
je 0x28956aa
cmp dword [ebp - 0x20], edx
je 0x28956aa
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x154]
push dword [ebp - 0x18]
mov dword [ebx + 0xc80], eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
push ecx
push edx
mov ecx, ebx
mov byte [ebp + 7], 1
mov dword [ebx + 0xc84], eax
call fcn.02894aff
cmp byte [ebp + 7], 0
jne 0x28956bc
push dword [ebp + 0x7c]
mov ecx, ebx
push 0x13
call fcn.02894542
mov al, byte [ebp + 7]
jmp 0x28956e7
push dword [ebp + 0x7c]
mov ecx, ebx
push 0x11
call fcn.02894542
push dword [ebp - 8]
jmp 0x28956df
push dword [ebp + 0x7c]
mov ecx, ebx
push 0x13
call fcn.02894542
push esi
call fcn.02894466
pop ecx
xor al, al
pop esi
mov ecx, dword [ebp + 0x70]
pop edi
pop ebx
call fcn.02852cd0
add ebp, 0x74
leave
ret 4