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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x70c19c
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x78b624]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x78b624]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00464d50
xor ebx, ebx
xor eax, eax
cmp dword [esi + 0x42c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov word [esp + 0x68], bx
mov word [esp + 0x6a], bx
mov dword [esp + 0x6c], ebx
mov word [esp + 0x74], bx
mov word [esp + 0x76], 1
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 0x64
mov dword [esp + 0x84], ebx
mov dword [esp + 0x34], eax
jle 0x46cede
mov dword [esp + 0x30], ebx
mov edi, dword [esi + 0x430]
add edi, dword [esp + 0x30]
or ecx, 0xffffffff
sub ecx, dword [esi + 0x440]
mov dword [esp + 0x2c], ebx
cmp eax, ecx
jne 0x46cb01
mov edx, dword [0x79850c]
jmp 0x46cc99
mov ecx, 0x791b60
call fcn.004130f0
test al, al
js 0x46cc3d
mov ecx, dword [0x7a7ae0]
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xbbc
call fcn.004c1750
cmp eax, 1
je 0x46cc3d
mov ecx, 0x791b60
call fcn.004130f0
test eax, 0x4000
jne 0x46cbdb
mov ecx, dword [0x7a7ae0]
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xbbe
call fcn.004c1750
cmp eax, 1
je 0x46cbdb
test dword [esi + 0x10], 0x2000
je 0x46cc9d
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x450]
push ebx
mov dword [esp + 0x44], eax
push ebx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x50], ecx
mov ecx, dword [0x7a7ae0]
push 0x7d1
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], edx
call fcn.004c1750
test al, 1
je 0x46cbb6
mov ecx, dword [0x7984fc]
mov dword [esp + 0x2c], ecx
jmp 0x46cc9d
test al, 2
je 0x46cbc5
mov edx, dword [0x798500]
jmp 0x46cc99
test al, 4
je 0x46cc9d
mov eax, dword [0x798504]
mov dword [esp + 0x2c], eax
jmp 0x46cc9d
mov eax, dword [esi + 0x450]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x44], ecx
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], edx
push ebx
mov dword [esp + 0x9c], ecx
mov ecx, dword [0x7a7ae0]
lea edx, [esp + 0xd0]
push 0xbba
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0xa4], edx
call fcn.004c1750
cmp eax, ebx
je 0x46cc9d
mov ecx, dword [0x798510]
mov dword [esp + 0x2c], ecx
jmp 0x46cc9d
mov ecx, dword [esi + 0x450]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [0x7a7ae0]
push ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
push ebx
lea edx, [esp + 0x4c]
lea eax, [esp + 0xd0]
push 0xbb9
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
call fcn.004c1750
cmp eax, ebx
je 0x46cc9d
mov edx, dword [0x798510]
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x2c], ebx
jne 0x46ccac
mov eax, dword [0x7984fc]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x428]
mov ecx, dword [esi + 0x424]
mov edx, dword [esi + 0x41c]
sub edx, eax
lea ebx, [ecx + ecx]
sub edx, ebx
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x420]
sub edx, eax
sub edx, ebx
mov dword [esp + 0x3c], edx
mov edx, dword [edi + 0x10]
imul edx, dword [esi + 0x41c]
add edx, eax
add edx, ecx
add edx, dword [esi + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x14]
mov edx, dword [edi + 0x14]
imul edx, dword [esi + 0x420]
add edx, dword [esi + 0x28]
add edx, eax
add edx, ecx
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x18]
je 0x46cd4a
fild dword [esp + 0x38]
mov ecx, dword [0x7a7ad8]
push ebx
push 1
fadd dword [esp + 0x1c]
push 8
lea edx, [esp + 0x20]
push edx
fstp dword [esp + 0x30]
push 1
fild dword [esp + 0x50]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
mov eax, dword [edi]
or ecx, 0xffffffff
cmp eax, 0x10007
ja 0x46cd93
je 0x46cda1
sub eax, 7
je 0x46cda1
sub eax, 1
jne 0x46cda3
mov edx, dword [esi + 0x438]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esi + 0x43c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa0], edx
lea ecx, [esp + 0x98]
jmp 0x46cda3
cmp eax, 0x20007
je 0x46cda1
cmp eax, 0x40007
jne 0x46cda3
xor ecx, ecx
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.00695380
fld dword [esp + 0x20]
push eax
call fcn.00695380
mov edx, dword [edi + 4]
mov ecx, dword [0x7a7ae0]
push eax
mov eax, dword [edi]
push edx
push eax
call fcn.004c37d0
cmp byte [edi + 0x18], bl
lea eax, [edi + 0x18]
mov dword [esp + 0x10], eax
je 0x46cec2
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x46cde7
mov edi, dword [esi + 0x454]
fld dword [esp + 0x14]
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0x45c]
imul eax, ecx
cdq
sub eax, edx
sar eax, 1
sub edi, eax
call fcn.00695380
add edi, eax
sub edi, dword [esi + 0x24]
fld dword [esp + 0x18]
mov dword [esp + 0x5c], edi
mov edi, dword [esi + 0x458]
sub edi, dword [esi + 0x28]
call fcn.00695380
mov ecx, dword [esi + 0x460]
add edi, eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0xffff8001
mov word [esp + 0x68], bx
mov dword [esp + 0x70], ebx
call dword [0x72a584]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xa8]
push edx
push eax
mov dword [esp + 0x130], ebx
call dword [0x72aa44]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0xc4]
add esp, 8
push 1
push ebx
push ebx
push ecx
push edx
lea ecx, [esp + 0xbc]
call dword [0x72a58c]
mov ecx, dword [esi + 0x45c]
push eax
lea eax, [esp + 0x74]
push eax
push ecx
mov ecx, esi
call fcn.00465b30
lea ecx, [esp + 0xa8]
mov dword [esp + 0x128], 0xffffffff
call dword [0x72a590]
mov eax, dword [esp + 0x34]
add dword [esp + 0x30], 0x34
add eax, 1
cmp eax, dword [esi + 0x42c]
mov dword [esp + 0x34], eax
jl 0x46cadb
mov edi, dword [esi + 0x440]
cmp edi, ebx
jl 0x46cf99
mov edx, dword [esi + 0x41c]
mov ecx, dword [esi + 0x424]
imul edx, edi
add edx, dword [esi + 0x24]
mov eax, dword [esi + 0x428]
mov edi, dword [esi + 0x444]
add edx, ecx
add edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x420]
imul edi, edx
fild dword [esp + 0x10]
fstp dword [esp + 0x14]
add edi, dword [esi + 0x28]
push ebx
add edi, ecx
add edi, eax
mov dword [esp + 0x14], edi
mov edi, dword [esi + 0x448]
imul edi, dword [esi + 0x41c]
fild dword [esp + 0x14]
fstp dword [esp + 0x1c]
mov esi, dword [esi + 0x44c]
imul esi, edx
mov edx, dword [0x79850c]
add ecx, ecx
sub edi, ecx
sub edi, eax
mov dword [esp + 0x14], edi
sub esi, ecx
mov ecx, dword [0x7a7ad8]
fild dword [esp + 0x14]
sub esi, eax
mov dword [esp + 0x14], esi
push 1
fadd dword [esp + 0x1c]
mov dword [esp + 0x34], edx
push 8
lea edx, [esp + 0x20]
fstp dword [esp + 0x2c]
push edx
fild dword [esp + 0x20]
push 1
fadd dword [esp + 0x2c]
fstp dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0069516a
mov esp, ebp
pop ebp
ret