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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x240]
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x230]
mov ecx, edi
call edx
add esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x108]
mov ecx, edi
call edx
add eax, esi
mov dword [esp + 0x44], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x23c]
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x22c]
mov ecx, edi
call edx
add esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x24c]
mov ecx, edi
mov dword [esp + 0x18], esi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x234]
mov ecx, edi
call edx
lea eax, [edi + 0x24]
xor ebx, ebx
mov dword [esp + 0x38], eax
mov eax, dword [eax]
mov ecx, edi
lea esi, [esp + 0x6c]
mov byte [esp + 0x13], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x12], bl
mov dword [edi + 0x84], eax
call fcn.10188f70
call fcn.10189000
mov esi, eax
cmp esi, ebx
je 0x101898e0
mov ebp, ebx
test byte [esi + 0x1a], 0x20
jne 0x101898c0
mov ecx, dword [esi + 4]
fldz
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 0x18]
fcomp dword [eax + 4]
fnstsw ax
test ah, 5
jp 0x101898c0
mov edx, dword [esi]
mov eax, dword [edx + 0x17c]
push 0xffffffffffffffff
mov ecx, esi
call eax
cmp byte [esp + 0x84], 0
jne 0x1018989f
or byte [esi + 0x1a], 2
test ebp, ebp
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 0x18]
mov eax, dword [eax + 8]
mov byte [esp + 0x12], 1
je 0x101898b8
cmp eax, ebp
jae 0x101898ba
mov ebp, eax
cmp eax, ebx
jbe 0x101898c0
mov ebx, eax
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
jne 0x10189868
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
jmp 0x101898e0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
mov edx, dword [edi]
mov dword [ebx], eax
mov dword [edi + 0x84], eax
mov eax, dword [edx + 0x24c]
mov ecx, edi
call eax
mov edx, dword [edi]
mov ebp, eax
mov eax, dword [edx + 0x234]
mov ecx, edi
call eax
add ebp, eax
xor eax, eax
cmp byte [esp + 0x74], al
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], eax
je 0x1018992a
mov dword [esp + 0x78], eax
jmp 0x10189935
mov ecx, dword [esp + 0x7c]
add ecx, 1
mov dword [esp + 0x78], ecx
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
je 0x10189aeb
jmp 0x10189950
cmp byte [esp + 0x84], 0
jne 0x1018997c
test byte [esi + 0x1b], 8
je 0x10189980
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 4]
and cl, 7
cmp cl, 2
je 0x1018997c
mov edx, dword [eax + 8]
and dl, 7
cmp dl, 2
jne 0x10189980
or byte [esi + 0x1a], 2
test byte [esi + 0x1a], 0x20
je 0x10189994
lea esi, [esp + 0x6c]
call fcn.10189000
jmp 0x10189ae1
mov eax, dword [esi]
mov edx, dword [eax + 0x2c0]
mov ecx, esi
call edx
test byte [esi + 0x1a], 7
je 0x101899b2
mov eax, dword [esi]
mov edx, dword [eax + 0x144]
mov ecx, esi
call edx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x10]
and eax, 7
cmp al, 5
mov ecx, esi
jne 0x10189a92
mov edx, dword [esi]
mov eax, dword [edx + 0x21c]
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
add ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x3c], ebx
jne 0x10189a1c
mov edx, dword [esi]
mov eax, dword [edx + 0x220]
mov ecx, esi
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x21c]
mov ecx, esi
call eax
mov edx, dword [esi]
lea ebp, [ebx + eax]
mov eax, dword [edx + 0x19c]
mov ecx, esi
call eax
mov ebx, eax
add ebx, ebp
mov dword [esp + 0x3c], ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x21c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [edx + 0x220]
mov ecx, esi
sub ebp, ebx
call eax
mov edx, dword [esi]
add ebp, eax
mov eax, dword [edx + 0x19c]
mov ecx, esi
call eax
add eax, ebp
cmp dword [esp + 0x28], ebx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x3c]
jl 0x10189a5a
lea ecx, [esp + 0x28]
mov ecx, dword [ecx]
cmp dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x40]
jl 0x10189a6e
lea eax, [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
add eax, ecx
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
cmp eax, dword [ecx]
mov dword [esp + 0x40], eax
mov eax, ecx
jl 0x10189a8c
lea eax, [esp + 0x40]
mov edx, dword [eax]
mov dword [ecx], edx
jmp 0x10189ad0
mov eax, dword [esi]
mov edx, dword [eax + 0x220]
call edx
mov ebp, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x21c]
mov ecx, esi
call edx
add ebp, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x19c]
mov ecx, esi
call edx
add eax, ebp
add eax, dword [esp + 0x18]
cmp dword [ebx], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
jl 0x10189acc
mov eax, ebx
mov eax, dword [eax]
mov dword [ebx], eax
lea esi, [esp + 0x6c]
call fcn.10189000
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x20]
mov esi, eax
test esi, esi
jne 0x10189950
xor eax, eax
cmp byte [esp + 0x74], al
mov dword [esp + 0x70], eax
je 0x10189afd
mov dword [esp + 0x78], eax
jmp 0x10189b08
mov ecx, dword [esp + 0x7c]
add ecx, 1
mov dword [esp + 0x78], ecx
lea esi, [esp + 0x6c]
call fcn.10189000
test eax, eax
jne 0x10189b3a
mov edx, dword [edi]
mov eax, dword [edx + 0x34c]
mov ecx, edi
call eax
test al, al
je 0x10189b3a
mov edx, dword [edi]
mov eax, dword [edx + 0x128]
push 1
push 1
mov ecx, edi
call eax
movsx ecx, ax
add dword [ebx], ecx
mov edx, dword [esp + 0x44]
add dword [ebx], edx
mov esi, dword [ebx]
cmp dword [edi + 0x84], esi
mov dword [esp + 0x4c], esi
jge 0x10189b54
mov dword [edi + 0x84], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x2fc]
mov ecx, edi
call edx
cmp esi, dword [ebx]
mov byte [esp + 0x84], 0
je 0x10189b71
mov byte [esp + 0x13], 1
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x18]
test byte [edx + 0x10], 7
sete al
add al, al
xor al, byte [edi + 0x94]
xor ebx, ebx
and al, 2
xor byte [edi + 0x94], al
cmp byte [esp + 0x74], bl
mov dword [esp + 0x70], ebx
je 0x10189ba3
mov dword [esp + 0x78], ebx
jmp 0x10189bae
mov ecx, dword [esp + 0x7c]
add ecx, 1
mov dword [esp + 0x78], ecx
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
cmp esi, ebx
je 0x1018a002
test byte [esi + 0x1a], 0x20
je 0x10189d1b
mov eax, esi
mov dword [esp + 0x24], esi
call fcn.100df1b0
cmp dword [eax + 0x7c], 0
mov dword [esp + 0x3c], eax
jne 0x10189c4e
push 0x20
call fcn.102f361c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10189c3f
xor eax, eax
push 0xc08
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
call fcn.102f361c
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10189c38
push 0xc00
lea eax, [ebp + 8]
push 0
push eax
mov dword [ebp], eax
mov byte [ebp + 4], 0
call fcn.102f7d30
add esp, 0xc
mov dword [ebx + 0x1c], ebp
jmp 0x10189c41
xor ebp, ebp
mov dword [ebx + 0x1c], ebp
jmp 0x10189c41
xor ebx, ebx
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x20]
mov dword [edx + 0x7c], ebx
mov eax, edx
mov ebx, dword [eax + 0x7c]
mov eax, dword [ebx + 0x1c]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x48], eax
push ebx
lea eax, [esp + 0x30]
call fcn.1017b430
cmp byte [esp + 0x58], 0
je 0x10189c98
mov eax, dword [esp + 0x50]
mov ecx, dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x10189c92
mov dword [ecx + 8], eax
jmp 0x10189c95
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 4]
test al, 7
jne 0x10189cab
test byte [ecx + 8], 7
je 0x10189cba
and al, 7
cmp al, 4
je 0x10189cba
mov eax, dword [ecx + 8]
and al, 7
cmp al, 4
jne 0x10189ceb
mov ecx, dword [edi + 4]
test dword [ecx], 0x4000000
je 0x10189cd1
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
push ebp
mov ecx, esi
call eax
jmp 0x10189ceb
mov edx, dword [edi]
mov ebx, dword [esi]
mov eax, dword [edx + 0x198]
mov ecx, edi
add ebx, 0x50
call eax
mov edx, dword [ebx]
sub eax, ebp
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0xc]
test al, 7
jne 0x10189cfe
test byte [ecx + 0x10], 7
je 0x10189d08
and al, 7
cmp al, 4
jne 0x10189fef
mov edx, dword [esi]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x54]
push eax
mov ecx, esi
call edx
jmp 0x10189fef
mov eax, dword [esi]
mov edx, dword [eax + 0x19c]
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x2fc]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x19c]
mov ecx, esi
call edx
cmp ebx, eax
je 0x10189d49
or byte [esi + 0x1a], 2
test byte [esi + 0x1a], 7
je 0x10189d5b
mov eax, dword [esi]
mov edx, dword [eax + 0x144]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x224]
mov ecx, esi
call edx
add ebp, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x10]
and eax, 7
sub eax, 2
mov dword [esp + 0x20], ebp
je 0x10189e86
sub eax, 1
je 0x10189e03
sub eax, 2
mov eax, dword [esi]
mov edx, dword [eax + 0x21c]
mov ecx, esi
je 0x10189da2
call edx
mov ebx, eax
jmp 0x10189f3a
call edx
mov ebp, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
mov ecx, esi
call edx
add ebp, eax
cmp ebp, 0xffffffff
jne 0x10189de2
mov eax, dword [esi]
mov edx, dword [eax + 0x220]
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x21c]
mov ecx, esi
call edx
add ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x19c]
mov ecx, esi
call edx
mov ebp, eax
add ebp, ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x21c]
mov ecx, esi
call edx
mov ebx, dword [esp + 0x28]
add eax, dword [esp + 0x18]
sub ebx, ebp
mov ebp, dword [esp + 0x20]
add ebx, eax
jmp 0x10189f3e
mov eax, dword [edi]
mov edx, dword [eax + 0x23c]
mov ecx, edi
call edx
mov edx, dword [edi]
mov edx, dword [edx + 0x19c]
mov ecx, edi
mov dword [esp + 0x40], eax
call edx
mov ebx, eax
mov eax, dword [esp + 0x40]
sub ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x240]
mov ecx, edi
call edx
sub ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x108]
mov ecx, edi
call edx
sub ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x22c]
mov ecx, edi
call edx
sub ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x230]
mov ecx, edi
call edx
sub ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x220]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
add ebx, ecx
sub ebx, eax
mov eax, dword [edx + 0x19c]
mov ecx, esi
call eax
sub ebx, eax
jmp 0x10189f3e
mov edx, dword [edi]
mov eax, dword [edx + 0x23c]
mov ecx, edi
call eax
mov edx, dword [edi]
mov ebp, eax
mov eax, dword [edx + 0x19c]
mov ecx, edi
call eax
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edx + 0x240]
mov ecx, edi
sub ebx, ebp
call eax
mov edx, dword [edi]
sub ebx, eax
mov eax, dword [edx + 0x108]
mov ecx, edi
call eax
mov edx, dword [edi]
sub ebx, eax
mov eax, dword [edx + 0x22c]
mov ecx, edi
call eax
mov edx, dword [edi]
sub ebx, eax
mov eax, dword [edx + 0x230]
mov ecx, edi
call eax
mov edx, dword [esi]
sub ebx, eax
mov eax, dword [edx + 0x19c]
mov ecx, esi
call eax
mov edx, dword [esi]
sub ebx, eax
mov eax, dword [edx + 0x21c]
mov ecx, esi
call eax
mov edx, dword [esi]
sub ebx, eax
mov eax, dword [edx + 0x220]
mov ecx, esi
call eax
sub ebx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
test eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 0
lea ebp, [esp + 0x40]
jg 0x10189f25
lea ebp, [esp + 0x3c]
mov edx, dword [esi]
mov eax, dword [edx + 0x21c]
mov ecx, esi
call eax
mov ebx, eax
add ebx, dword [ebp]
mov ebp, dword [esp + 0x20]
add ebx, dword [esp + 0x18]
push ebx
push ebp
push edi
call fcn.1018b7d0
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
test al, al
je 0x10189f66
lea ecx, [esp + 0x5c]
push ecx
push esi
call fcn.10176660
call fcn.10177a20
mov edx, dword [esi]
mov eax, dword [edx + 0x1a4]
push 0
mov ecx, esi
call eax
add eax, ebx
cmp dword [edi + 0x84], eax
lea ecx, [edi + 0x84]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
jl 0x10189f8e
mov eax, ecx
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1b8]
push 0
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x190]
mov ecx, esi
call edx
add ebx, eax
cmp ebx, dword [edi + 0x90]
lea eax, [edi + 0x90]
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x40]
jl 0x10189fc8
mov ecx, eax
mov ecx, dword [ecx]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x228]
mov ecx, esi
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x198]
mov ecx, esi
call eax
add eax, ebp
lea ebp, [eax + ebx]
mov dword [esp + 0x20], ebp
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
jne 0x10189bc1
mov edx, dword [edi]
mov eax, dword [edx + 0x24c]
mov ecx, edi
call eax
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edx + 0x198]
mov ecx, edi
call eax
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x250]
mov ecx, edi
sub esi, ebx
call eax
mov edx, dword [edi]
sub esi, eax
mov eax, dword [edx + 0x104]
mov ecx, edi
call eax
mov edx, dword [edi]
sub esi, eax
mov eax, dword [edx + 0x234]
mov ecx, edi
call eax
mov edx, dword [edi]
sub esi, eax
mov eax, dword [edx + 0x238]
mov ecx, edi
call eax
mov edx, dword [edi]
sub esi, eax
mov eax, dword [edx + 0x24c]
mov ecx, edi
call eax
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edx + 0x234]
mov ecx, edi
call eax
and byte [edi + 0x94], 0xfd
add ebx, eax
sub esi, ebp
add ebx, esi
test byte [edi + 0x94], 1
mov dword [esp + 0x28], ebx
jne 0x1018a3b8
cmp byte [esp + 0x12], 0
je 0x1018a3b8
test ebx, ebx
je 0x1018a3b8
setg al
test al, al
mov byte [esp + 0x2c], al
je 0x1018a0b8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
jmp 0x1018a0c0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], eax
ja 0x1018a3ab
test ebx, ebx
je 0x1018a3ab
mov dword [esp + 0x14], ebx
fldz
mov ebx, dword [esp + 0x14]
xor ebp, ebp
fstp dword [esp + 0x1c]
cmp byte [esp + 0x74], 0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x70], ebp
je 0x1018a0fd
mov dword [esp + 0x78], ebp
jmp 0x1018a108
mov ecx, dword [esp + 0x7c]
add ecx, 1
mov dword [esp + 0x78], ecx
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
cmp esi, ebp
mov ebp, dword [esp + 0x24]
je 0x1018a154
jmp 0x1018a120
mov edx, dword [esp + 0x2c]
push ebp
push edx
mov eax, edi
call fcn.1018b880
test eax, eax
je 0x1018a145
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x18]
fld dword [edx + 4]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
jne 0x1018a120
xor eax, eax
cmp byte [esp + 0x74], al
mov dword [esp + 0x70], eax
jne 0x1018a167
mov eax, dword [esp + 0x7c]
add eax, 1
lea esi, [esp + 0x6c]
mov dword [esp + 0x78], eax
call fcn.10189000
mov esi, eax
test esi, esi
mov dword [esp + 0x20], ebx
je 0x1018a1e7
mov edi, edi
mov ecx, dword [esp + 0x2c]
push ebp
push ecx
mov eax, edi
call fcn.1018b880
test eax, eax
mov dword [esp + 0x3c], eax
je 0x1018a1d8
cmp eax, 0x7fffffff
jne 0x1018a19e
jmp 0x1018a1b7
mov edx, dword [esi + 4]
fld dword [esp + 0x1c]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + 0x18]
fdiv dword [ecx + 4]
fimul dword [esp + 0x3c]
call fcn.102f89d0
cmp byte [esp + 0x2c], 0
mov dword [esp + 0x3c], eax
je 0x1018a1c6
cmp eax, ebx
jmp 0x1018a1c8
cmp ebx, eax
lea eax, [esp + 0x3c]
jl 0x1018a1d2
lea eax, [esp + 0x20]
mov ebx, dword [eax]
mov dword [esp + 0x20], ebx
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
jne 0x1018a180
test ebx, ebx
je 0x1018a392
fldz
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x44
jnp 0x1018a392
cmp byte [esp + 0x74], 0
mov dword [esp + 0x70], 0
je 0x1018a219
mov dword [esp + 0x78], 0
jmp 0x1018a224
mov edx, dword [esp + 0x7c]
add edx, 1
mov dword [esp + 0x78], edx
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
je 0x1018a2f3
test ebx, ebx
je 0x1018a2e5
fldz
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x44
jnp 0x1018a2e5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov eax, edi
call fcn.1018b880
test eax, eax
je 0x1018a2d2
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + 0x18]
fld dword [ecx + 4]
fdiv dword [esp + 0x1c]
fimul dword [esp + 0x20]
call fcn.102f89d0
mov ebp, eax
test ebp, ebp
je 0x1018a2b0
mov ebx, dword [esi]
mov edx, dword [ebx + 0x174]
mov ecx, esi
call edx
add eax, ebp
push eax
mov eax, dword [ebx + 0x17c]
mov ecx, esi
call eax
or byte [edi + 0x94], 1
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x84], 1
mov ecx, dword [esi + 4]
fld dword [esp + 0x1c]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 0x18]
fsub dword [eax + 4]
sub dword [esp + 0x28], ebp
sub ebx, ebp
sub dword [esp + 0x14], ebp
fstp dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
jne 0x1018a237
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x14], ecx
jne 0x1018a387
xor eax, eax
cmp byte [esp + 0x74], al
mov dword [esp + 0x70], eax
je 0x1018a305
mov dword [esp + 0x78], eax
jmp 0x1018a310
mov edx, dword [esp + 0x7c]
add edx, 1
mov dword [esp + 0x78], edx
lea esi, [esp + 0x6c]
call fcn.10189000
xor ebx, ebx
cmp dword [esp + 0x14], ebx
mov esi, eax
setg bl
test esi, esi
lea ebx, [ebx + ebx - 1]
je 0x1018a387
cmp dword [esp + 0x14], 0
je 0x1018a392
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov eax, edi
call fcn.1018b880
test eax, eax
je 0x1018a378
mov ebp, dword [esi]
mov edx, dword [ebp + 0x174]
mov ecx, esi
call edx
add eax, ebx
push eax
mov eax, dword [ebp + 0x17c]
mov ecx, esi
call eax
or byte [edi + 0x94], 1
sub dword [esp + 0x28], ebx
sub dword [esp + 0x14], ebx
mov byte [esp + 0x84], 1
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
jne 0x1018a32c
cmp dword [esp + 0x14], 0
jne 0x1018a0dc
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
add eax, 1
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
jbe 0x1018a0d0
test byte [edi + 0x94], 1
jne 0x101898e0
and byte [edi + 0x94], 0xfe
test ebx, ebx
jle 0x1018a567
mov edx, dword [edi + 4]
mov ecx, dword [edx]
shr ecx, 0x1a
and ecx, 1
je 0x1018a3e8
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
shr eax, 3
and eax, 7
cmp eax, 1
jne 0x1018a408
test ecx, ecx
jne 0x1018a567
mov ecx, dword [edx + 0x30]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x10]
shr eax, 3
and eax, 7
cmp eax, 3
je 0x1018a567
xor ebp, ebp
cmp eax, 4
mov dword [esp + 0x3c], ebp
jne 0x1018a4f7
cmp byte [esp + 0x74], 0
mov dword [esp + 0x70], ebp
je 0x1018a428
mov dword [esp + 0x78], ebp
jmp 0x1018a433
mov eax, dword [esp + 0x7c]
add eax, 1
mov dword [esp + 0x78], eax
lea esi, [esp + 0x6c]
call fcn.10189000
test eax, eax
je 0x1018a567
test byte [eax + 0x1a], 0x20
lea esi, [esp + 0x6c]
jne 0x1018a451
add ebp, 1
call fcn.10189000
test eax, eax
jne 0x1018a444
cmp ebp, 1
jle 0x1018a567
sub ebp, 1
cmp byte [esp + 0x74], al
mov byte [esp + 0x12], 1
mov dword [esp + 0x70], eax
je 0x1018a47b
mov dword [esp + 0x78], eax
jmp 0x1018a486
mov ecx, dword [esp + 0x7c]
add ecx, 1
mov dword [esp + 0x78], ecx
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
je 0x1018a567
lea esp, [esp]
test byte [esi + 0x1a], 0x20
jne 0x1018a4e6
cmp byte [esp + 0x12], 0
je 0x1018a4b4
mov byte [esp + 0x12], 0
jmp 0x1018a4e6
mov eax, ebx
cdq
idiv ebp
mov edx, dword [esi]
mov ecx, esi
sub ebp, 1
add dword [esp + 0x3c], eax
sub ebx, eax
mov eax, dword [edx + 0x190]
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18c]
mov ecx, esi
call eax
add eax, dword [esp + 0x40]
push eax
push edi
call fcn.1018b7d0
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
jne 0x1018a4a0
jmp 0x1018a567
cmp eax, 2
jne 0x1018a505
mov eax, ebx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp byte [esp + 0x74], 0
mov dword [esp + 0x70], ebp
je 0x1018a516
mov dword [esp + 0x78], ebp
jmp 0x1018a521
mov ecx, dword [esp + 0x7c]
add ecx, 1
mov dword [esp + 0x78], ecx
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
je 0x1018a567
test byte [esi + 0x1a], 0x20
jne 0x1018a558
mov edx, dword [esi]
mov eax, dword [edx + 0x190]
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18c]
mov ecx, esi
call eax
add eax, ebx
push eax
push edi
call fcn.1018b7d0
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
test esi, esi
jne 0x1018a530
xor ebp, ebp
cmp byte [esp + 0x74], 0
mov dword [esp + 0x70], ebp
je 0x1018a57a
mov dword [esp + 0x78], ebp
jmp 0x1018a585
mov ecx, dword [esp + 0x7c]
add ecx, 1
mov dword [esp + 0x78], ecx
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
cmp esi, ebp
je 0x1018a64a
test byte [esi + 0x1a], 0x20
je 0x1018a5b2
lea esi, [esp + 0x6c]
call fcn.10189000
mov esi, eax
cmp esi, ebp
jne 0x1018a598
jmp 0x1018a64a
mov edx, dword [esi]
mov eax, dword [edx + 0x1b4]
push ebp
mov ecx, esi
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x18c]
mov ecx, esi
call eax
add ebx, eax
cmp dword [edi + 0x8c], ebx
lea eax, [edi + 0x8c]
mov dword [esp + 0x48], ebx
mov ecx, eax
jl 0x1018a5e7
lea ecx, [esp + 0x48]
mov ecx, dword [ecx]
mov ebx, esi
lea esi, [esp + 0x6c]
mov dword [eax], ecx
call fcn.10189000
cmp eax, ebp
je 0x1018a615
lea ebx, [ebx]
test byte [eax + 0x1a], 0x20
jne 0x1018a608
mov ebx, eax
lea esi, [esp + 0x6c]
call fcn.10189000
cmp eax, ebp
jne 0x1018a600
mov edx, dword [ebx]
mov eax, dword [edx + 0x1a8]
push ebp
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov esi, eax
mov eax, dword [edx + 0x18c]
mov ecx, ebx
call eax
add esi, eax
add edi, 0x88
cmp esi, dword [edi]
mov dword [esp + 0x48], esi
mov eax, edi
jl 0x1018a646
lea eax, [esp + 0x48]
mov ecx, dword [eax]
mov dword [edi], ecx
cmp byte [esp + 0x13], 0
je 0x1018a65b
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
mov dword [eax], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4