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

Disassembly:
push 0xffffffffffffffff
push 0x10164a4c
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b629c]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
fld qword [0x1016a978]
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 0x10080962
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x10080964
push 0x1016a964
push ebp
call fcn.10101f80
add esp, 8
test eax, eax
je 0x10080220
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.1003e930
add esp, 8
jmp 0x10080964
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.10044770
add esp, 0x28
test eax, eax
je 0x10080964
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 [0x1016a928]
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 0x1008048f
cmp byte [ebp], 0x40
jne 0x10080324
add ebp, 1
mov dword [esp + 0x70], edi
cmp ebp, edi
je 0x1008048f
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.101019f5
add esp, 0x10
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1006fbc0
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x44]
call fcn.1006fbc0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
call fcn.1006fbc0
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x34]
call fcn.1006fbc0
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x100803e0
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100803e9
call fcn.10101425
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 0x10080408
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080411
call fcn.10101425
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 0x10080430
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080439
call fcn.10101425
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 0x1008045d
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080466
call fcn.10101425
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push 0x1016a58c
push ebp
mov dword [ecx + esi*4], eax
call fcn.10101f80
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x10080484
add ebp, 1
add esi, 1
cmp ebp, edi
jne 0x10080340
cmp dword [esp + 0x94], edi
mov dword [esp + 0x2c], edi
jle 0x10080800
mov eax, dword [esp + 0x90]
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x28], ecx
jle 0x100807e8
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 0x10080800
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
je 0x10080800
xor esi, esi
mov dword [esp + 0x14], esi
cmp edx, edi
mov ecx, dword [esp + 0x34]
je 0x100807ce
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x100807ce
cmp ecx, edi
je 0x1008051d
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008052a
call fcn.10101425
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
lea ebp, [ecx + esi*4]
mov ecx, dword [esp + 0x54]
cmp ecx, edi
je 0x10080542
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008054b
call fcn.10101425
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
lea ebx, [ecx + esi*4]
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x10080567
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10080574
call fcn.10101425
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
test edx, edx
lea edi, [ecx + esi*4]
je 0x10080588
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x1008058d
call fcn.10101425
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 0x10080630
mov edx, 0xff
mov edi, dword [esp + 0x60]
add ebx, edi
cmp ebx, 0xff
jle 0x10080643
mov ebx, 0xff
mov edi, dword [esp + 0x64]
add ecx, edi
cmp ecx, 0xff
jle 0x10080656
mov ecx, 0xff
cmp esi, dword [esp + 0x80]
jl 0x10080687
cmp esi, edx
jg 0x10080687
mov edx, dword [esp + 0x74]
cmp edx, dword [esp + 0x7c]
jl 0x10080687
cmp edx, ebx
jg 0x10080687
mov edx, dword [esp + 0xb4]
cmp edx, eax
jl 0x10080687
cmp edx, ecx
jg 0x10080687
mov eax, 1
jmp 0x10080689
xor eax, eax
cmp dword [esp + 0x70], eax
je 0x100806a3
add dword [esp + 0x14], 1
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
xor edi, edi
jmp 0x100804ef
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
mov esi, eax
jbe 0x100806b8
call fcn.10101425
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x20]
ja 0x100806c9
cmp esi, eax
jae 0x100806ce
call fcn.10101425
mov eax, dword [esp + 0x20]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x100806ee
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010112c
add esp, 0x10
mov esi, dword [esp + 0x44]
mov ebx, 4
sub dword [esp + 0x20], ebx
cmp esi, dword [esp + 0x48]
jbe 0x10080706
call fcn.10101425
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x48]
ja 0x10080715
cmp esi, dword [esp + 0x44]
jae 0x1008071a
call fcn.10101425
mov eax, dword [esp + 0x48]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x1008073a
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010112c
add esp, 0x10
mov esi, dword [esp + 0x54]
sub dword [esp + 0x48], ebx
cmp esi, dword [esp + 0x58]
jbe 0x1008074d
call fcn.10101425
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x58]
ja 0x1008075c
cmp esi, dword [esp + 0x54]
jae 0x10080761
call fcn.10101425
mov eax, dword [esp + 0x58]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x10080781
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010112c
add esp, 0x10
mov esi, dword [esp + 0x34]
sub dword [esp + 0x58], ebx
cmp esi, dword [esp + 0x38]
jbe 0x10080794
call fcn.10101425
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x38]
ja 0x100807a3
cmp esi, dword [esp + 0x34]
jae 0x100807a8
call fcn.10101425
mov eax, dword [esp + 0x38]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x100807c8
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.1010112c
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 0x100804b5
mov ecx, dword [esp + 0x2c]
add ecx, 1
cmp ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
jl 0x100804a7
mov ecx, dword [esp + 0x68]
push ecx
call fcn.100ff229
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, edi
mov dword [esp + 0x68], edi
je 0x10080828
mov edx, dword [esp + 0x20]
sub edx, eax
sar edx, 2
jne 0x100808c9
mov byte [esp + 0xe4], 2
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10080841
push eax
call fcn.100ee0d8
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 0x10080866
push eax
call fcn.100ee0d8
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 0x1008088b
push eax
call fcn.100ee0d8
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 0x100808b3
push eax
call fcn.100ee0d8
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov eax, 1
jmp 0x10080966
mov byte [esp + 0xe4], 2
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x100808e2
push eax
call fcn.100ee0d8
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 0x10080907
push eax
call fcn.100ee0d8
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 0x1008092c
push eax
call fcn.100ee0d8
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 0x10080954
push eax
call fcn.100ee0d8
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
jmp 0x10080964
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.100ff704
add esp, 0xd4
ret