Function at 0x1000c830
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
push ebx
push esi
push edi
push 0x4000
mov eax, edx
mov dword [ebp - 0x38], 0
push ecx
mov dword [ebp - 8], eax
push 1
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
push 0x80000000
push ecx
shr eax, 4
and eax, 1
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1000b6f0
mov esi, eax
test esi, esi
js 0x1000c8e7
push ecx
push 0x40
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x38]
call fcn.1000b7b0
mov esi, eax
test esi, esi
js 0x1000c8e7
mov eax, 0x5a4d
cmp word [ebp - 0x80], ax
jne 0x1000c8e2
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x38]
cdq
push edx
push eax
sub esp, 8
call fcn.1000b770
mov esi, eax
test esi, esi
js 0x1000c8e7
push ecx
push 0x18
lea eax, [ebp - 0x188]
push eax
call fcn.1000b7b0
mov esi, eax
test esi, esi
js 0x1000c8e7
cmp dword [ebp - 0x188], 0x4550
jne 0x1000c8e2
movzx eax, word [ebp - 0x184]
cmp eax, 0x14c
je 0x1000c91f
cmp eax, 0x8664
je 0x1000c904
mov esi, 0xc000007b
mov eax, esi
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.1000b6d0
mov eax, esi
lea esp, [ebp - 0x198]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx esi, word [ebp - 0x174]
xor edi, edi
lea eax, [esi + 0xf]
and eax, 0xfffffff0
call fcn.1000eac0
mov ebx, esp
push ecx
push esi
push ebx
jmp 0x1000c938
movzx esi, word [ebp - 0x174]
lea eax, [esi + 0xf]
and eax, 0xfffffff0
call fcn.1000eac0
mov edi, esp
xor ebx, ebx
push ecx
push esi
push edi
lea ecx, [ebp - 0x38]
call fcn.1000b7b0
mov esi, eax
test esi, esi
js 0x1000c8e7
movzx eax, word [ebp - 0x182]
lea esi, [eax + eax*4]
shl esi, 3
lea eax, [esi + 0xf]
and eax, 0xfffffff0
call fcn.1000eac0
mov eax, esp
push ecx
push esi
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
call fcn.1000b7b0
mov esi, eax
test esi, esi
js 0x1000c8e7
test edi, edi
je 0x1000c9a6
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [edi + 0x60]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x1c], 0
jmp 0x1000c9c7
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x70]
mov ebx, dword [ebp - 8]
mov edx, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
and eax, 0x20
mov dword [ebp - 4], ecx
shl eax, 0xf
mov ecx, ebx
push 0xffffffffffffffff
or eax, 0x3000
push eax
push 0x40
call fcn.1000cd00
mov esi, eax
test esi, esi
js 0x1000c8e7
mov ebx, dword [ebx]
lea ecx, [ebp - 0x38]
push 0
push 0
sub esp, 8
mov dword [ebp - 0xc], ebx
call fcn.1000b770
test eax, eax
js 0x1000c8e9
push ecx
push edi
push ebx
call fcn.1000b7b0
test eax, eax
js 0x1000c8e9
movzx eax, word [ebp - 0x182]
mov dword [ebp - 8], eax
test eax, eax
je 0x1000caa8
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
add edi, 0x14
lea esp, [esp]
mov eax, dword [edi - 4]
xor edx, edx
dec eax
add eax, ecx
div ecx
mov ebx, eax
imul ebx, ecx
test ebx, ebx
je 0x1000ca9c
mov eax, dword [edi]
xor edx, edx
div ecx
push 0
imul eax, ecx
lea ecx, [ebp - 0x38]
push eax
sub esp, 8
call fcn.1000b770
mov esi, eax
test esi, esi
js 0x1000c8eb
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [edi - 8]
div ecx
push ecx
imul eax, ecx
lea ecx, [ebp - 0x38]
push ebx
add eax, dword [ebp - 0xc]
push eax
call fcn.1000b7b0
mov esi, eax
test esi, esi
js 0x1000c8eb
mov ecx, dword [ebp - 0x10]
add edi, 0x28
sub dword [ebp - 8], 1
jne 0x1000ca40
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
test al, 2
jne 0x1000cadb
lea ecx, [edi + 0x28]
call fcn.1000b050
test eax, eax
je 0x1000cad8
mov edx, dword [ebp + 8]
mov ecx, ebx
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.1000c5c0
mov edx, dword [ebp - 4]
mov esi, eax
mov eax, dword [ebp + 0xc]
test al, 1
jne 0x1000c8eb
lea ecx, [edi + 8]
call fcn.1000b050
test eax, eax
je 0x1000c8eb
mov ecx, dword [edi + 8]
movzx eax, word [ebp - 0x184]
add ecx, ebx
cmp eax, 0x14c
je 0x1000cb1e
cmp eax, 0x8664
jne 0x1000c8eb
push ecx
mov edx, ebx
call fcn.1000c750
jmp 0x1000c8e9
push dword [ebp + 0xc]
mov edx, ebx
call fcn.1000c670
jmp 0x1000c8e9