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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x5700c4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
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 fcn.004466ef
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 + 0x8c]
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.0043d26b
lea ecx, [esp + 0x8c]
push ecx
mov ecx, eax
call fcn.00438c05
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
add edi, dword [esp + 0x90]
add eax, dword [esp + 0x8c]
sub edx, dword [esp + 0x94]
sub esi, dword [esp + 0x98]
mov ecx, dword [ebx + 0x588]
mov dword [ebp + 8], eax
mov dword [esp + 0x14], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], esi
test ecx, ecx
je 0x46728b
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x46728b
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x58c]
test ecx, ecx
je 0x4672b4
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4672b4
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 0x4672db
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 0x467a7c
mov edx, dword [ebp + 0x10]
sub esi, edi
sub edx, dword [ebp + 8]
mov ecx, dword [ebx + 0x58c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
test ecx, ecx
je 0x467315
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x467315
mov eax, dword [ebx + 0x58c]
mov ecx, dword [esp + 0x30]
add ecx, dword [eax + 0x558]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x46733b
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x46733b
mov eax, dword [ebx + 0x588]
add esi, dword [eax + 0x558]
mov dword [esp + 0x34], esi
xor edx, edx
mov edi, edx
mov eax, edx
mov ecx, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
cmp dword [ebx + 0x558], edx
jle 0x46755e
mov eax, dword [ebx + 0x554]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x28], esi
mov eax, dword [esi]
call dword [eax + 0xf4]
test al, al
je 0x46753f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x120]
test al, al
jne 0x46753f
mov eax, dword [esi]
lea ecx, [esp + 0x8c]
mov edi, dword [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x4c], edi
call dword [eax + 0x6c]
mov eax, dword [esi]
mov ecx, esi
sub edi, dword [esp + 0x94]
sub edi, dword [esp + 0x8c]
call dword [eax + 0x7c]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x1c], eax
call dword [edx + 0x84]
cmp dword [esp + 0x1c], 0
mov edx, eax
mov dword [esp + 0x38], edx
jg 0x4673ed
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x94]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
test edx, edx
jg 0x4673fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edx, eax
cmp edi, dword [esp + 0x1c]
mov ecx, esi
mov eax, dword [esp + 0x34]
cmovg edi, dword [esp + 0x1c]
cmp eax, edx
cmovg eax, edx
mov edx, dword [esi]
push eax
push edi
lea eax, [esp + 0x8c]
push eax
call dword [edx + 0x140]
cmp dword [esp + 0x88], 0
jne 0x467433
inc dword [esp + 0x2c]
jmp 0x46747b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x467457
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov dword [esp + 0x88], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
cmp dword [esp + 0x88], eax
jle 0x46747b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov dword [esp + 0x88], eax
mov eax, dword [esi]
mov ecx, esi
mov edi, dword [eax + 0x6c]
lea eax, [esp + 0x64]
push eax
call edi
mov ecx, dword [esp + 0x28]
lea esi, [eax + 0xc]
lea eax, [esp + 0x54]
push eax
call edi
mov ecx, dword [esi]
add ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x18]
add ecx, dword [eax + 4]
xor eax, eax
mov esi, dword [esp + 0x28]
add edi, ecx
cmp dword [esp + 0x84], eax
mov ecx, esi
mov dword [esp + 0x18], edi
cmovg eax, dword [esp + 0x84]
mov dword [esp + 0x84], eax
mov eax, dword [esi]
call dword [eax + 0x8c]
cmp dword [esp + 0x84], eax
jge 0x4674ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov edx, dword [esp + 0x84]
cmp edx, eax
jle 0x467515
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov edx, eax
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x8c]
add ecx, edx
add eax, ecx
cmp dword [esp + 0x40], eax
cmovg eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
jmp 0x467543
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x467363
mov esi, dword [esp + 0x34]
xor edx, edx
lea ecx, [eax - 1]
mov dword [esp + 0x28], edx
mov eax, dword [ebx + 0x570]
imul eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
add edi, eax
mov dword [esp + 0x18], edi
test ecx, ecx
jle 0x467596
mov eax, esi
sub eax, edi
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x4675c2
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4675c2
mov eax, dword [ebx + 0x588]
mov ecx, dword [esp + 0x14]
sub ecx, dword [eax + 0x560]
mov dword [esp + 0x14], ecx
jmp 0x4675f0
cmp dword [esp + 0x2c], 0
jg 0x4675f0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x184]
cmp eax, 4
jne 0x4675e3
mov eax, esi
sub eax, edi
cdq
sub eax, edx
sar eax, 1
jmp 0x4675ec
cmp eax, 8
jne 0x4675f0
mov eax, esi
sub eax, edi
add dword [esp + 0x14], eax
xor eax, eax
xor ecx, ecx
and dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ecx
cmp dword [ebx + 0x558], eax
jle 0x467a52
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x1c], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x467a3d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
je 0x46764c
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x24]
call dword [eax + 0x208]
jmp 0x467a3d
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
inc dword [esp + 0x3c]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [esp + 0x30]
mov ecx, edi
sub esi, dword [esp + 0x90]
mov dword [esp + 0x48], eax
sub eax, dword [esp + 0x94]
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [esp + 0x34], esi
call dword [eax + 0x7c]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x10], eax
call dword [edx + 0x84]
cmp dword [esp + 0x10], 0
mov dword [esp + 0x48], eax
jg 0x4676b6
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x4676c4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, dword [esp + 0x20]
mov ecx, esi
cmp edx, dword [esp + 0x10]
cmovg edx, dword [esp + 0x10]
cmp esi, eax
mov dword [esp + 0x20], edx
cmovg ecx, eax
mov eax, dword [esp + 0x98]
add eax, dword [esp + 0x90]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
sub ecx, eax
cmp dword [esp + 0x3c], 1
mov dword [esp + 0x18], ecx
jle 0x467709
sub ecx, dword [ebx + 0x570]
mov dword [esp + 0x18], ecx
push dword [esp + 0x48]
mov eax, dword [edi]
lea ecx, [esp + 0x88]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x140]
cmp dword [esp + 0x88], 0
jne 0x4677a8
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x88], eax
cmp ecx, dword [esp + 0x2c]
jne 0x46775e
mov eax, esi
sub eax, dword [esp + 0x98]
sub eax, dword [esp + 0x18]
push 0
pop ecx
cmovs eax, ecx
mov dword [esp + 0x88], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x467782
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
cmp dword [esp + 0x88], eax
jle 0x4677f8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov dword [esp + 0x88], eax
jmp 0x4677f8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x4677cc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, dword [esp + 0x88]
cmp edx, eax
jle 0x4677f4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, eax
mov dword [esp + 0x88], edx
sub dword [esp + 0x18], edx
xor eax, eax
cmp dword [esp + 0x84], eax
cmovg eax, dword [esp + 0x84]
test eax, eax
jne 0x46781f
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x94]
sub eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x20]
mov ecx, edi
cmovg eax, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov eax, dword [edi]
call dword [eax + 0x8c]
cmp dword [esp + 0x84], eax
jge 0x467853
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x17c]
cmp eax, 1
jne 0x467904
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebx + 0x58c]
sar ecx, 1
mov dword [esp + 0x10], ecx
test eax, eax
je 0x4678b2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xf4]
test al, al
je 0x4678ae
mov ecx, dword [ebx + 0x58c]
mov eax, dword [ecx + 0x558]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x560]
mov ecx, dword [esp + 0x10]
add ecx, eax
jmp 0x4678b2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x84]
lea esi, [esp + 0x74]
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
sub ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x90]
lea eax, [ecx + edx]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x88]
add eax, ecx
add eax, edx
mov dword [esp + 0x80], eax
jmp 0x4679ec
mov ecx, dword [ebx + 0x58c]
cmp eax, 2
jne 0x46797d
mov esi, dword [ebp + 0x10]
test ecx, ecx
je 0x467937
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x467937
mov eax, dword [ebx + 0x58c]
mov esi, dword [eax + 0x558]
sub esi, dword [eax + 0x560]
add esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x90]
mov eax, esi
sub eax, dword [esp + 0x84]
sub eax, dword [esp + 0x94]
mov edx, dword [esp + 0x14]
sub esi, dword [esp + 0x94]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], esi
lea esi, [esp + 0x54]
lea eax, [ecx + edx]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x88]
add eax, ecx
add eax, edx
mov dword [esp + 0x60], eax
jmp 0x4679ec
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x4679a4
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4679a4
mov eax, dword [ebx + 0x58c]
sub esi, dword [eax + 0x560]
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x1c]
lea eax, [esi + ecx]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x64], eax
lea eax, [edx + esi]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x20]
add eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x88]
add eax, edx
add eax, esi
lea esi, [esp + 0x64]
mov dword [esp + 0x70], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
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 + 0x88]
mov ecx, dword [esp + 0x98]
lea eax, [esi + edx]
add eax, ecx
add eax, dword [esp + 0x90]
add dword [esp + 0x14], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x90]
add dword [esp + 0x28], eax
lea eax, [esi + edx]
mov esi, dword [esp + 0x34]
add eax, ecx
sub esi, eax
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x46760c
mov eax, dword [ebx + 0x570]
lea esi, [ebp + 8]
imul eax, dword [esp + 0x50]
mov ecx, ebx
mov edx, dword [ebx]
add eax, dword [esp + 0x28]
push eax
push dword [esp + 0x44]
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 + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e5245
mov esp, ebp
pop ebp
ret 0x14