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

Disassembly:
push 0xffffffffffffffff
push 0x493d7b
mov eax, dword fs:[0]
push eax
mov eax, 0x10f0
mov dword fs:[0], esp
call fcn.0043ed10
mov eax, dword [0x4b8670]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x1108]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x111c]
mov dword [esp + 0x10fc], eax
mov eax, dword [esp + 0x1118]
mov dword [esp + 0x54], ecx
push ebp
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x5c], eax
call fcn.0046b870
mov eax, dword [edi + 8]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x1108], ebx
je 0x46c110
mov edx, dword [ecx]
lea eax, [esp + 0x7c]
push eax
call dword [edx]
mov esi, dword [esp + 0xc4]
cmp esi, ebx
jne 0x46c145
mov ecx, dword [esp + 0xbc]
xor eax, eax
cmp ecx, ebx
jbe 0x46c890
lea esp, [esp]
mov dword [esp + eax*4 + 0x7c], ebx
mov ecx, dword [esp + 0xbc]
inc eax
cmp eax, ecx
jb 0x46c130
jmp 0x46c890
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [ebp + 0x44], edx
fld dword [edi + 0x108]
fld dword [edi + 0x104]
mov ebx, dword [eax]
mov ecx, dword [ecx]
fucompp
mov dword [esp + 0x74], edx
mov dword [esp + 0x48], 1
fnstsw ax
test ah, 0x44
jp 0x46c184
mov dword [esp + 0x48], 0
test esi, esi
fld dword [edi + 0x104]
mov eax, dword [edi + 0x104]
fsub dword [edi + 0x108]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x108]
mov dword [esp + 0x6c], esi
fild dword [esp + 0x6c]
mov dword [esp + 0x30], eax
jge 0x46c1b6
fadd dword [0x49d168]
fdivp st(1)
xor eax, eax
test edx, edx
mov dword [esp + 0x60], eax
fstp dword [esp + 0x2c]
jbe 0x46c84d
lea ecx, [ebp + 0x50]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x7c]
sub edi, ebp
lea ecx, [esp + 0x7c]
mov esi, ebp
sub ecx, ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ecx
jmp 0x46c1f1
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
mov edx, dword [esp + 0x54]
mov ebx, dword [edx]
mov ebp, dword [esp + 0x1114]
lea edx, [ecx + ecx*4]
lea edx, [ebp + edx*4]
cmp eax, dword [esp + 0xbc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], edx
jb 0x46c226
mov dword [esp + 0x1c], 0
jmp 0x46c22d
mov edi, dword [edi + esi]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x64]
cmp eax, dword [edi + 0x40]
jb 0x46c23c
xor edi, edi
xor ebp, ebp
jmp 0x46c245
mov eax, dword [esp + 0x64]
mov edi, dword [eax + 0x48]
mov ebp, dword [esi]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x44]
cmp byte [eax + esi], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x50], ebp
jne 0x46c7fb
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46c7fb
test ebp, ebp
je 0x46c7fb
xor eax, eax
test edi, edi
mov dword [esp + 0x34], edi
jbe 0x46c7f6
cmp ebx, dword [edx + 0xc]
jb 0x46c4d7
mov esi, dword [esp + 0x1114]
mov edi, dword [esi + 0x50]
lea edx, [ecx + ecx*4]
lea edx, [esi + edx*4]
lea ebx, [ebx]
inc ecx
add edx, 0x14
cmp ecx, edi
jae 0x46c2ba
cmp ebx, dword [edx + 0xc]
mov dword [esp + 0x3c], edx
jae 0x46c2a0
mov dword [esp + 0x4c], ecx
jmp 0x46c4d7
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x48], 1
jne 0x46c41a
mov ecx, dword [esp + 0x28]
sub ecx, eax
cmp ecx, 4
mov edx, eax
jl 0x46c3c5
mov ecx, dword [esp + 0x1c]
lea esi, [ecx + eax*4 + 0xc]
lea ecx, [ebp + eax*4 + 4]
mov ebp, dword [esp + 0x1c]
sub ebp, dword [esp + 0x50]
lea edi, [eax + 2]
mov dword [esp + 0x38], ebp
test edx, edx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
jge 0x46c307
fadd dword [0x49d168]
fmul dword [esp + 0x2c]
mov ebp, dword [esp + 0x1114]
fadd dword [esp + 0x30]
fmul dword [ebp + 0x58]
lea ebp, [edi - 1]
test ebp, ebp
fmul dword [esi - 0xc]
mov dword [esp + 0x20], ebp
fstp dword [ecx - 4]
fild dword [esp + 0x20]
jge 0x46c334
fadd dword [0x49d168]
test edi, edi
fmul dword [esp + 0x2c]
mov ebp, dword [esp + 0x1114]
mov dword [esp + 0x20], edi
fadd dword [esp + 0x30]
fmul dword [ebp + 0x58]
mov ebp, dword [esp + 0x38]
fmul dword [ecx + ebp]
fstp dword [ecx]
fild dword [esp + 0x20]
jge 0x46c361
fadd dword [0x49d168]
fmul dword [esp + 0x2c]
mov ebp, dword [esp + 0x1114]
fadd dword [esp + 0x30]
fmul dword [ebp + 0x58]
lea ebp, [edi + 1]
test ebp, ebp
fmul dword [esi - 4]
mov dword [esp + 0x20], ebp
fstp dword [ecx + 4]
fild dword [esp + 0x20]
jge 0x46c38e
fadd dword [0x49d168]
fmul dword [esp + 0x2c]
mov ebp, dword [esp + 0x1114]
add edx, 4
add ecx, 0x10
fadd dword [esp + 0x30]
add esi, 0x10
add edi, 4
fmul dword [ebp + 0x58]
mov ebp, dword [esp + 0x28]
add ebp, 0xfffffffd
cmp edx, ebp
fmul dword [esi - 0x10]
fstp dword [ecx - 8]
jb 0x46c2f5
mov ebp, dword [esp + 0x50]
cmp edx, dword [esp + 0x28]
jae 0x46c4c1
mov esi, dword [esp + 0x1c]
lea ecx, [ebp + edx*4]
sub esi, ebp
lea esp, [esp]
test edx, edx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
jge 0x46c3f2
fadd dword [0x49d168]
fmul dword [esp + 0x2c]
mov edi, dword [esp + 0x1114]
inc edx
add ecx, 4
fadd dword [esp + 0x30]
fmul dword [edi + 0x58]
cmp edx, dword [esp + 0x28]
fmul dword [ecx + esi - 4]
fstp dword [ecx - 4]
jb 0x46c3e0
jmp 0x46c4c1
fld dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
fmul dword [esi + 0x58]
sub edx, eax
cmp edx, 4
mov edi, eax
fstp dword [esp + 0x18]
jl 0x46c496
mov ecx, dword [esp + 0x1c]
lea esi, [ecx + eax*4 + 0xc]
sub ecx, ebp
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x28]
sub ecx, eax
sub ecx, 4
shr ecx, 2
inc ecx
lea edi, [eax + ecx*4]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x38]
lea edx, [ebp + eax*4 + 4]
lea esp, [esp]
fld dword [esp + 0x18]
add edx, 0x10
fmul dword [esi - 0xc]
add esi, 0x10
dec ecx
fstp dword [edx - 0x14]
fld dword [esp + 0x18]
fmul dword [edx + edi - 0x10]
fstp dword [edx - 0x10]
fld dword [esp + 0x18]
fmul dword [esi - 0x14]
fstp dword [edx - 0xc]
fld dword [esp + 0x18]
fmul dword [esi - 0x10]
fstp dword [edx - 8]
jne 0x46c460
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
cmp edi, edx
jae 0x46c4c1
mov esi, dword [esp + 0x1c]
sub esi, ebp
lea ecx, [ebp + edi*4]
sub edx, edi
lea ebx, [ebx]
fld dword [esp + 0x18]
add ecx, 4
dec edx
fmul dword [esi + ecx - 4]
fstp dword [ecx - 4]
jne 0x46c4b0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
add ebx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x34], 0
mov edi, dword [edx + 0xc]
mov esi, dword [esp + 0x34]
sub edi, ebx
cmp esi, edi
ja 0x46c4e6
mov edi, esi
test edi, edi
mov dword [esp + 0x20], edi
jbe 0x46c7e6
mov ecx, edi
lea edi, [ecx + eax]
cmp dword [esp + 0x48], 1
mov dword [esp + 0x40], edi
jne 0x46c6ae
test ebx, ebx
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
jge 0x46c518
fadd dword [0x49d168]
mov ecx, dword [esp + 0x3c]
fmul dword [ecx]
mov edx, edi
sub edx, eax
cmp edx, 4
fadd dword [ecx + 4]
fld dword [esp + 0x2c]
fmul dword [ecx]
fstp dword [esp + 0x18]
fld dword [esp + 0x30]
fmul dword [ecx]
fld st(1)
fmul dword [esp + 0x2c]
faddp st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x30]
fstp dword [esp + 0x10]
jl 0x46c65a
mov edi, dword [esp + 0x1c]
lea edx, [edi + eax*4 + 0xc]
sub edi, ebp
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x40]
add edi, 0xfffffffd
sub edi, eax
dec edi
shr edi, 2
lea esi, [eax + 2]
lea ecx, [ebp + eax*4 + 4]
lea ebx, [ebx + edi*4 + 4]
jmp 0x46c580
test eax, eax
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
jge 0x46c592
fadd dword [0x49d168]
fld st(0)
lea edi, [esi - 1]
test edi, edi
fmul st(1)
mov dword [esp + 0x24], edi
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x10]
fmul dword [edx - 0xc]
fstp dword [ecx - 4]
fstp st(0)
fild dword [esp + 0x24]
jge 0x46c5c3
fadd dword [0x49d168]
test esi, esi
fld st(0)
mov edi, dword [esp + 0x38]
fmul st(1)
mov dword [esp + 0x24], esi
fmul dword [esp + 0x18]
fxch st(1)
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [esp + 0x10]
fmul dword [edi + ecx]
fstp dword [ecx]
fild dword [esp + 0x24]
jge 0x46c5f2
fadd dword [0x49d168]
fld st(0)
lea edi, [esi + 1]
test edi, edi
fmul st(1)
mov dword [esp + 0x24], edi
fmul dword [esp + 0x18]
fxch st(1)
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [esp + 0x10]
fmul dword [edx - 4]
fstp dword [ecx + 4]
fild dword [esp + 0x24]
jge 0x46c621
fadd dword [0x49d168]
fld st(0)
mov edi, dword [esp + 0x40]
fmul st(1)
add eax, 4
add edi, 0xfffffffd
add ecx, 0x10
fmul dword [esp + 0x18]
add edx, 0x10
fxch st(1)
add esi, 4
cmp eax, edi
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [esp + 0x10]
fmul dword [edx - 0x10]
fstp dword [ecx - 8]
jb 0x46c580
mov edi, dword [esp + 0x40]
cmp eax, edi
jae 0x46c7ce
mov edx, dword [esp + 0x1c]
mov esi, edi
sub esi, eax
sub edx, ebp
lea ecx, [ebp + eax*4]
add ebx, esi
test eax, eax
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
jge 0x46c684
fadd dword [0x49d168]
fld st(0)
inc eax
fmul st(1)
add ecx, 4
cmp eax, edi
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x10]
fmul dword [ecx + edx - 4]
fstp dword [ecx - 4]
fstp st(0)
jb 0x46c672
jmp 0x46c7ce
mov ecx, dword [esp + 0x3c]
fld dword [esp + 0x5c]
fmul dword [ecx]
mov esi, eax
fstp dword [esp + 0x10]
fld dword [esp + 0x5c]
fmul dword [ecx + 4]
mov ecx, edi
sub ecx, eax
cmp ecx, 4
fstp dword [esp + 0x14]
jl 0x46c794
mov edx, dword [esp + 0x1c]
lea esi, [edx + eax*4 + 0xc]
sub edx, ebp
mov dword [esp + 0x38], edx
mov edx, edi
sub edx, eax
sub edx, 4
shr edx, 2
lea ecx, [ebp + eax*4 + 4]
inc edx
lea eax, [eax + edx*4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov edi, edi
test ebx, ebx
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
jge 0x46c712
fadd dword [0x49d168]
fmul dword [esp + 0x10]
inc ebx
test ebx, ebx
mov dword [esp + 0x24], ebx
fadd dword [esp + 0x14]
fmul dword [esi - 0xc]
fstp dword [ecx - 4]
fild dword [esp + 0x24]
jge 0x46c733
fadd dword [0x49d168]
fmul dword [esp + 0x10]
inc ebx
test ebx, ebx
mov dword [esp + 0x24], ebx
fadd dword [esp + 0x14]
fmul dword [ecx + eax]
fstp dword [ecx]
fild dword [esp + 0x24]
jge 0x46c753
fadd dword [0x49d168]
fmul dword [esp + 0x10]
inc ebx
test ebx, ebx
mov dword [esp + 0x24], ebx
fadd dword [esp + 0x14]
fmul dword [esi - 4]
fstp dword [ecx + 4]
fild dword [esp + 0x24]
jge 0x46c774
fadd dword [0x49d168]
fmul dword [esp + 0x10]
inc ebx
add ecx, 0x10
add esi, 0x10
dec edx
fadd dword [esp + 0x14]
fmul dword [esi - 0x10]
fstp dword [ecx - 8]
jne 0x46c700
mov esi, dword [esp + 0x40]
cmp esi, edi
jae 0x46c7ce
mov edx, dword [esp + 0x1c]
mov ecx, edi
sub edx, ebp
lea eax, [ebp + esi*4]
sub ecx, esi
test ebx, ebx
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
jge 0x46c7b8
fadd dword [0x49d168]
fmul dword [esp + 0x10]
inc ebx
add eax, 4
dec ecx
fadd dword [esp + 0x14]
fmul dword [edx + eax - 4]
fstp dword [eax - 4]
jne 0x46c7a6
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
sub edx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
mov eax, edi
mov esi, dword [esp + 0x34]
test esi, esi
ja 0x46c281
mov esi, dword [esp + 0x44]
mov byte [esi], 1
jmp 0x46c820
mov eax, dword [edx + 0xc]
add ebx, edi
cmp ebx, eax
jb 0x46c81d
mov eax, dword [esp + 0x1114]
mov eax, dword [eax + 0x50]
add edx, 0xc
inc ecx
add edx, 0x14
cmp ecx, eax
jae 0x46c81d
cmp ebx, dword [edx]
jae 0x46c811
mov byte [esi], 0
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x74]
inc eax
add esi, 4
inc edi
cmp eax, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x44], edi
jb 0x46c1ed
mov edi, dword [esp + 0x78]
cmp dword [esp + 0x48], 1
jne 0x46c860
mov edx, dword [edi + 0x104]
mov dword [edi + 0x108], edx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xbc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [ecx], ebx
xor ecx, ecx
xor eax, eax
cmp edx, ecx
jbe 0x46c890
jmp 0x46c880
mov dword [esp + eax*4 + 0x7c], ecx
mov edx, dword [esp + 0xbc]
inc eax
cmp eax, edx
jb 0x46c880
mov ecx, dword [esp + 0x1100]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10f0]
pop ebx
xor ecx, esp
call fcn.0043a513
add esp, 0x10fc
ret 0x10