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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100f50c6
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 4]
mov ebx, ecx
cmp eax, edi
je 0x10083248
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, 0x10
ja 0x100832b6
push 0x30
call fcn.100ddb85
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov dword [esp + 0x6c], edi
je 0x10083267
mov ecx, eax
call fcn.10083610
jmp 0x10083269
xor eax, eax
lea edx, [esp + 0x4c]
push ebp
push edx
mov ecx, ebx
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x7c], eax
call fcn.10083090
mov edi, dword [esp + 0x74]
mov ecx, 6
mov esi, eax
push ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x78]
lea ecx, [eax + 0x20]
call fcn.10084260
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x24]
lea edx, [esp + 0x74]
push edx
push eax
call fcn.1003d2f0
mov eax, dword [esp + 0x74]
jmp 0x10083582
push 0x30
call fcn.100ddb85
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
mov dword [esp + 0x6c], 1
je 0x100832f2
mov ecx, esi
call fcn.100835a0
lea ecx, [esp + 0x74]
mov dword [esi + 0x18], edi
push ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], edi
call fcn.10084240
mov dword [esp + 0x18], esi
jmp 0x100832f6
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.100835a0
mov ecx, ebp
mov dword [esp + 0x74], edi
call fcn.1002c950
test eax, eax
jbe 0x10083360
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x74]
mov ecx, dword [ebx + 0x14]
mov edi, 3
mov eax, dword [eax + edx*4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
lea esi, [eax + 4]
mov eax, dword [esi]
mov ecx, dword [ebx + 4]
lea edx, [eax + eax*2]
lea eax, [ecx + edx*4]
lea ecx, [esp + 0x4c]
push eax
call fcn.10082b40
add esi, 4
dec edi
jne 0x10083331
mov esi, dword [esp + 0x74]
mov ecx, ebp
inc esi
mov dword [esp + 0x74], esi
call fcn.1002c950
cmp esi, eax
jb 0x10083316
mov edi, dword [esp + 0x18]
mov ecx, 6
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
fld dword [ecx + 0xc]
fsub dword [ecx]
fld dword [ecx + 0x10]
fsub dword [ecx + 4]
fst dword [esp + 0x74]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x10083391
fstp st(0)
fld dword [esp + 0x74]
fld dword [ecx + 0x14]
fsub dword [ecx + 8]
fst dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100833aa
fstp st(0)
fld dword [esp + 0x1c]
fcom dword [esp + 0x74]
xor edi, edi
fnstsw ax
test ah, 0x40
je 0x100833c0
fstp st(0)
mov edi, 1
jmp 0x100833d0
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x40
je 0x100833d0
mov edi, 2
lea ecx, [esp + 0x74]
lea edx, [esp + 0x13]
push ecx
push 1
push edx
lea ecx, [esp + 0x48]
call fcn.10084640
mov dword [esp + 0x6c], 2
xor esi, esi
mov eax, dword [ebp + 4]
xor ecx, ecx
cmp eax, ecx
je 0x10083435
mov edx, dword [ebp + 8]
sub edx, eax
sar edx, 2
cmp esi, edx
jae 0x10083435
mov eax, dword [eax + esi*4]
mov edx, eax
mov dword [esp + 0x20], eax
lea ecx, [edi + eax*2]
lea eax, [esp + 0x24]
add edx, ecx
mov ecx, dword [0x1011d7bc]
fld dword [ecx + edx*4]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x3c]
fstp dword [esp + 0x1c]
push edx
push eax
call fcn.10084670
inc esi
jmp 0x100833ef
mov dl, byte [esp + 0x74]
mov dword [esp + 0x30], ecx
mov byte [esp + 0x2c], dl
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x70], 3
call fcn.1007e820
mov ecx, dword [eax]
mov eax, dword [esp + 0x48]
shr eax, 1
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x14], ecx
je 0x10083494
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
add eax, 0x10
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.1003d2f0
lea ecx, [esp + 0x14]
call fcn.100848d0
dec esi
jne 0x10083472
lea edx, [esp + 0x2c]
mov ecx, ebx
push edx
call fcn.10083210
mov edi, dword [esp + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.10065b70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
je 0x100834ef
mov edx, dword [esp + 0x34]
add eax, 0x10
push eax
push 1
push edx
lea ecx, [esp + 0x38]
call fcn.100918f0
lea ecx, [esp + 0x14]
call fcn.100848d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x100834c6
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.10083210
mov dword [edi + 0x1c], eax
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100d02fa
mov eax, dword [esp + 0x44]
xor esi, esi
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov ecx, dword [eax]
push eax
lea edx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 0xffffffff
call fcn.100847a0
mov eax, dword [esp + 0x40]
push eax
call fcn.100d02fa
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
call fcn.100d0249
mov eax, dword [0x1011da20]
dec eax
mov dword [0x1011da20], eax
jne 0x10083577
mov ecx, dword [0x1011da1c]
push ecx
call fcn.100d02fa
add esp, 4
mov dword [0x1011da1c], esi
lea ecx, [esp + 0x1c]
call fcn.100d02e5
mov eax, edi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 4