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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4d3040]
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 + 0x40], 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.0041f58d
lea esi, [ebx + 0x1b0]
lea edi, [ebp + 8]
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 + 0x6d4]
lea edi, [esp + 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x40]
test eax, eax
je 0x46c363
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.0041845f
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call fcn.0042834f
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x78]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add edi, dword [esp + 0x74]
add dword [ebp + 0xc], ecx
sub eax, dword [esp + 0x80]
sub ebx, dword [esp + 0x7c]
mov ecx, dword [esi + 0x6f8]
mov dword [esp + 0x28], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], ebx
mov dword [esp + 0x24], eax
mov dword [ebp + 0x14], eax
test ecx, ecx
je 0x46c3bc
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x46c3bc
mov ecx, dword [esi + 0x6f8]
mov eax, dword [ecx]
call dword [eax + 0xcc]
sub ebx, eax
mov dword [ebp + 0x10], ebx
mov ecx, dword [esi + 0x6fc]
test ecx, ecx
je 0x46c3ef
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x46c3ef
mov ecx, dword [esi + 0x6fc]
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov dword [esp + 0x24], ecx
mov dword [ebp + 0x14], ecx
jmp 0x46c3f3
mov ecx, dword [esp + 0x24]
lea edx, [esi + 0x6bc]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x46cba4
cmp dword [edx + 4], 0
je 0x46cba4
sub ebx, edi
mov dword [esp + 0x40], ebx
mov ebx, ecx
sub ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x6f8]
mov dword [esp + 0x3c], ebx
test ecx, ecx
je 0x46c448
mov eax, dword [ecx]
call dword [eax + 0x170]
mov edx, dword [esp + 0x1c]
test al, al
je 0x46c448
mov eax, dword [esi + 0x6f8]
add ebx, dword [eax + 0x6bc]
mov dword [esp + 0x3c], ebx
xor eax, eax
mov dword [esp + 0x5c], 0x64
and dword [esp + 0x38], eax
xor edi, edi
mov dword [esp + 0x4c], eax
xor ecx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ecx
cmp ecx, dword [edx + 4]
jge 0x46c658
mov eax, dword [edx]
mov ebx, dword [eax + ecx*4]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x170]
test al, al
je 0x46c646
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1a4]
test al, al
jne 0x46c646
mov eax, dword [ebx]
lea ecx, [esp + 0x74]
mov esi, dword [esp + 0x3c]
push ecx
mov ecx, ebx
call dword [eax + 0xbc]
mov eax, dword [ebx]
mov edi, esi
sub edi, dword [esp + 0x80]
mov ecx, ebx
sub edi, dword [esp + 0x78]
call dword [eax + 0xcc]
mov edx, dword [ebx]
mov esi, eax
mov ecx, ebx
mov dword [esp + 0x34], esi
call dword [edx + 0xd4]
mov dword [esp + 0x44], eax
test esi, esi
jg 0x46c4f0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xf8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
test eax, eax
jg 0x46c4fe
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x108]
mov esi, dword [esp + 0x40]
mov ecx, esi
cmp esi, dword [esp + 0x34]
cmovg ecx, dword [esp + 0x34]
cmp edi, eax
cmovg edi, eax
mov eax, dword [ebx]
push edi
push ecx
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call dword [eax + 0x1cc]
cmp dword [esp + 0xc], 0
jne 0x46c55f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
test eax, eax
jle 0x46c551
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
imul eax, esi
push 0x64
pop ecx
cdq
idiv ecx
mov dword [esp + 0xc], eax
jmp 0x46c555
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x46c55f
inc dword [esp + 0x38]
jmp 0x46c59b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf0]
cmp dword [esp + 0xc], eax
jge 0x46c57d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf0]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf8]
cmp dword [esp + 0xc], eax
jle 0x46c59b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf8]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [eax + 0xbc]
lea eax, [esp + 0x94]
push eax
call edi
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x84]
push eax
call edi
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x14]
add ecx, dword [eax]
xor eax, eax
add ecx, dword [esp + 0xc]
add edi, ecx
cmp dword [esp + 0x10], eax
mov ecx, ebx
mov dword [esp + 0x14], edi
cmovg eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
call dword [eax + 0x100]
cmp dword [esp + 0x10], eax
jge 0x46c5fd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x108]
mov edx, dword [esp + 0x10]
cmp edx, eax
jle 0x46c61f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x108]
mov edx, eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
add ecx, edx
add eax, ecx
cmp dword [esp + 0x4c], eax
cmovg eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x46c64a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
inc ecx
jmp 0x46c466
mov esi, dword [esp + 0x2c]
dec eax
and dword [esp + 0x44], 0
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov ecx, dword [esi + 0x6e4]
imul ecx, eax
add ecx, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
test edi, edi
jle 0x46c693
mov eax, ebx
sub eax, ecx
xor ecx, ecx
cdq
idiv edi
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x6fc]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
test ecx, ecx
je 0x46c6c3
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x46c6c3
mov eax, dword [esi + 0x6fc]
sub edi, dword [eax + 0x6c0]
jmp 0x46c6f7
cmp dword [esp + 0x38], 0
jg 0x46c6fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x228]
cmp eax, 1
jne 0x46c6ec
mov eax, ebx
sub eax, dword [esp + 0x20]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0x1c]
jmp 0x46c6f7
cmp eax, 2
jne 0x46c6fb
sub edi, dword [esp + 0x20]
add edi, ebx
mov dword [esp + 0x28], edi
xor eax, eax
xor ebx, ebx
and dword [esp + 0x58], eax
xor ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], eax
lea eax, [esi + 0x6bc]
mov dword [esp + 0x34], ecx
cmp ecx, dword [eax + 4]
jge 0x46cb77
mov eax, dword [eax]
mov ebx, dword [eax + ecx*4]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x170]
test al, al
je 0x46c74f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1a4]
test al, al
je 0x46c75a
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x34]
call dword [eax + 0x2a4]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
inc ecx
jmp 0x46c70d
mov eax, dword [ebx]
lea ecx, [esp + 0x74]
inc dword [esp + 0x30]
push ecx
mov ecx, ebx
call dword [eax + 0xbc]
mov eax, dword [esp + 0x18]
mov ecx, ebx
sub eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
call dword [eax + 0xcc]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x48], eax
call dword [edx + 0xd4]
cmp dword [esp + 0x48], 0
mov dword [esp + 0x50], eax
jg 0x46c7c1
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xf8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
test eax, eax
jg 0x46c7cf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x108]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
cmp edx, ecx
cmovg edx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x14]
cmp edx, eax
cmovg edx, eax
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x74]
sub ecx, eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x30], 1
mov dword [esp + 0x20], ecx
jle 0x46c810
sub ecx, dword [esi + 0x6e4]
mov dword [esp + 0x20], ecx
mov eax, dword [ebx]
lea ecx, [esp + 0xc]
push edx
push dword [esp + 0x54]
push ecx
mov ecx, ebx
call dword [eax + 0x1cc]
cmp dword [esp + 0xc], 0
jne 0x46c8cb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
test eax, eax
jle 0x46c858
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
imul eax, dword [esp + 0x40]
push 0x64
pop ecx
cdq
idiv ecx
mov dword [esp + 0xc], eax
jmp 0x46c85c
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x46c8cb
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0xc], eax
cmp ecx, dword [esp + 0x38]
jne 0x46c88d
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x20]
push 0
pop ecx
cmovs eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf0]
cmp dword [esp + 0xc], eax
jge 0x46c8ab
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf0]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf8]
cmp dword [esp + 0xc], eax
jle 0x46c90f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf8]
mov dword [esp + 0xc], eax
jmp 0x46c90f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf0]
cmp dword [esp + 0xc], eax
jge 0x46c8e9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf0]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf8]
mov edx, dword [esp + 0xc]
cmp edx, eax
jle 0x46c90b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf8]
mov edx, eax
mov dword [esp + 0xc], edx
sub dword [esp + 0x20], edx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46c964
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test eax, eax
jne 0x46c94b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test eax, eax
jle 0x46c94b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
mov ecx, dword [esp + 0x3c]
imul eax, ecx
cdq
idiv dword [esp + 0x5c]
jmp 0x46c953
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
test eax, eax
jne 0x46c964
mov eax, ecx
sub eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, ebx
cmp eax, dword [esp + 0x14]
cmovg eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
call dword [eax + 0x100]
cmp dword [esp + 0x10], eax
jge 0x46c996
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x230]
mov ecx, dword [esi + 0x6f8]
cmp eax, 4
jne 0x46ca22
mov eax, dword [esp + 0x24]
add eax, dword [ebp + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x46c9e6
mov edx, dword [ecx]
call dword [edx + 0x170]
test al, al
je 0x46c9e6
mov ecx, dword [esi + 0x6f8]
mov eax, dword [ecx + 0x6bc]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x6c0]
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x10]
lea eax, [ecx + edi]
mov dword [esp + 0x64], eax
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
sub edx, eax
mov eax, dword [esp + 0xc]
add eax, ecx
mov dword [esp + 0x68], edx
add eax, edi
mov dword [esp + 0x6c], eax
lea eax, [edx + esi]
mov dword [esp + 0x70], eax
lea esi, [esp + 0x64]
jmp 0x46cb1a
cmp eax, 8
jne 0x46caab
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x50], edx
test ecx, ecx
je 0x46ca63
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x46ca5f
mov eax, dword [esi + 0x6f8]
mov edx, dword [eax + 0x6bc]
sub edx, dword [eax + 0x6c0]
add edx, dword [esp + 0x50]
jmp 0x46ca63
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
lea esi, [esp + 0x84]
lea eax, [ecx + edi]
mov dword [esp + 0x84], eax
mov eax, edx
sub eax, dword [esp + 0x10]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xc]
add eax, ecx
add eax, edi
sub edx, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
jmp 0x46cb1a
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x46cad5
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x46cad5
mov eax, dword [esi + 0x6f8]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 0x6c0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x78]
lea eax, [ecx + edi]
mov dword [esp + 0x94], eax
lea eax, [esi + edx]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xc]
add eax, ecx
add eax, edi
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x10]
add eax, esi
lea esi, [esp + 0x94]
add eax, edx
mov dword [esp + 0xa0], eax
mov eax, dword [ebx]
mov ecx, ebx
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 + 0xa0]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x28]
mov esi, dword [ebx + 0x6e4]
mov ebx, dword [esp + 0x1c]
lea eax, [esi + edx]
add eax, ecx
add eax, dword [esp + 0x74]
add edi, eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x74]
add ebx, eax
mov dword [esp + 0x28], edi
lea eax, [esi + edx]
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x2c]
add eax, ecx
sub dword [esp + 0x18], eax
jmp 0x46c753
mov eax, dword [esp + 0x4c]
mov edx, dword [esi]
push eax
mov eax, dword [esi + 0x6e4]
lea esi, [ebp + 8]
imul eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
add eax, ebx
push eax
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 + 0x2a8]
jmp 0x46cbc0
mov eax, dword [esi]
lea esi, [ebp + 8]
mov ecx, dword [esp + 0x2c]
push 0
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 + 0x2a8]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004820f4
mov esp, ebp
pop ebp
ret 0x14