Function at 0x10029e80
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058c54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x10f8
push ebx
call fcn.1003c6f0
push esi
push edi
push 0x30
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x24], 0
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x1c], edi
call fcn.1003d9f0
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [ebp - 0x18], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
mov ecx, 0x10000
mov esi, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], esi
mov eax, dword [edi]
lea esi, [ebp - 0xb0]
push esi
push edx
push ecx
mov eax, dword [eax + 0x18]
mov ecx, edi
call eax
mov esi, dword [ebp - 0x14]
cmp eax, 0xc000000d
je 0x1002a33f
cmp eax, 0xc0000022
je 0x1002a33f
cmp eax, 0xc000010a
je 0x1002a33f
test eax, eax
jne 0x1002a30d
cmp dword [ebp - 0x90], 0x1000
jne 0x1002a30d
cmp dword [ebp - 0x88], 0x1000000
jne 0x1002a30d
mov edi, dword [ebp - 0xa8]
cmp esi, edi
mov esi, dword [ebp - 0xa4]
jne 0x10029f8e
cmp dword [ebp - 0x20], esi
je 0x1002a30a
push 0x1000
lea eax, [ebp - 0x1100]
push 0
push eax
call fcn.1003d9f0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x900]
add esp, 0xc
mov eax, dword [eax]
push 0x800
push ecx
push 2
mov eax, dword [eax + 0x14]
push esi
push edi
mov edi, dword [ebp - 0x1c]
mov ecx, edi
call eax
test eax, eax
js 0x1002a2f6
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x58], xmm0
push 0
push 0x800
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1100]
mov eax, dword [edi]
push ecx
push dword [ebp - 0xa4]
mov ecx, edi
push dword [ebp - 0xa8]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x1002a039
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.10001e00
lea ecx, [ebp - 0x70]
call fcn.10001e00
jmp 0x1002a30d
mov eax, dword [ebp - 0x10c4]
lea ecx, [ebp - 0x1100]
add eax, ecx
mov ecx, 0x5a4d
cmp word [ebp - 0x1100], cx
jne 0x1002a099
cmp dword [eax], 0x4550
jne 0x1002a099
movzx ecx, word [eax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x1002a07d
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
jmp 0x1002a133
mov edx, 0x20b
cmp cx, dx
jne 0x1002a020
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 1
jmp 0x1002a133
push 0x30
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.1003d9f0
mov esi, dword [ebp - 0xa4]
add esp, 0xc
mov eax, dword [ebp - 0xa8]
cmp esi, 0x7fff
ja 0x1002a12c
jb 0x1002a0d0
cmp eax, 0xfffeffff
jae 0x1002a12c
nop dword [eax]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
lea ecx, [ebp - 0x100]
push ecx
push esi
push eax
mov ecx, edi
call edx
test eax, eax
js 0x1002a11d
cmp dword [ebp - 0xd8], 0x1000000
jne 0x1002a11d
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0x100]
mov esi, dword [ebp - 0xe4]
adc esi, dword [ebp - 0xfc]
cmp esi, 0x7fff
jb 0x1002a0d0
ja 0x1002a12c
cmp eax, 0xfffeffff
jb 0x1002a0d0
jmp 0x1002a12c
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0xa8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 3
sub esp, 0x18
xorps xmm0, xmm0
cmp byte [edi + 0xe], 1
mov edx, esp
jne 0x1002a16d
mov esi, dword [ebp - 0x8fc]
mov ecx, esi
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
movups xmmword [edx], xmm0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002a160
jmp 0x1002a19b
mov esi, dword [ebp - 0x8f8]
mov ecx, esi
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
movups xmmword [edx], xmm0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002a190
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.10001fa0
lea ecx, [ebp - 0xd0]
call fcn.10012cc0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x1002a1eb
mov ecx, eax
call fcn.10001e00
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movups xmmword [esi], xmm0
lea ecx, [ebp - 0xd0]
call fcn.10001e00
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0xd0]
call fcn.10012770
mov esi, eax
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x1002a239
mov ecx, eax
call fcn.10001e00
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x60], xmm0
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movups xmmword [esi], xmm0
lea ecx, [ebp - 0xd0]
call fcn.10001e00
mov ecx, dword [ebp - 0xa4]
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0xa8]
xorps xmm0, xmm0
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x78], eax
movlpd qword [ebp - 0x38], xmm0
mov byte [ebp - 0x30], 0
call fcn.10015270
mov edx, eax
mov byte [ebp - 4], 2
mov esi, dword [ebx + 8]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x1002a2ab
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [esi + 4], 8
jmp 0x1002a2b4
push edx
push ecx
mov ecx, esi
call fcn.10025470
mov esi, dword [ebp - 0xb4]
test esi, esi
je 0x1002a2df
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1002a2df
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1002a2df
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.10001e00
lea ecx, [ebp - 0x70]
call fcn.10001e00
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], esi
jmp 0x1002a30d
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x98]
add ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x94]
adc edx, dword [ebp - 0xac]
cmp edx, 0x7fff
jb 0x10029f17
ja 0x1002a33f
cmp ecx, 0xfffeffff
jb 0x10029f17
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4