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

Disassembly:
push 0xffffffffffffffff
push 0x10080f30
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097288]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], ecx
mov esi, dword [ecx]
mov eax, dword [esi + 0x24]
cmp eax, 3
jle 0x1003ae34
cmp byte [esi + 0x3c], 0
mov byte [esp + 0x1a], 1
jne 0x1003ae39
mov byte [esp + 0x1a], 0
mov ebp, dword [esp + 0x88]
cmp eax, 5
sete byte [esp + 0x1b]
cmp eax, 3
jle 0x1003ae56
mov eax, dword [ebp*4 + 0x1008c910]
jmp 0x1003ae5d
mov eax, dword [ebp*4 + 0x1008c990]
push eax
lea ecx, [esp + 0x70]
call fcn.10018f50
lea eax, [esp + 0x54]
mov dword [esp + 0x80], 0
push eax
xorps xmm0, xmm0
mov dword [esp + 0x64], 0
push 3
lea ecx, [esp + 0x68]
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call fcn.1003d1f0
mov ecx, dword [esp + 0x8c]
xor ebx, ebx
mov eax, ecx
mov byte [esp + 0x80], 1
cdq
mov esi, ecx
sub eax, edx
mov dword [esp + 0x20], ebx
sar eax, 1
mov dword [esp + 0x38], eax
and esi, 0x80000001
jns 0x1003aed2
dec esi
or esi, 0xfffffffe
inc esi
lea eax, [ecx + 1]
mov dword [esp + 0x54], esi
cdq
mov edi, 1
sub eax, edx
sar eax, 1
mov ecx, eax
shl edi, cl
mov dword [esp + 0x1c], edi
jmp 0x1003aef0
mov ecx, dword [esp + 0x28]
xor edx, edx
test esi, esi
mov esi, dword [ecx]
mov eax, dword [esi + 0x18]
jne 0x1003b156
dec eax
mov edi, 1
div dword [esp + 0x1c]
mov dword [esp + 0x24], edi
inc eax
cmp eax, edi
jbe 0x1003b0dc
mov eax, dword [esp + 0x1c]
lea ebx, [eax*4]
mov dword [esp + 0x30], ebx
lea esp, [esp]
mov ecx, dword [ecx + 4]
mov eax, 0x4bda12f7
sub ecx, esi
mov dword [esp + 0x2c], 0
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x1003b0a7
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov edi, ebx
mov edi, edi
add ebx, esi
cmp dword [ebx + 0x58], 0
jge 0x1003b06b
mov edi, dword [esp + 0x30]
xor edx, edx
mov eax, dword [ebx + 0x4c]
mov esi, 1
mov ecx, dword [esp + 0x38]
shl esi, cl
mov eax, dword [eax + edi]
dec eax
div esi
xor edx, edx
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + edi]
div esi
mov edi, eax
cmp edi, ecx
jae 0x1003b067
cmp byte [esp + 0x1a], 0
mov esi, dword [esp + 0x8c]
je 0x1003afca
cmp ebp, 3
jge 0x1003afca
mov ecx, dword [ebx + 0xc]
push edi
push dword [esp + 0x28]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
test eax, eax
je 0x1003b05c
cmp byte [esp + 0x1b], 0
je 0x1003afe8
cmp ebp, 4
jge 0x1003afe8
mov ecx, dword [ebx + 0x10]
push edi
push dword [esp + 0x28]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
test eax, eax
jg 0x1003b05c
push dword [esp + 0x20]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
push edi
push dword [esp + 0x34]
lea ecx, [esp + 0x80]
push ebp
push esi
push ebx
call fcn.10052a20
mov ecx, dword [ebx + ebp*4]
add esp, 0x20
mov esi, eax
mov edx, dword [ecx]
push edi
push dword [esp + 0x28]
push dword [esp + 0x94]
call dword [edx + 8]
sub eax, esi
mov dword [esp + 0x44], eax
cdq
xor eax, edx
sub eax, edx
jne 0x1003b038
xor ecx, ecx
jmp 0x1003b041
bsr eax, eax
mov dword [esp + 0x40], eax
mov ecx, eax
mov esi, dword [esp + 0x60]
xor eax, eax
cmp dword [esp + 0x44], eax
setne al
add eax, ecx
mov ecx, dword [esp + 0x20]
cdq
add dword [esi + ecx*8], eax
adc dword [esi + ecx*8 + 4], edx
inc edi
cmp edi, dword [esp + 0x48]
jb 0x1003afa1
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
inc edi
mov ebx, dword [esp + 0x34]
add ebx, 0x6c
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], ebx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x4bda12f7
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jl 0x1003af60
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
xor edx, edx
add edi, 2
mov dword [esp + 0x24], edi
lea eax, [ecx*8]
mov ecx, dword [esp + 0x28]
add ebx, eax
mov dword [esp + 0x30], ebx
mov esi, dword [ecx]
mov eax, dword [esi + 0x18]
dec eax
div dword [esp + 0x1c]
inc eax
cmp edi, eax
jb 0x1003af30
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x54]
inc ebx
mov dword [esp + 0x20], ebx
cmp ebx, 2
jle 0x1003aef0
mov ecx, dword [esp + 0x60]
xor esi, esi
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 4]
ja 0x1003b10e
jb 0x1003b109
mov eax, dword [ecx + 8]
cmp eax, dword [ecx]
jae 0x1003b10e
mov esi, 1
mov eax, dword [ecx + 0x14]
cmp eax, dword [ecx + esi*8 + 4]
ja 0x1003b126
jb 0x1003b121
mov eax, dword [ecx + 0x10]
cmp eax, dword [ecx + esi*8]
jae 0x1003b126
mov esi, 2
push ecx
call fcn.1006f76a
mov eax, dword [esp + 0x70]
add esp, 4
test eax, eax
je 0x1003b140
push eax
call fcn.1006f76a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
dec eax
xor ebx, ebx
div edi
mov dword [esp + 0x24], ebx
inc eax
je 0x1003b33c
xor edi, edi
mov dword [esp + 0x30], edi
lea esp, [esp]
mov ecx, dword [ecx + 4]
mov eax, 0x4bda12f7
sub ecx, esi
mov dword [esp + 0x2c], 0
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x1003b308
xor edi, edi
mov dword [esp + 0x34], edi
mov ebx, edi
mov edi, edi
add edi, esi
cmp dword [edi + 0x58], 0
jge 0x1003b2cc
mov ecx, dword [esp + 0x38]
mov esi, 1
mov eax, dword [edi + 0x40]
xor edx, edx
shl esi, cl
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + ecx]
div esi
xor edx, edx
mov ebx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx]
dec eax
div esi
inc eax
or eax, 1
mov dword [esp + 0x40], eax
cmp ebx, 1
jbe 0x1003b1e5
test bl, 1
jne 0x1003b1e5
dec ebx
test ebx, ebx
mov ecx, 1
cmove ebx, ecx
cmp ebx, eax
jae 0x1003b2c8
jmp 0x1003b200
cmp byte [esp + 0x1a], 0
mov esi, dword [esp + 0x8c]
je 0x1003b229
cmp ebp, 3
jge 0x1003b229
mov ecx, dword [edi + 0xc]
push ebx
push dword [esp + 0x28]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
test eax, eax
je 0x1003b2bb
cmp byte [esp + 0x1b], 0
je 0x1003b247
cmp ebp, 4
jge 0x1003b247
mov ecx, dword [edi + 0x10]
push ebx
push dword [esp + 0x28]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
test eax, eax
jg 0x1003b2bb
push dword [esp + 0x20]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
push ebx
push dword [esp + 0x34]
lea ecx, [esp + 0x80]
push ebp
push esi
push edi
call fcn.10052a20
mov ecx, dword [edi + ebp*4]
add esp, 0x20
mov esi, eax
mov edx, dword [ecx]
push ebx
push dword [esp + 0x28]
push dword [esp + 0x94]
call dword [edx + 8]
sub eax, esi
mov dword [esp + 0x44], eax
cdq
xor eax, edx
sub eax, edx
jne 0x1003b297
xor ecx, ecx
jmp 0x1003b2a0
bsr eax, eax
mov dword [esp + 0x48], eax
mov ecx, eax
mov esi, dword [esp + 0x60]
xor eax, eax
cmp dword [esp + 0x44], eax
setne al
add eax, ecx
mov ecx, dword [esp + 0x20]
cdq
add dword [esi + ecx*8], eax
adc dword [esi + ecx*8 + 4], edx
add ebx, 2
cmp ebx, dword [esp + 0x40]
jb 0x1003b200
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
inc ebx
mov edi, dword [esp + 0x34]
add edi, 0x6c
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x4bda12f7
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jl 0x1003b1a0
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
xor edx, edx
inc ebx
mov dword [esp + 0x24], ebx
lea eax, [ecx*4]
mov ecx, dword [esp + 0x28]
add edi, eax
mov dword [esp + 0x30], edi
mov esi, dword [ecx]
mov eax, dword [esi + 0x18]
dec eax
div dword [esp + 0x1c]
inc eax
cmp ebx, eax
jb 0x1003b170
jmp 0x1003b0d8
mov ebx, dword [esp + 0x20]
jmp 0x1003b0e0