Function at 0x47f3aa
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 + 0x70], 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]
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 + 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]
call dword [eax + 0x40]
test eax, eax
je 0x47f421
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov ecx, eax
call fcn.0041845f
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call fcn.0042834f
mov ecx, dword [esp + 0x74]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
add dword [ebp + 8], ecx
add edi, dword [esp + 0x78]
sub eax, dword [esp + 0x7c]
sub esi, dword [esp + 0x80]
mov ecx, dword [ebx + 0x6f8]
mov dword [esp + 0x1c], edi
mov dword [ebp + 0xc], edi
mov dword [esp + 0x44], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], esi
test ecx, ecx
je 0x47f482
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x47f482
mov ecx, dword [ebx + 0x6f8]
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov edx, dword [esp + 0x44]
sub edx, eax
mov dword [esp + 0x44], edx
mov dword [ebp + 0x10], edx
mov ecx, dword [ebx + 0x6fc]
test ecx, ecx
je 0x47f4ab
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x47f4ab
mov ecx, dword [ebx + 0x6fc]
mov eax, dword [ecx]
call dword [eax + 0xd4]
sub esi, eax
mov dword [ebp + 0x14], esi
lea eax, [ebx + 0x6bc]
mov dword [esp + 0x48], eax
test eax, eax
je 0x47fc03
cmp dword [eax + 4], 0
je 0x47fc03
mov eax, dword [esp + 0x44]
sub esi, edi
sub eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x6fc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], esi
test ecx, ecx
je 0x47f4fe
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x47f4fe
mov eax, dword [ebx + 0x6fc]
mov eax, dword [eax + 0x6bc]
add dword [esp + 0x40], eax
mov ecx, dword [ebx + 0x6f8]
test ecx, ecx
je 0x47f524
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x47f524
mov eax, dword [ebx + 0x6f8]
add esi, dword [eax + 0x6bc]
mov dword [esp + 0x2c], esi
mov ebx, dword [esp + 0x2c]
xor eax, eax
and dword [esp + 0x3c], eax
xor edi, edi
mov dword [esp + 0x50], eax
xor ecx, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
cmp ecx, dword [edx + 4]
jge 0x47f709
mov eax, dword [edx]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x30], esi
mov eax, dword [esi]
call dword [eax + 0x170]
test al, al
je 0x47f6fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1a4]
test al, al
jne 0x47f6fb
mov eax, dword [esi]
lea ecx, [esp + 0x74]
mov edi, dword [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x58], edi
call dword [eax + 0xbc]
mov eax, dword [esi]
mov ecx, esi
sub edi, dword [esp + 0x7c]
sub edi, dword [esp + 0x74]
call dword [eax + 0xcc]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x28], eax
call dword [edx + 0xd4]
cmp dword [esp + 0x28], 0
mov ecx, eax
mov dword [esp + 0x38], ecx
jg 0x47f5d2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
test ecx, ecx
jg 0x47f5e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
mov ecx, eax
cmp edi, dword [esp + 0x28]
mov eax, ebx
mov edx, dword [esi]
cmovg edi, dword [esp + 0x28]
cmp ebx, ecx
cmovg eax, ecx
mov ecx, esi
push eax
push edi
lea eax, [esp + 0x18]
push eax
call dword [edx + 0x1cc]
cmp dword [esp + 0x14], 0
jne 0x47f610
inc dword [esp + 0x3c]
jmp 0x47f64c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
cmp dword [esp + 0x14], eax
jge 0x47f62e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
cmp dword [esp + 0x14], eax
jle 0x47f64c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
mov edi, dword [eax + 0xbc]
lea eax, [esp + 0x94]
push eax
call edi
mov ecx, dword [esp + 0x30]
mov esi, eax
lea eax, [esp + 0x84]
push eax
call edi
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add ecx, dword [eax + 4]
xor eax, eax
add ecx, dword [esp + 0x14]
add edi, ecx
cmp dword [esp + 0x10], eax
mov ecx, esi
mov dword [esp + 0x34], edi
cmovg eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
call dword [eax + 0xf0]
cmp dword [esp + 0x10], eax
jge 0x47f6b5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
mov edx, dword [esp + 0x10]
cmp edx, eax
jle 0x47f6d7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
mov edx, eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
add ecx, edx
add eax, ecx
cmp dword [esp + 0x50], eax
cmovg eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x47f6ff
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc ecx
jmp 0x47f53e
mov ebx, dword [esp + 0x5c]
dec eax
and dword [esp + 0x48], 0
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov ecx, dword [ebx + 0x6e4]
imul ecx, eax
add ecx, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
test edi, edi
jle 0x47f744
mov eax, esi
sub eax, ecx
xor ecx, ecx
cdq
idiv edi
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x48], eax
mov ecx, dword [ebx + 0x6f8]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
test ecx, ecx
je 0x47f770
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x47f770
mov eax, dword [ebx + 0x6f8]
sub edi, dword [eax + 0x6c0]
jmp 0x47f7a4
cmp dword [esp + 0x3c], 0
jg 0x47f7a8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x230]
cmp eax, 4
jne 0x47f799
mov eax, esi
sub eax, dword [esp + 0x18]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [esp + 0x38]
jmp 0x47f7a4
cmp eax, 8
jne 0x47f7a8
sub edi, dword [esp + 0x18]
add edi, esi
mov dword [esp + 0x1c], edi
xor eax, eax
xor edi, edi
and dword [esp + 0x38], eax
xor ecx, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], eax
lea eax, [ebx + 0x6bc]
mov dword [esp + 0x34], ecx
cmp ecx, dword [eax + 4]
jge 0x47fbd8
mov eax, dword [eax]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x30], edi
mov eax, dword [edi]
call dword [eax + 0x170]
test al, al
je 0x47f800
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1a4]
test al, al
je 0x47f80b
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x34]
call dword [eax + 0x2a4]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
inc ecx
jmp 0x47f7ba
mov eax, dword [edi]
lea ecx, [esp + 0x74]
inc dword [esp + 0x4c]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
mov eax, dword [esp + 0x40]
mov ecx, edi
sub esi, dword [esp + 0x78]
mov dword [esp + 0x54], eax
sub eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [esp + 0x2c], esi
call dword [eax + 0xcc]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x24], eax
call dword [edx + 0xd4]
cmp dword [esp + 0x24], 0
mov dword [esp + 0x54], eax
jg 0x47f86f
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xf8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
test eax, eax
jg 0x47f87d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
mov edx, dword [esp + 0x20]
mov ecx, esi
cmp edx, dword [esp + 0x24]
cmovg edx, dword [esp + 0x24]
cmp esi, eax
mov dword [esp + 0x20], edx
cmovg ecx, eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x78]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x18]
sub ecx, eax
cmp dword [esp + 0x4c], 1
mov dword [esp + 0x18], ecx
jle 0x47f8bf
sub ecx, dword [ebx + 0x6e4]
mov dword [esp + 0x18], ecx
push dword [esp + 0x54]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x1cc]
cmp dword [esp + 0x14], 0
jne 0x47f946
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x3c]
jne 0x47f908
mov eax, esi
sub eax, dword [esp + 0x80]
sub eax, dword [esp + 0x18]
push 0
pop ecx
cmovs eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
cmp dword [esp + 0x14], eax
jge 0x47f926
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
cmp dword [esp + 0x14], eax
jle 0x47f98a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
mov dword [esp + 0x14], eax
jmp 0x47f98a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
cmp dword [esp + 0x14], eax
jge 0x47f964
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
mov edx, dword [esp + 0x14]
cmp edx, eax
jle 0x47f986
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
mov edx, eax
mov dword [esp + 0x14], edx
sub dword [esp + 0x18], edx
xor eax, eax
cmp dword [esp + 0x10], eax
cmovg eax, dword [esp + 0x10]
test eax, eax
jne 0x47f9a5
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x20]
mov ecx, edi
cmovg eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
call dword [eax + 0xf0]
cmp dword [esp + 0x10], eax
jge 0x47f9d0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xf0]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x228]
cmp eax, 1
jne 0x47fa73
mov eax, dword [esp + 0x44]
add eax, dword [ebp + 8]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebx + 0x6fc]
sar ecx, 1
mov dword [esp + 0x24], ecx
test eax, eax
je 0x47fa30
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x170]
test al, al
je 0x47fa2c
mov ecx, dword [ebx + 0x6fc]
mov eax, dword [ecx + 0x6bc]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x6c0]
mov ecx, dword [esp + 0x24]
add ecx, eax
jmp 0x47fa30
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x64]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
sub ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x78]
lea eax, [ecx + edx]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
add eax, ecx
add eax, edx
mov dword [esp + 0x70], eax
jmp 0x47faf4
mov ecx, dword [ebx + 0x6fc]
cmp eax, 2
jne 0x47fb10
mov esi, dword [esp + 0x44]
mov dword [esp + 0x54], esi
test ecx, ecx
je 0x47fab0
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x47fab0
mov eax, dword [ebx + 0x6fc]
mov esi, dword [eax + 0x6bc]
sub esi, dword [eax + 0x6c0]
add esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
mov eax, esi
sub eax, dword [esp + 0x10]
sub eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
sub esi, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], esi
lea esi, [esp + 0x84]
lea eax, [ecx + edx]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x14]
add eax, ecx
add eax, edx
mov dword [esp + 0x90], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
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]
jmp 0x47fb99
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x47fb37
mov eax, dword [ecx]
call dword [eax + 0x170]
test al, al
je 0x47fb37
mov eax, dword [ebx + 0x6fc]
sub esi, dword [eax + 0x6c0]
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
push 0
sub esp, 0x10
lea eax, [esi + ecx]
mov esi, dword [esp + 0x30]
mov dword [esp + 0xa8], eax
lea eax, [edx + esi]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x28]
add eax, edx
add eax, esi
lea esi, [esp + 0xa8]
mov dword [esp + 0xb4], eax
mov eax, dword [edi]
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 + 0x5c]
mov esi, dword [ebx + 0x6e4]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x28]
lea eax, [esi + edx]
add eax, ecx
add eax, dword [esp + 0x78]
add dword [esp + 0x1c], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x78]
add edi, eax
lea eax, [esi + edx]
mov esi, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x28], edi
sub esi, eax
jmp 0x47f804
mov eax, dword [ebx + 0x6e4]
lea esi, [ebp + 8]
imul eax, dword [esp + 0x60]
mov ecx, ebx
mov edx, dword [ebx]
add eax, edi
push eax
mov eax, dword [esp + 0x54]
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 0x47fc1d
mov eax, dword [ebx]
lea esi, [ebp + 8]
push 0
push 0
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 + 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