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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66b833
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], 0x69dbfc
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov ebx, 0x69dbe8
mov dword [esp + 0x108], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
lea ecx, [esp + 0xd0]
mov byte [esp + 0x108], 2
call fcn.0064dc20
lea ecx, [esp + 0xa0]
call fcn.0064dc20
lea ecx, [esp + 0xb8]
call fcn.0064dc20
lea ecx, [esp + 0xe8]
call fcn.0064dc20
lea ecx, [esp + 0x88]
call fcn.0064dc20
lea ecx, [esp + 0x70]
call fcn.0064dc20
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x46e2f5
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
je 0x46e2f0
mov ecx, esi
call fcn.004da3a0
mov ecx, ebx
mov dword [esp + 0x50], eax
call fcn.004da3a0
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], eax
cmp eax, edi
mov eax, dword [esp + 0x14]
jle 0x46e283
jmp 0x46e05f
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 4]
mov ecx, dword [edx + ecx*4]
cmp ecx, esi
je 0x46e26e
cmp ecx, ebx
je 0x46e26e
xor ebx, ebx
call fcn.004da3a0
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0x68]
mov esi, eax
push 2
push 0x3fe00000
push ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x148]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x18]
call fcn.00472ab0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x30]
call fcn.00473440
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
call fcn.00473440
mov edx, dword [esi]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x118]
test eax, eax
jle 0x46e108
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x88]
push edx
call fcn.004bd820
mov eax, dword [esp + 0x2c]
mov ebx, 1
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x18]
call fcn.00472ab0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
call fcn.00473440
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
call fcn.00473440
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x28]
push ecx
push edx
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x118]
mov ecx, dword [esp + 0x2c]
test eax, eax
mov eax, dword [esp + 0x14]
jle 0x46e19a
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
mov edx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edi
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edi
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov edi, 1
test esi, esi
je 0x46e1ab
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp ebx, 1
jne 0x46e26c
cmp edi, ebx
jne 0x46e26c
lea eax, [esp + 0x70]
lea ecx, [esp + 0x88]
push eax
push ecx
call fcn.0064def0
fcomp qword [0x692690]
add esp, 8
fnstsw ax
test ah, 0x41
jne 0x46e268
push 8
call fcn.0065e5d0
xor edi, edi
add esp, 4
cmp eax, edi
je 0x46e1fb
mov dword [eax], edi
mov dword [eax + 4], edi
mov esi, eax
jmp 0x46e1fd
xor esi, esi
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x24]
fld qword [esp + 0x5c]
mov eax, dword [edx + 4]
fcomp qword [esp + 0x64]
mov eax, dword [eax + ecx*4]
mov dword [esi], eax
fnstsw ax
test ah, 1
je 0x46e225
mov dword [esi + 4], edi
mov eax, 1
jmp 0x46e22d
mov eax, 1
mov dword [esi + 4], eax
cmp dword [ebp + 0x18], eax
jne 0x46e24f
cmp dword [esi + 4], eax
jne 0x46e24f
mov edx, dword [edx + 4]
mov ecx, dword [edx + ecx*4]
call fcn.004da3a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x154]
mov dword [esi + 4], edi
mov ebx, dword [ebp + 0x14]
push 0xffffffffffffffff
mov ecx, ebx
mov edi, dword [ebx + 8]
lea eax, [edi + 1]
push eax
call fcn.0048b670
mov ecx, dword [ebx + 4]
mov dword [ecx + edi*4], esi
mov eax, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
inc ecx
cmp ecx, edx
mov dword [esp + 0x24], ecx
jl 0x46e059
mov ebx, 0x69dbe8
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x108], 6
cmp ecx, edi
je 0x46e2a9
push ecx
call fcn.0065e732
mov eax, dword [esp + 0x18]
add esp, 4
mov esi, 0x691080
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x108], 7
cmp ecx, edi
je 0x46e2d3
push ecx
call fcn.0065e732
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], 0x69dbfc
cmp eax, edi
mov dword [esp + 0x108], 8
je 0x46e360
jmp 0x46e357
mov ebx, 0x69dbe8
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x40]
mov byte [esp + 0x108], 3
cmp eax, edi
je 0x46e312
push eax
call fcn.0065e732
add esp, 4
mov esi, 0x691080
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x108], 4
cmp eax, edi
je 0x46e338
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], 0x69dbfc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x108], 5
cmp eax, edi
je 0x46e360
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0x100]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret