Function at 0x30dc0a2
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x30f8968]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1b0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push 0xb
mov ebx, ecx
mov dword [ebp - 0x1b4], esi
call fcn.030db05c
mov dword [ebx + 0x834], eax
test eax, eax
je 0x30dc0ea
mov byte [ebx + 0xc94], 1
mov al, 1
jmp 0x30dc4d0
push 0xa
mov ecx, ebx
call fcn.030db05c
mov dword [ebx + 0x838], eax
test eax, eax
je 0x30dc11c
mov ecx, ebx
call fcn.030dbf7c
test al, al
je 0x30dc11c
push esi
mov ecx, ebx
mov byte [ebx + 0xc78], 1
call fcn.030db52e
jmp 0x30dc4d0
push 4
mov ecx, ebx
call fcn.030db05c
mov dword [ebx + 0x82c], eax
test eax, eax
jne 0x30dc16d
push 5
mov ecx, ebx
call fcn.030db05c
mov dword [ebx + 0x830], eax
test eax, eax
jne 0x30dc16d
push 0x20
push 0x3010b34
push esi
call fcn.030d7506
add esp, 0xc
mov dword [ebp - 0x1b0], eax
test eax, eax
jne 0x30dc16d
push esi
push 4
mov ecx, ebx
call fcn.030db081
xor al, al
jmp 0x30dc4d0
push edi
mov edi, dword [ebp - 0x1b0]
lea eax, [ebp - 0xa4]
push eax
push 0x40
push 0
push edi
mov ecx, ebx
call fcn.030db038
test al, al
je 0x30dc1c9
test edi, edi
je 0x30dc1e3
mov eax, 0x4944
cmp word [ebp - 0xa4], ax
jne 0x30dc1e3
push edi
call fcn.030daf82
mov eax, dword [ebp - 0x9c]
pop ecx
push esi
mov ecx, ebx
mov dword [ebx + 0xc80], eax
call fcn.030dbd55
test al, al
jne 0x30dc4cf
cmp dword [ebx], 0xb
jne 0x30dc4cf
push dword [ebp - 0x1b4]
mov ecx, ebx
push 0x11
call fcn.030db081
push dword [ebp - 0x1b0]
jmp 0x30dc4c7
mov eax, 0x5a4d
cmp word [ebp - 0xa4], ax
jne 0x30dc1c9
push esi
mov ecx, ebx
call fcn.030db52e
test al, al
je 0x30dc4c6
cmp dword [ebp - 0x68], 0
jle 0x30dc1c9
lea eax, [ebp - 0x19c]
push eax
push 0xf8
push dword [ebp - 0x68]
mov ecx, ebx
push edi
call fcn.030db038
test al, al
je 0x30dc1c9
cmp dword [ebp - 0x19c], 0x4550
jne 0x30dc1c9
movzx eax, word [ebp - 0x184]
cmp eax, 0x10b
je 0x30dc270
cmp eax, 0x20b
jne 0x30dc1c9
cmp dword [ebp - 0x118], 6
mov eax, dword [ebp - 0x14c]
mov dword [ebx + 0xc7c], eax
jb 0x30dc4bc
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0xe0]
jmp 0x30dc29b
cmp dword [ebp - 0x128], 6
mov eax, dword [ebp - 0x14c]
mov dword [ebx + 0xc7c], eax
jb 0x30dc4bc
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0xf0]
xor ecx, ecx
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1ac], ecx
je 0x30dc4bc
cmp eax, ecx
je 0x30dc4bc
cmp dword [ebx + 0x82c], ecx
jne 0x30dc2d2
cmp dword [ebx + 0x830], ecx
je 0x30dc2d2
mov dword [ebp - 0x1a4], ecx
jmp 0x30dc359
movzx edi, word [ebp - 0x196]
movzx eax, word [ebp - 0x188]
mov ecx, dword [ebp - 0x68]
and dword [ebp - 0x1a4], 0
lea esi, [eax + ecx + 0x18]
test edi, edi
jbe 0x30dc339
lea eax, [ebp - 0x2c]
push eax
push 0x28
push esi
push dword [ebp - 0x1b0]
mov ecx, ebx
call fcn.030db038
test al, al
je 0x30dc339
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1ac]
add esi, 0x28
cmp ecx, eax
ja 0x30dc32b
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov ecx, dword [ebp - 0x1a8]
add ecx, eax
cmp edx, ecx
jae 0x30dc339
inc dword [ebp - 0x1a4]
cmp dword [ebp - 0x1a4], edi
jb 0x30dc2f2
cmp dword [ebp - 0x1a4], edi
je 0x30dc1c9
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1ac]
xor ecx, ecx
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a8]
push 0x1c
xor edx, edx
pop esi
div esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1b8], eax
cmp eax, ecx
ja 0x30dc42e
mov ecx, dword [ebp - 0x1b0]
xor edx, edx
mov dword [ebx + 0x86c], ecx
mov byte [ebp - 0x19d], 0
cmp dword [ebp - 0x14], edx
je 0x30dc3c3
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xc98], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xc9c], eax
mov eax, dword [ebp - 8]
mov byte [ebp - 0x19d], 1
mov byte [ebx + 0xc94], 1
mov dword [ebx + 0xca0], eax
mov eax, dword [ebp - 0x186]
shr eax, 9
and al, 1
mov byte [ebx + 0xc78], al
je 0x30dc409
cmp dword [ebp - 0x3c], edx
je 0x30dc409
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x194]
push dword [ebp - 0x34]
mov dword [ebx + 0xc80], eax
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
push ecx
push edx
mov ecx, ebx
mov byte [ebp - 0x19d], 1
mov dword [ebx + 0xc84], eax
call fcn.030db79a
cmp byte [ebp - 0x19d], 0
jne 0x30dc421
push dword [ebp - 0x1b4]
mov ecx, ebx
push 0x13
call fcn.030db081
mov al, byte [ebp - 0x19d]
jmp 0x30dc4cf
xor ecx, ecx
push ecx
lea eax, [ebp - 0x64]
push eax
push 0x1c
push dword [ebp - 0x1ac]
mov ecx, ebx
push dword [ebp - 0x1a4]
push dword [ebp - 0x1b0]
call fcn.030daf9b
test al, al
je 0x30dc1c9
add dword [ebp - 0x1ac], 0x1c
cmp dword [ebx + 0x82c], 0
jne 0x30dc46f
cmp dword [ebx + 0x830], 0
jne 0x30dc476
add dword [ebp - 0x1a4], 0x1c
lea eax, [ebp - 0x64]
push eax
push 1
mov ecx, ebx
call fcn.030db5ac
cmp dword [ebp - 0x58], 2
jne 0x30dc48e
lea edi, [ebp - 0x20]
jmp 0x30dc497
cmp dword [ebp - 0x58], 4
jne 0x30dc49f
lea edi, [ebp - 0x48]
push 7
pop ecx
lea esi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
inc dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1a8]
cmp eax, dword [ebp - 0x1b8]
jb 0x30dc42c
jmp 0x30dc380
push esi
push 0x13
mov ecx, ebx
call fcn.030db081
push edi
call fcn.030daf82
pop ecx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0306b4ac
leave
ret 4