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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x578134]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov dword [esp + 0x54], ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044c2ee
lea esi, [ebx + 0x158]
mov eax, dword [ebx]
lea edi, [ebp + 8]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x560]
lea edi, [esp + 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00442e71
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
call fcn.0043e8a4
mov ecx, dword [esp + 0x94]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
add dword [ebp + 8], ecx
add edi, dword [esp + 0x98]
sub eax, dword [esp + 0x9c]
sub esi, dword [esp + 0xa0]
mov ecx, dword [ebx + 0x588]
mov dword [esp + 0x18], edi
mov dword [ebp + 0xc], edi
mov dword [esp + 0x2c], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], esi
test ecx, ecx
je 0x46cead
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x46cead
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov edx, dword [esp + 0x2c]
sub edx, eax
mov dword [esp + 0x2c], edx
mov dword [ebp + 0x10], edx
mov ecx, dword [ebx + 0x58c]
test ecx, ecx
je 0x46ced6
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x46ced6
mov ecx, dword [ebx + 0x58c]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub esi, eax
mov dword [ebp + 0x14], esi
xor ecx, ecx
cmp dword [ebx + 0x558], ecx
jne 0x46cefd
mov eax, dword [ebx]
lea esi, [ebp + 8]
push ecx
push ecx
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x20c]
jmp 0x46d6ba
mov eax, dword [esp + 0x2c]
sub esi, edi
sub eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x58c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], esi
test ecx, ecx
je 0x46cf34
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x46cf34
mov eax, dword [ebx + 0x58c]
mov eax, dword [eax + 0x558]
add dword [esp + 0x28], eax
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x46cf5c
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x46cf5c
mov eax, dword [ebx + 0x588]
mov eax, dword [eax + 0x558]
add esi, eax
mov dword [esp + 0x30], esi
and dword [esp + 0x48], 0
xor eax, eax
and dword [esp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
cmp dword [ebx + 0x558], eax
jle 0x46d177
mov eax, dword [ebx + 0x554]
mov ebx, dword [eax + edx*4]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0xf4]
test al, al
je 0x46d152
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test al, al
jne 0x46d152
mov eax, dword [ebx]
lea ecx, [esp + 0x94]
mov edi, dword [esp + 0x28]
push ecx
mov ecx, ebx
mov dword [esp + 0x54], edi
call dword [eax + 0x6c]
mov eax, dword [ebx]
mov ecx, ebx
sub edi, dword [esp + 0x9c]
sub edi, dword [esp + 0x94]
call dword [eax + 0x7c]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x1c], eax
call dword [edx + 0x84]
cmp dword [esp + 0x1c], 0
mov ecx, eax
mov dword [esp + 0x38], ecx
jg 0x46d00a
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x94]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
test ecx, ecx
jg 0x46d01a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa4]
mov ecx, eax
cmp edi, dword [esp + 0x1c]
mov eax, esi
mov edx, dword [ebx]
cmovg edi, dword [esp + 0x1c]
cmp esi, ecx
cmovg eax, ecx
mov ecx, ebx
push eax
push edi
lea eax, [esp + 0x94]
push eax
call dword [edx + 0x140]
cmp dword [esp + 0x90], 0
jne 0x46d04e
inc dword [esp + 0x20]
jmp 0x46d096
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x9c]
cmp dword [esp + 0x90], eax
jge 0x46d072
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x9c]
mov dword [esp + 0x90], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa4]
cmp dword [esp + 0x90], eax
jle 0x46d096
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa4]
mov dword [esp + 0x90], eax
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [eax + 0x6c]
lea eax, [esp + 0x6c]
push eax
call edi
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x5c]
push eax
call edi
mov ecx, dword [esi + 0xc]
add ecx, dword [eax + 4]
xor eax, eax
add ecx, dword [esp + 0x90]
add dword [esp + 0x14], ecx
mov ecx, ebx
cmp dword [esp + 0x8c], eax
cmovg eax, dword [esp + 0x8c]
mov dword [esp + 0x8c], eax
mov eax, dword [ebx]
call dword [eax + 0x8c]
cmp dword [esp + 0x8c], eax
jge 0x46d0fc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x8c]
mov dword [esp + 0x8c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x94]
mov edx, dword [esp + 0x8c]
cmp edx, eax
jle 0x46d124
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x94]
mov edx, eax
mov dword [esp + 0x8c], edx
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x94]
add ecx, edx
mov esi, dword [esp + 0x30]
add eax, ecx
cmp dword [esp + 0x48], eax
cmovg eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
jmp 0x46d156
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [ebx + 0x558]
jl 0x46cf84
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and dword [esp + 0x24], 0
lea edx, [eax - 1]
mov eax, dword [ebx + 0x570]
and dword [esp + 0x38], 0
imul eax, edx
mov dword [esp + 0x58], edx
add ecx, eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x14], ecx
jle 0x46d1b2
mov eax, esi
sub eax, ecx
xor ecx, ecx
cdq
idiv dword [esp + 0x20]
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x588]
mov dword [esp + 0x34], edi
test ecx, ecx
je 0x46d1dc
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x46d1dc
mov eax, dword [ebx + 0x588]
mov ecx, edi
sub ecx, dword [eax + 0x560]
jmp 0x46d216
cmp dword [esp + 0x20], 0
jg 0x46d21a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x184]
cmp eax, 4
jne 0x46d209
mov eax, esi
sub eax, dword [esp + 0x14]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0x34]
mov dword [esp + 0x18], edi
jmp 0x46d21a
cmp eax, 8
jne 0x46d21a
mov ecx, edi
sub ecx, dword [esp + 0x14]
add ecx, esi
mov dword [esp + 0x18], ecx
xor eax, eax
xor ecx, ecx
and dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], ecx
cmp dword [ebx + 0x558], eax
jle 0x46d690
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x3c], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x46d67b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
je 0x46d276
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x44]
call dword [eax + 0x208]
jmp 0x46d67b
mov eax, dword [edi]
lea ecx, [esp + 0x94]
inc dword [esp + 0x1c]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, edi
sub esi, dword [esp + 0x98]
mov dword [esp + 0x50], eax
sub eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
mov dword [esp + 0x50], eax
mov eax, dword [edi]
mov dword [esp + 0x30], esi
call dword [eax + 0x7c]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x10], eax
call dword [edx + 0x84]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov dword [esp + 0x4c], edx
test ecx, ecx
jg 0x46d2e3
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
test edx, edx
jg 0x46d2f3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, eax
mov eax, dword [esp + 0x50]
mov ebx, eax
mov ecx, dword [esp + 0x10]
cmp eax, ecx
cmovg ebx, ecx
cmovle ecx, eax
cmp esi, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
cmovg eax, edx
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa0]
add eax, dword [esp + 0x98]
sub ecx, eax
cmp dword [esp + 0x1c], 1
mov dword [esp + 0x14], ecx
jle 0x46d345
sub ecx, dword [ebx + 0x570]
mov dword [esp + 0x14], ecx
push dword [esp + 0x50]
mov eax, dword [edi]
lea ecx, [esp + 0x90]
push dword [esp + 0x50]
push ecx
mov ecx, edi
call dword [eax + 0x140]
cmp dword [esp + 0x90], 0
jne 0x46d3e7
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x90], eax
cmp ecx, dword [esp + 0x20]
jne 0x46d39d
mov eax, esi
sub eax, dword [esp + 0xa0]
sub eax, dword [esp + 0x14]
push 0
pop ecx
cmovs eax, ecx
mov dword [esp + 0x90], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x90], eax
jge 0x46d3c1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x90], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
cmp dword [esp + 0x90], eax
jle 0x46d437
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov dword [esp + 0x90], eax
jmp 0x46d437
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x90], eax
jge 0x46d40b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x90], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov ecx, dword [esp + 0x90]
cmp ecx, eax
jle 0x46d433
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov ecx, eax
mov dword [esp + 0x90], ecx
sub dword [esp + 0x14], ecx
xor eax, eax
cmp dword [esp + 0x8c], eax
cmovg eax, dword [esp + 0x8c]
test eax, eax
jne 0x46d45e
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
cmp eax, dword [esp + 0x10]
mov ecx, edi
cmovg eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
mov eax, dword [edi]
call dword [eax + 0x8c]
cmp dword [esp + 0x8c], eax
jge 0x46d492
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x8c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x17c]
mov ecx, dword [ebx + 0x58c]
cmp eax, 1
jne 0x46d546
mov eax, dword [esp + 0x2c]
add eax, dword [ebp + 8]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x46d4ea
mov edx, dword [ecx]
call dword [edx + 0xf4]
test al, al
je 0x46d4ea
mov ecx, dword [ebx + 0x58c]
mov eax, dword [ecx + 0x558]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x560]
add esi, eax
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x8c]
lea esi, [esp + 0x7c]
mov ecx, dword [esp + 0x10]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
sub ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x98]
lea eax, [ecx + edx]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x90]
add eax, ecx
add eax, edx
mov dword [esp + 0x88], eax
jmp 0x46d62a
cmp eax, 2
jne 0x46d5bf
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x50], esi
test ecx, ecx
je 0x46d579
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x46d579
mov eax, dword [ebx + 0x58c]
mov esi, dword [eax + 0x558]
sub esi, dword [eax + 0x560]
add esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x98]
mov eax, esi
sub eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x18]
sub esi, dword [esp + 0x9c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], esi
lea esi, [esp + 0x5c]
lea eax, [ecx + edx]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x90]
add eax, ecx
add eax, edx
mov dword [esp + 0x68], eax
jmp 0x46d62a
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x46d5e6
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x46d5e6
mov eax, dword [ebx + 0x58c]
sub esi, dword [eax + 0x560]
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
lea eax, [esi + ecx]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
lea eax, [edx + esi]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x90]
add eax, edx
add eax, esi
lea esi, [esp + 0x6c]
mov dword [esp + 0x78], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x3c]
push 0
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
mov esi, dword [ebx + 0x570]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0xa0]
lea eax, [esi + edx]
add eax, ecx
add eax, dword [esp + 0x98]
add dword [esp + 0x18], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x98]
add dword [esp + 0x24], eax
lea eax, [esi + edx]
mov esi, dword [esp + 0x30]
add eax, ecx
sub esi, eax
mov ecx, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x44], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x46d236
mov eax, dword [ebx + 0x570]
lea esi, [ebp + 8]
imul eax, dword [esp + 0x58]
mov ecx, ebx
mov edx, dword [ebx]
add eax, dword [esp + 0x24]
push eax
push dword [esp + 0x4c]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20c]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004eacf5
mov esp, ebp
pop ebp
ret 0x14