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

Disassembly:
push 0xffffffffffffffff
push 0x10164e7c
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
fld qword [0x1016b9a0]
mov esi, dword [esp + 0xec]
fld qword [esp + 0x104]
mov ebp, dword [esp + 0x100]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x10080672
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x10080674
push 0x1016b98c
push ebp
call fcn.10102370
add esp, 8
test eax, eax
je 0x1007ff30
mov al, 0xd2
mov byte [esp + 0xbe], al
mov byte [esp + 0xc2], al
mov al, 0xd6
mov byte [esp + 0xcb], al
mov byte [esp + 0xce], al
lea eax, [esp + 0xbc]
mov dl, 0xc9
mov cl, 0xab
push eax
mov bl, 0xd5
push esi
mov byte [esp + 0xc4], 0xd7
mov byte [esp + 0xc5], 0xa2
mov byte [esp + 0xc7], 0xe2
mov byte [esp + 0xc8], 0x2c
mov byte [esp + 0xc9], bl
mov byte [esp + 0xcb], dl
mov byte [esp + 0xcc], cl
mov byte [esp + 0xcd], 0xbd
mov byte [esp + 0xce], 0xd3
mov byte [esp + 0xcf], 0xbf
mov byte [esp + 0xd0], 0xda
mov byte [esp + 0xd1], 0xb2
mov byte [esp + 0xd2], 0xbb
mov byte [esp + 0xd4], 0xa7
mov byte [esp + 0xd5], 0xb3
mov byte [esp + 0xd7], 0x48
mov byte [esp + 0xd8], 0x53
mov byte [esp + 0xd9], 0x56
mov byte [esp + 0xda], 0xd1
mov byte [esp + 0xdb], bl
mov byte [esp + 0xdc], dl
mov byte [esp + 0xdd], cl
mov byte [esp + 0xde], 0x21
mov byte [esp + 0xdf], 0
call fcn.1003e940
add esp, 8
jmp 0x10080674
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x108]
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x108]
push eax
mov eax, dword [esp + 0x108]
push ecx
push edx
push eax
xor edi, edi
push esi
mov dword [esp + 0x90], edi
call fcn.10044740
add esp, 0x28
test eax, eax
je 0x10080674
fld1
mov dword [esp + 0x1c], edi
fsub qword [esp + 0x104]
mov dword [esp + 0x20], edi
fnstcw word [esp + 0x14]
mov dword [esp + 0x24], edi
movzx eax, word [esp + 0x14]
fmul qword [0x1016b950]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0xb4]
mov ebx, dword [esp + 0xb4]
fldcw word [esp + 0x14]
mov dword [esp + 0xe4], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov byte [esp + 0xe4], 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov byte [esp + 0xe4], 2
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0xe4], 3
xor esi, esi
cmp ebp, edi
mov dword [esp + 0x70], 1
je 0x1008019f
cmp byte [ebp], 0x40
jne 0x10080034
add ebp, 1
mov dword [esp + 0x70], edi
cmp ebp, edi
je 0x1008019f
mov dword [esp + 0x28], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x6c], edi
lea esp, [esp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xbc]
push eax
push ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0xc4], 0x25
mov byte [esp + 0xc5], 0x78
mov byte [esp + 0xc6], 0x2d
mov byte [esp + 0xc7], 0x25
mov byte [esp + 0xc8], 0x78
mov byte [esp + 0xc9], 0
call fcn.10101de5
add esp, 0x10
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10020870
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x44]
call fcn.10020870
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
call fcn.10020870
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x34]
call fcn.10020870
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x100800f0
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100800f9
call fcn.10101815
mov ecx, dword [esp + 0x44]
movzx edx, byte [esp + 0x16]
add edx, ebx
mov dword [ecx + esi*4], edx
mov ecx, dword [esp + 0x54]
cmp ecx, edi
je 0x10080118
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080121
call fcn.10101815
mov ecx, dword [esp + 0x54]
movzx eax, byte [esp + 0x15]
add eax, ebx
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0x34]
cmp ecx, edi
je 0x10080140
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080149
call fcn.10101815
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
and edx, 0xff
add edx, ebx
mov dword [ecx + esi*4], edx
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x1008016d
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080176
call fcn.10101815
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push 0x1016b5b4
push ebp
mov dword [ecx + esi*4], eax
call fcn.10102370
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x10080194
add ebp, 1
add esi, 1
cmp ebp, edi
jne 0x10080050
cmp dword [esp + 0x94], edi
mov dword [esp + 0x2c], edi
jle 0x10080510
mov eax, dword [esp + 0x90]
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x28], ecx
jle 0x100804f8
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x78]
add edx, dword [esp + 0x68]
mov byte [edx + ecx*4 + 3], 0
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x1c]
cmp edx, edi
mov dword [esp + 0x6c], eax
je 0x10080510
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
je 0x10080510
xor esi, esi
mov dword [esp + 0x14], esi
cmp edx, edi
mov ecx, dword [esp + 0x34]
je 0x100804de
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x100804de
cmp ecx, edi
je 0x1008022d
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008023a
call fcn.10101815
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
lea ebp, [ecx + esi*4]
mov ecx, dword [esp + 0x54]
cmp ecx, edi
je 0x10080252
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008025b
call fcn.10101815
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
lea ebx, [ecx + esi*4]
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x10080277
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080284
call fcn.10101815
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
test edx, edx
lea edi, [ecx + esi*4]
je 0x10080298
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x1008029d
call fcn.10101815
mov edx, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov edi, dword [edi]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + edx*4]
mov ebx, dword [ebx]
movzx ebp, ah
movzx esi, ch
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov dword [esp + 0x60], esi
mov esi, eax
and eax, 0xff
mov dword [esp + 0xb4], eax
shr esi, 0x10
and ecx, 0xff
mov dword [esp + 0x74], ebp
and esi, 0xff
mov ebp, edx
sub ebp, edi
mov eax, 0
sets al
sub eax, 1
and eax, ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x80], eax
sub ebp, ebx
mov eax, 0
sets al
sub eax, 1
and eax, ebp
mov dword [esp + 0x7c], eax
mov ebp, ecx
sub ebp, dword [esp + 0x64]
mov eax, 0
sets al
add edx, edi
sub eax, 1
and eax, ebp
cmp edx, 0xff
jle 0x10080340
mov edx, 0xff
mov edi, dword [esp + 0x60]
add ebx, edi
cmp ebx, 0xff
jle 0x10080353
mov ebx, 0xff
mov edi, dword [esp + 0x64]
add ecx, edi
cmp ecx, 0xff
jle 0x10080366
mov ecx, 0xff
cmp esi, dword [esp + 0x80]
jl 0x10080397
cmp esi, edx
jg 0x10080397
mov edx, dword [esp + 0x74]
cmp edx, dword [esp + 0x7c]
jl 0x10080397
cmp edx, ebx
jg 0x10080397
mov edx, dword [esp + 0xb4]
cmp edx, eax
jl 0x10080397
cmp edx, ecx
jg 0x10080397
mov eax, 1
jmp 0x10080399
xor eax, eax
cmp dword [esp + 0x70], eax
je 0x100803b3
add dword [esp + 0x14], 1
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
xor edi, edi
jmp 0x100801ff
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
mov esi, eax
jbe 0x100803c8
call fcn.10101815
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x20]
ja 0x100803d9
cmp esi, eax
jae 0x100803de
call fcn.10101815
mov eax, dword [esp + 0x20]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x100803fe
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010151c
add esp, 0x10
mov esi, dword [esp + 0x44]
mov ebx, 4
sub dword [esp + 0x20], ebx
cmp esi, dword [esp + 0x48]
jbe 0x10080416
call fcn.10101815
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x48]
ja 0x10080425
cmp esi, dword [esp + 0x44]
jae 0x1008042a
call fcn.10101815
mov eax, dword [esp + 0x48]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x1008044a
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010151c
add esp, 0x10
mov esi, dword [esp + 0x54]
sub dword [esp + 0x48], ebx
cmp esi, dword [esp + 0x58]
jbe 0x1008045d
call fcn.10101815
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x58]
ja 0x1008046c
cmp esi, dword [esp + 0x54]
jae 0x10080471
call fcn.10101815
mov eax, dword [esp + 0x58]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x10080491
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010151c
add esp, 0x10
mov esi, dword [esp + 0x34]
sub dword [esp + 0x58], ebx
cmp esi, dword [esp + 0x38]
jbe 0x100804a4
call fcn.10101815
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x38]
ja 0x100804b3
cmp esi, dword [esp + 0x34]
jae 0x100804b8
call fcn.10101815
mov eax, dword [esp + 0x38]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x100804d8
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010151c
add esp, 0x10
sub dword [esp + 0x38], ebx
xor edi, edi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x90]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x28], ecx
jl 0x100801c5
mov ecx, dword [esp + 0x2c]
add ecx, 1
cmp ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
jl 0x100801b7
mov ecx, dword [esp + 0x68]
push ecx
call fcn.100ff60b
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, edi
mov dword [esp + 0x68], edi
je 0x10080538
mov edx, dword [esp + 0x20]
sub edx, eax
sar edx, 2
jne 0x100805d9
mov byte [esp + 0xe4], 2
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10080551
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0xe4], 1
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x10080576
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov byte [esp + 0xe4], 0
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x1008059b
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x100805c3
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov eax, 1
jmp 0x10080676
mov byte [esp + 0xe4], 2
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x100805f2
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0xe4], 1
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x10080617
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov byte [esp + 0xe4], 0
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x1008063c
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x10080664
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
jmp 0x10080674
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.100ffae6
add esp, 0xd4
ret