Function at 0x10007560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020c5d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1003200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
movlpd qword [ebp - 0x28], xmm0
push 0x18
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 0x800
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.1000f183
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push 1
push eax
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.10006670
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x100078f5
mov ecx, esi
call fcn.10001c60
mov edi, eax
mov esi, edx
mov ecx, edi
mov dword [ebp - 0x4c], edi
or ecx, esi
mov dword [ebp - 0x50], esi
je 0x100078f5
push 4
push 0x3000
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
call fcn.1000ee9f
add esp, 0x18
test eax, eax
jne 0x100078f5
mov edx, dword [ebp - 0x2c]
mov ecx, edi
add ecx, 0x800
mov dword [ebp - 0x20], edx
mov eax, esi
mov dword [ebp - 0x3c], edi
adc eax, 0
mov dword [ebp - 0x38], esi
test eax, eax
ja 0x10007687
jb 0x10007677
cmp ecx, 0xffffffff
jae 0x10007687
mov esi, edi
mov ecx, 0x200
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x4c]
jmp 0x100076a0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0
push dword [ebp - 0x20]
call [0x1002f484]
add esp, 0x18
mov eax, dword [ebp - 0x2c]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x100076b6
cmp word [ebx], cx
jne 0x100078f8
mov ecx, dword [eax + 0x3c]
mov esi, dword [ebx + 0x3c]
add esi, ebx
mov dword [ebp - 0x38], esi
cmp dword [ecx + eax], 0x4550
je 0x100076d6
cmp dword [esi], 0x4550
jne 0x100078f8
mov eax, dword [ecx + eax + 0x50]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 0x1000
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
call fcn.1000ee9f
add esp, 0x18
test eax, eax
jne 0x100078f5
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
mov ecx, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
xor eax, eax
add ecx, edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x48], edi
adc eax, dword [ebp - 0x50]
test eax, eax
ja 0x10007738
jb 0x10007729
cmp ecx, 0xffffffff
jae 0x10007738
push edx
push edi
push dword [ebp - 0x30]
call fcn.100138b0
add esp, 0xc
jmp 0x10007751
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 0
push dword [ebp - 0x40]
call [0x1002f484]
add esp, 0x18
cmp dword [ebp - 0x2c], 0
je 0x1000776e
push 0x8000
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
call fcn.1000eeaa
add esp, 0x10
mov eax, dword [esi + 0x50]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 0x1000
push eax
push 0
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
call fcn.1000ee9f
add esp, 0x18
test eax, eax
jne 0x100078f5
push dword [esi + 0x54]
push ebx
push dword [ebp - 0x34]
call fcn.100138b0
mov eax, dword [ebx + 0x3c]
xor ecx, ecx
add esp, 0xc
add eax, 0x11c
xor edi, edi
cmp cx, word [esi + 6]
jae 0x100077eb
lea esi, [eax + ebx]
nop dword [eax + eax]
mov eax, dword [esi - 4]
test eax, eax
je 0x100077dc
push eax
mov eax, dword [esi]
add eax, ebx
push eax
mov eax, dword [esi - 8]
add eax, dword [ebp - 0x34]
push eax
call fcn.100138b0
add esp, 0xc
mov eax, dword [ebp - 0x38]
inc edi
add esi, 0x28
movzx eax, word [eax + 6]
cmp edi, eax
jb 0x100077c0
push ebx
push 0xffffffffffffffff
call fcn.1000eef7
xor ebx, ebx
push 0x10
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.1000f183
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [esi], esi
mov dword [esi + 4], esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
push 0x10
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.1000f183
mov dword [ebp - 0x60], eax
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x60], esi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10008930
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx + 4]
mov dword [eax], ebx
mov eax, dword [ecx]
test eax, eax
je 0x1000787c
mov esi, dword [eax]
push 0x10
push eax
call fcn.1000f1b3
add esp, 8
mov eax, esi
test esi, esi
jne 0x10007866
mov ecx, dword [ebp - 0x60]
push 0x10
push ecx
call fcn.1000f1b3
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x100078b6
nop dword [eax]
mov esi, dword [eax]
push 0x10
push eax
call fcn.1000f1b3
add esp, 8
mov eax, esi
test esi, esi
jne 0x100078a0
mov ecx, dword [ebp - 0x4c]
push 0x10
push ecx
call fcn.1000f1b3
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push 1
call fcn.10006990
mov eax, dword [ebp - 0x48]
add esp, 4
mov edx, dword [ebp - 0x30]
xor ecx, ecx
add eax, 0x18
push 1
sub esp, 0x14
cmp byte [ebp - 0x44], 1
cmovne eax, ecx
mov ecx, dword [ebp - 0x34]
push eax
push dword [ebp - 0x50]
push edi
call fcn.10006d00
add esp, 0x2c
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10007913
push 0x8000
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
call fcn.1000eeaa
add esp, 0x10
cmp dword [ebp - 0x30], 0
je 0x10007930
push 0x8000
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
call fcn.1000eeaa
add esp, 0x10
cmp dword [ebp - 0x34], 0
je 0x1000794d
push 0x8000
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
call fcn.1000eeaa
add esp, 0x10
test ebx, ebx
je 0x1000795c
push ebx
push 0xffffffffffffffff
call fcn.1000eef7
add esp, 8
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1000796c
push eax
call fcn.1000ee94
add esp, 4
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x1000797c
push eax
call fcn.1000ee94
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x100079a8
mov esi, dword [eax]
push 0x18
push eax
call fcn.1000f1b3
add esp, 8
mov eax, esi
test esi, esi
jne 0x10007995
push 0x18
push dword [ebp - 0x28]
call fcn.1000f1b3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f090
mov esp, ebp
pop ebp
ret