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

Disassembly:
sub esp, 0x60
mov eax, dword [0x705898]
mov eax, dword [eax + 0x3a4]
movss xmm0, dword [0x64969c]
movss xmm1, dword [0x64f890]
movss xmm2, dword [0x64f88c]
movss xmm3, dword [0x64f888]
push ebx
push ebp
mov dword [esp + 0x1c], eax
cdq
push esi
sub eax, edx
push edi
xor ebp, ebp
mov edi, eax
sar edi, 1
mov dword [0x84c258], ebp
mov dword [0x84c25c], 0x64
mov dword [0x84c260], 3
mov dword [0x84c264], ebp
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x6c], xmm3
mov dword [esp + 0x10], edi
jmp 0x46cc10
mov edi, dword [esp + 0x10]
lea esp, [esp]
xor ecx, ecx
lea eax, [ebp*8]
sub eax, ebp
lea eax, [eax*4 + 0x84c220]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov ecx, ebp
neg ecx
sbb ecx, ecx
mov esi, ebp
imul esi, esi, 0x17c0
and ecx, 0x220
add esi, 0x848920
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 2
jmp 0x46cc70
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
lea ebx, [ebx]
push 1
push 0xbd
push esi
call fcn.004b7a50
push 9
call fcn.00523270
add esp, 0x10
test ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jne 0x46cca1
add edi, 0xffffff11
mov dword [esp + 0x14], edi
xor edi, edi
jmp 0x46ccc0
add edi, 0xef
mov dword [esp + 0x14], edi
xor edi, edi
jmp 0x46ccc0
mov esi, dword [esp + 0x18]
jmp 0x46ccc0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
lea edx, [edi*8]
sub edx, edi
push 0
add edx, edx
push 2
sub edx, edi
push eax
shl edx, 4
lea esi, [edx + esi + 0x10]
push ecx
push esi
call fcn.004b8350
mov edx, dword [esp + 0x28]
push 0xc8
push 0x2f
push ebp
mov ebx, 5
mov ecx, esi
call fcn.0046c680
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x70], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x8c], edx
mov edx, dword [esp + 0x68]
mov dword [esi + 0xa0], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x88], ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + 0xb8], edx
mov dword [esi + 0xbc], eax
mov eax, 0x3f800000
xor edx, edx
add esp, 0x20
cmp edi, edx
mov dword [esi + 0xa4], ecx
mov dword [esi + 0x60], 0x1c00a
mov dword [esi + 0x64], 0x3c
mov dword [esi + 0x6c], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xb4], eax
mov ecx, 0x50080808
je 0x46cd85
mov ecx, 0x80206060
cmp ebp, 1
mov dword [esi + 0xb0], ecx
mov dword [esi + 0x98], ecx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x68], ecx
jne 0x46cdb4
mov byte [esi + 0xb3], dl
mov byte [esi + 0x9b], dl
mov byte [esi + 0x83], dl
mov byte [esi + 0x6b], dl
add edi, 1
cmp edi, 2
jl 0x46ccaf
push 0xc
call fcn.00523270
mov ebx, dword [esp + 0x14]
add esp, 4
test ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jne 0x46cde2
add ebx, 0xffffff11
jmp 0x46cde8
add ebx, 0xef
mov esi, dword [esp + 0x18]
xor edi, edi
add esi, 0x420
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 1
push 2
push ecx
push edx
push esi
call fcn.004b7ea0
push 0xc4
push edi
push 0
push ebp
mov eax, 0x2a
mov edx, ebx
mov ecx, esi
call fcn.0046c790
add esp, 0x24
cmp ebp, 1
jne 0x46ce2b
mov byte [esi + 0x6b], 0
add edi, 1
add esi, 0x90
cmp edi, 3
jl 0x46cdf4
push 9
call fcn.00523270
add esp, 4
test ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jne 0x46ce5e
mov eax, dword [esp + 0x10]
add eax, 0xffffff20
mov dword [esp + 0x14], eax
jmp 0x46ce6c
mov ecx, dword [esp + 0x10]
add ecx, 0xe0
mov dword [esp + 0x14], ecx
xor edi, edi
mov edi, edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
lea edx, [edi*8]
sub edx, edi
add edx, edx
sub edx, edi
push 0
shl edx, 4
push 2
lea esi, [edx + eax + 0x1b0]
mov edx, dword [esp + 0x30]
push ecx
push edx
push esi
call fcn.004b8350
mov edx, dword [esp + 0x28]
push 0xc8
push 0x1f
push ebp
mov ebx, 0xb
mov ecx, esi
call fcn.0046c680
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x88], edx
mov edx, dword [esp + 0x84]
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x88]
mov dword [esi + 0xa0], ecx
mov ecx, dword [esp + 0x8c]
add esp, 0x20
test edi, edi
mov dword [esi + 0x60], 0x1c00a
mov dword [esi + 0x64], 0x3c
mov dword [esi + 0xa4], edx
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], ecx
jne 0x46cf32
mov ecx, 0x50080808
mov dword [esi + 0x98], ecx
mov dword [esi + 0x68], ecx
jmp 0x46cf5a
cmp edi, 1
jne 0x46cf47
mov ecx, 0x80360a38
mov dword [esi + 0x98], ecx
mov dword [esi + 0x68], ecx
jmp 0x46cf5a
mov ecx, 0x80465a09
mov dword [esi + 0x98], ecx
mov dword [esi + 0x68], ecx
mov ecx, 0x80384008
mov eax, 0x3f800000
add edi, 1
cmp edi, 3
mov dword [esi + 0x9c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], eax
jl 0x46ce70
push 0xc
call fcn.00523270
add esp, 4
test ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jne 0x46cfb2
mov edx, dword [esp + 0x10]
add edx, 0xffffff20
mov dword [esp + 0x14], edx
jmp 0x46cfbf
mov eax, dword [esp + 0x10]
add eax, 0xe0
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x18]
xor esi, esi
lea edi, [ebx + 0x5d0]
jmp 0x46cfd0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 1
push 2
push ecx
push edx
push edi
call fcn.004b7ea0
mov edx, dword [esp + 0x28]
push 0xbe
push esi
push 1
push ebp
mov eax, 0x1a
mov ecx, edi
call fcn.0046c790
add esi, 1
add esp, 0x24
add edi, 0x90
cmp esi, 3
jl 0x46cfd0
push 0xd
call fcn.00523270
push 1
push 0
push 0x18
push 0x30
mov ecx, dword [esp + 0x34]
push 1
push 2
push 0x18
push 0x30
push 0
push 0
push 0x60
push 0x60
push 0xffc0
push 8
push ecx
push edx
push eax
lea edx, [ebx + 0x780]
push edx
call fcn.004b8250
add esp, 0x4c
call fcn.00522e60
test ebp, ebp
mov edi, dword [esp + 0x10]
jne 0x46d05f
lea ecx, [edi - 0x110]
jmp 0x46d069
mov ecx, dword [esp + 0x10]
add ecx, 0x110
push 1
push 0
push 0x50
push 0x40
push 1
push 2
push 0x50
push 0x40
push 0
push 0
push 0x50
push 0x40
push 0xffc0
push 8
add ecx, 0xffffffe0
push ecx
push edx
push eax
lea eax, [ebx + 0x810]
push eax
call fcn.004b8250
lea esi, [ebx + 0x8a0]
push 1
push esi
call fcn.005235f0
add esp, 0x50
test ebp, ebp
push 0
push 0x80
jne 0x46d0c2
push 0x28
push 0x18
add edi, 0xffffff20
jmp 0x46d0c9
push 0x18
push 0x28
add edi, 0x60
push 0x80
push 0xffc0
push 0x38
push edi
push 1
push esi
call fcn.00522370
add esp, 0x28
push 0
push 0
push 0
push 0
push 0
push 0x1c0
push 0x280
lea ecx, [ebx + 0xb10]
push 0
push ecx
call fcn.004af7b0
add ebx, 0xbe0
add esp, 0x24
sub dword [esp + 0x1c], 1
mov dword [esp + 0x18], ebx
jne 0x46cc62
add ebp, 1
cmp ebp, 2
jl 0x46cc05
mov eax, dword [esp + 0x24]
add eax, 0xffffffc0
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov edi, eax
sar edi, 1
add edx, 0xffffffeb
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edx
mov esi, 0x84b8a0
jmp 0x46d150
mov edi, dword [esp + 0x24]
nop
push 1
push 0x4b
push esi
call fcn.004b7a50
push 0x41
call fcn.00523270
push 1
push 0
push 0x30
push 0x40
push 1
push 2
push 0x30
push 0x40
push 0
push 0
push 0x30
push 0x40
push 0xffc0
push 0x1c
push edi
push edx
push eax
lea ebx, [esi + 0xa0]
lea eax, [ebx - 0x90]
push eax
call fcn.004b8250
add esp, 0x58
push 0x42
call fcn.00523270
mov edi, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov ebp, 2
push 1
push 0
push 0
push 0
mov ecx, dword [esp + 0x3c]
push 1
mov edx, dword [esp + 0x3c]
push 2
push 0x20
push 0x18
push 0
push 0
push 0x20
push 0x18
push 0xffc0
push 0x21
push edi
push ecx
push edx
push ebx
call fcn.004b8250
add esp, 0x48
add edi, 0x12
add ebx, 0x90
sub ebp, 1
jne 0x46d1b3
push 0x43
call fcn.00523270
push 1
push 1
push 0
push 0
push 1
push 2
push 0x40
push 0xd0
push 0
push 0
push 0x60
push 0x138
push 0xffc0
push 0x1c0
push 0x280
push edx
push eax
lea eax, [esi + 0x1c0]
push eax
call fcn.004b8250
lea ecx, [esi + 0x250]
add esp, 0x4c
push ecx
call fcn.00523510
add esi, 0x4c0
add esp, 4
cmp esi, 0x84c220
jl 0x46d14b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret