Function at 0x10042870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100811a7
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10097288]
xor eax, esp
mov dword [esp + 0x80], eax
push esi
push edi
mov eax, dword [0x10097288]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xa4]
xor edi, edi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x9c], edi
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
test eax, eax
je 0x10042917
cmp eax, 0x3fe40
jbe 0x10042909
push 0x1008e028
call fcn.1006ec2a
push eax
lea ecx, [esp + 0x34]
call fcn.10013280
mov edi, dword [esp + 0x34]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x48], 0
mov eax, dword [eax + 4]
call eax
test eax, eax
jle 0x10042b43
mov dword [esp + 0x4c], 0
xor ecx, ecx
lea ebx, [ebx]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push ecx
mov edx, esi
mov byte [esp + 0xa0], 1
lea ecx, [esp + 0x24]
call fcn.10052590
mov eax, dword [esp + 0xb0]
add esp, 4
mov eax, dword [eax]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
cmp edi, dword [esp + 0x38]
jne 0x10042994
push ecx
lea ecx, [esp + 0x34]
call fcn.10018fa0
mov edi, dword [esp + 0x34]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x20]
test edi, edi
je 0x10042aee
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x64]
mov ecx, dword [eax + 0x68]
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, 0x1000
sub eax, ecx
mov dword [edi + 0x4004], edx
push eax
push edx
push ecx
lea edx, [edi + 0x2004]
lea ecx, [edi + 4]
call fcn.10053d20
mov eax, dword [esp + 0x30]
add esp, 0xc
sub eax, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
movdqa xmm0, xmmword [0x1008f280]
lea ecx, [edi + 0x400c]
sar eax, 3
movdqu xmmword [esp + 0x54], xmm0
mov dword [edi + 0x4008], eax
lea eax, [esp + 0x50]
movdqu xmmword [esp + 0x64], xmm0
push eax
movdqa xmm0, xmmword [0x1008f280]
movdqu xmmword [esp + 0x7c], xmm0
mov dword [esp + 0x78], 0x8000800
mov dword [esp + 0x8c], 0x8000800
push ecx
mov dword [esp + 0x58], 0x80003e8
mov dword [esp + 0x5c], 0x3e803e8
mov dword [esp + 0x60], 0x4b004b0
mov dword [esp + 0x64], 0x5dc05dc
mov dword [esp + 0x68], 0x6d606d6
mov dword [esp + 0x6c], 0x7d007d0
mov dword [esp + 0x70], 0x8fc08fc
mov dword [esp + 0x74], 0xaf00af0
mov dword [esp + 0x78], 0x9600960
mov dword [esp + 0x7c], 0x8fc08fc
mov dword [esp + 0x80], 0x73a076c
mov dword [esp + 0x84], 0x6d60708
mov dword [esp + 0x88], 0x6400672
mov dword [esp + 0x8c], 0x8000640
mov dword [esp + 0x90], 0x8000800
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.1003a680
mov eax, dword [esp + 0x44]
mov dword [edi + 0x4018], eax
mov eax, dword [eax]
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x20]
add edi, 0x401c
mov byte [esp + 0x9c], 0
mov dword [esp + 0x34], edi
test eax, eax
je 0x10042b25
push eax
call fcn.1006f76a
add esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov eax, dword [esi]
mov ecx, esi
inc dword [esp + 0x48]
add dword [esp + 0x4c], 0xc
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jl 0x10042940
mov eax, dword [esp + 0x40]
xor edi, edi
mov ecx, dword [eax]
mov esi, ecx
mov dword [esp + 0x48], ecx
lea eax, [edi + 1]
mov dword [esp + 0x44], eax
cdq
sub eax, edx
mov edx, 1
sar eax, 1
mov ecx, eax
shl edx, cl
cmp edx, dword [esi + 0x18]
jb 0x10042b80
mov eax, edi
cdq
sub eax, edx
mov edx, 1
sar eax, 1
mov ecx, eax
shl edx, cl
cmp edx, dword [esi + 0x14]
jae 0x10042b86
mov edi, dword [esp + 0x44]
jmp 0x10042b51
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0xb0], edi
jne 0x10042c70
test edx, edx
jle 0x10042c70
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
cmp dword [eax + 0x24], ecx
jle 0x10042c70
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [esi]
mov ecx, esi
push dword [esp + 0x4c]
mov edi, eax
mov edx, dword [edx + 8]
call edx
cmp eax, edi
jge 0x10042c49
mov eax, dword [esp + 0x40]
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x10042c37
jmp 0x10042bf0
mov eax, dword [esp + 0x4c]
push 0
push 0
push 0
mov ecx, dword [esi + eax*4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esp + 0x3c]
push eax
push dword [esp + 0x50]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
push eax
mov eax, dword [esp + 0x44]
mov ecx, eax
push dword [esp + 0x54]
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
push eax
lea ecx, [esp + 0x50]
call fcn.10040db0
add esi, 0x6c
cmp esi, edi
jne 0x10042bf0
add dword [0x1009b7a0], 1
mov esi, dword [esp + 0x3c]
adc dword [0x1009b7a4], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x4c], ecx
mov eax, dword [eax]
cmp ecx, dword [eax + 0x24]
jl 0x10042bc1
mov edx, dword [esp + 0xb4]
jmp 0x10042c70
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push edx
push dword [esp + 0xb8]
mov edx, dword [esp + 0x38]
push esi
push dword [esp + 0x50]
push eax
call fcn.10045ec0
mov eax, dword [esp + 0x48]
add esp, 0x18
test eax, eax
je 0x10042cf0
mov esi, dword [esp + 0x34]
cmp eax, esi
je 0x10042ce7
lea edi, [eax + 0x400c]
lea esp, [esp]
mov eax, dword [edi]
test eax, eax
je 0x10042cd3
push eax
call fcn.1006f76a
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
add edi, 0x401c
lea eax, [edi - 0x400c]
cmp eax, esi
jne 0x10042cb0
mov eax, dword [esp + 0x30]
push eax
call fcn.1006f76a
add esp, 4
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.1006ece9
add esp, 0x94
ret