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

Disassembly:
push 0xffffffffffffffff
push 0x10164dbc
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 0x10080612
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x10080614
push 0x1016b98c
push ebp
call fcn.101022f0
add esp, 8
test eax, eax
je 0x1007fed0
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.1003e910
add esp, 8
jmp 0x10080614
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.10044710
add esp, 0x28
test eax, eax
je 0x10080614
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 0x1008013f
cmp byte [ebp], 0x40
jne 0x1007ffd4
add ebp, 1
mov dword [esp + 0x70], edi
cmp ebp, edi
je 0x1008013f
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.10101d65
add esp, 0x10
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10020840
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x44]
call fcn.10020840
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
call fcn.10020840
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x34]
call fcn.10020840
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x10080090
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080099
call fcn.10101795
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 0x100800b8
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100800c1
call fcn.10101795
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 0x100800e0
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100800e9
call fcn.10101795
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 0x1008010d
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080116
call fcn.10101795
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push 0x1016b5b4
push ebp
mov dword [ecx + esi*4], eax
call fcn.101022f0
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x10080134
add ebp, 1
add esi, 1
cmp ebp, edi
jne 0x1007fff0
cmp dword [esp + 0x94], edi
mov dword [esp + 0x2c], edi
jle 0x100804b0
mov eax, dword [esp + 0x90]
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x28], ecx
jle 0x10080498
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 0x100804b0
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
je 0x100804b0
xor esi, esi
mov dword [esp + 0x14], esi
cmp edx, edi
mov ecx, dword [esp + 0x34]
je 0x1008047e
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x1008047e
cmp ecx, edi
je 0x100801cd
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100801da
call fcn.10101795
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
lea ebp, [ecx + esi*4]
mov ecx, dword [esp + 0x54]
cmp ecx, edi
je 0x100801f2
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100801fb
call fcn.10101795
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
lea ebx, [ecx + esi*4]
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x10080217
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080224
call fcn.10101795
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
test edx, edx
lea edi, [ecx + esi*4]
je 0x10080238
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x1008023d
call fcn.10101795
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 0x100802e0
mov edx, 0xff
mov edi, dword [esp + 0x60]
add ebx, edi
cmp ebx, 0xff
jle 0x100802f3
mov ebx, 0xff
mov edi, dword [esp + 0x64]
add ecx, edi
cmp ecx, 0xff
jle 0x10080306
mov ecx, 0xff
cmp esi, dword [esp + 0x80]
jl 0x10080337
cmp esi, edx
jg 0x10080337
mov edx, dword [esp + 0x74]
cmp edx, dword [esp + 0x7c]
jl 0x10080337
cmp edx, ebx
jg 0x10080337
mov edx, dword [esp + 0xb4]
cmp edx, eax
jl 0x10080337
cmp edx, ecx
jg 0x10080337
mov eax, 1
jmp 0x10080339
xor eax, eax
cmp dword [esp + 0x70], eax
je 0x10080353
add dword [esp + 0x14], 1
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
xor edi, edi
jmp 0x1008019f
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
mov esi, eax
jbe 0x10080368
call fcn.10101795
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x20]
ja 0x10080379
cmp esi, eax
jae 0x1008037e
call fcn.10101795
mov eax, dword [esp + 0x20]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x1008039e
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010149c
add esp, 0x10
mov esi, dword [esp + 0x44]
mov ebx, 4
sub dword [esp + 0x20], ebx
cmp esi, dword [esp + 0x48]
jbe 0x100803b6
call fcn.10101795
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x48]
ja 0x100803c5
cmp esi, dword [esp + 0x44]
jae 0x100803ca
call fcn.10101795
mov eax, dword [esp + 0x48]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x100803ea
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010149c
add esp, 0x10
mov esi, dword [esp + 0x54]
sub dword [esp + 0x48], ebx
cmp esi, dword [esp + 0x58]
jbe 0x100803fd
call fcn.10101795
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x58]
ja 0x1008040c
cmp esi, dword [esp + 0x54]
jae 0x10080411
call fcn.10101795
mov eax, dword [esp + 0x58]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x10080431
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010149c
add esp, 0x10
mov esi, dword [esp + 0x34]
sub dword [esp + 0x58], ebx
cmp esi, dword [esp + 0x38]
jbe 0x10080444
call fcn.10101795
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x38]
ja 0x10080453
cmp esi, dword [esp + 0x34]
jae 0x10080458
call fcn.10101795
mov eax, dword [esp + 0x38]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x10080478
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010149c
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 0x10080165
mov ecx, dword [esp + 0x2c]
add ecx, 1
cmp ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
jl 0x10080157
mov ecx, dword [esp + 0x68]
push ecx
call fcn.100ff58b
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, edi
mov dword [esp + 0x68], edi
je 0x100804d8
mov edx, dword [esp + 0x20]
sub edx, eax
sar edx, 2
jne 0x10080579
mov byte [esp + 0xe4], 2
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x100804f1
push eax
call fcn.100ee438
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 0x10080516
push eax
call fcn.100ee438
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 0x1008053b
push eax
call fcn.100ee438
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 0x10080563
push eax
call fcn.100ee438
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov eax, 1
jmp 0x10080616
mov byte [esp + 0xe4], 2
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10080592
push eax
call fcn.100ee438
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 0x100805b7
push eax
call fcn.100ee438
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 0x100805dc
push eax
call fcn.100ee438
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 0x10080604
push eax
call fcn.100ee438
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
jmp 0x10080614
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.100ffa66
add esp, 0xd4
ret