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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov edi, dword [ebp + 8]
cmp dword [edx + 0xc], 0
mov dword [esp + 0x5c], ecx
je 0x47b8a4
mov eax, dword [esp + 0x5c]
movsd xmm1, qword [edx + 0x30]
movsd xmm2, qword [edx + 0x18]
movsd xmm0, qword [edx + 0x38]
movsd xmm3, qword [edx + 0x20]
mov esi, edi
lea edi, [esp + 0x98]
mov ecx, 0x12
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [edx + 0x28]
movsd qword [esp + 0x90], xmm2
movsd xmm2, qword [edx]
movsd qword [eax + 0x18], xmm0
movsd qword [eax], xmm3
movsd qword [eax + 8], xmm1
movsd xmm1, qword [edx + 0x10]
movsd qword [esp + 0x78], xmm2
add eax, 0x20
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [edx + 8]
movsd qword [esp + 0x80], xmm1
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x78]
mov ecx, 0x1a
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x47bd72
mov eax, dword [edi]
mov ebx, dword [edi + 0x34]
mov esi, dword [edi + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 4], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x6c], eax
movzx eax, byte [edi + 0x38]
mov dword [esp + 0x1c], eax
mov ecx, dword [edx + 0x18]
mov ebx, edi
mov eax, dword [edx + 0x14]
cmp dword [edx + 0x10], 0
mov edi, dword [edx + 0x28]
mov dword [esp], ecx
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 0x24]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
jne 0x47baca
test eax, eax
jne 0x47bae4
cmp dword [esp], 2
mov dword [esp + 0x44], 0
jne 0x47bc19
cmp byte [esp + 0x1c], 0
jne 0x47bc23
mov edx, dword [esp + 0x74]
mov dword [esp + 0x24], 3
cmp edx, esi
je 0x47bc2b
mov edi, ebx
mov ebx, dword [esp + 0x70]
add esi, 0xffffffe0
jmp 0x47b99b
cmp esi, edx
lea esi, [esi - 0x20]
je 0x47bac2
mov ecx, dword [esp + 4]
cmp ecx, dword [esi + 0x10]
mov ecx, ebx
sbb ecx, dword [esi + 0x14]
jae 0x47ba00
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
cmp ecx, dword [esi + 8]
sbb eax, dword [esi + 0xc]
jae 0x47b990
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 4]
cmp dword [esi], eax
sbb ecx, dword [esp + 0x2c]
jae 0x47b990
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x24], esi
mov ecx, dword [esi + 0x18]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jae 0x47bd7a
imul ecx, ecx, 0x150
mov edx, esi
mov dword [esp + 0x1c], 0
add ecx, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, 8
jmp 0x47ba14
mov al, 1
mov dword [edi + 0x24], esi
mov byte [edi + 0x38], 1
xor edx, edx
mov ecx, 4
mov dword [esp + 0x1c], eax
mov dword [esp + ecx + 0x30], edx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp]
mov edx, dword [esp + 0x34]
mov dword [esp + 8], ecx
test edx, edx
je 0x47bc90
lea ecx, [esp + 0x80]
push dword [esp + 0x54]
push dword [esp + 0x40]
push dword [esp + 0x48]
call fcn.00479080
add esp, 0xc
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x80]
mov edx, dword [esp + 0x20]
movsd xmm1, qword [eax + 0x30]
movsd xmm2, qword [eax + 0x28]
movsd xmm0, qword [eax + 0x38]
movsd qword [edx + 0x30], xmm1
movsd xmm1, qword [eax + 0x20]
movsd qword [edx + 0x28], xmm2
movsd xmm2, qword [eax + 0x18]
movsd qword [edx + 0x38], xmm0
movsd qword [edx + 0x20], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [edx + 0x18], xmm2
movsd xmm2, qword [eax]
movsd qword [edx + 0x10], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [edx], xmm2
movsd qword [edx + 8], xmm1
cmp dword [edx + 0xc], 0
je 0x47b906
jmp 0x47b820
mov dword [edi + 0x24], edx
jmp 0x47bc90
mov eax, dword [esp + 0xc]
mov edx, dword [esp]
mov dword [esp + 0x44], 1
mov dword [esp + 8], eax
mov eax, edx
jmp 0x47bc90
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x44], 0
mov ecx, dword [eax + 0xc]
mov eax, 0
test ecx, ecx
je 0x47bc44
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], 4
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 4], edx
mov dword [esp + 0x1c], esi
mov ebx, ecx
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], ecx
jmp 0x47bb5c
mov ecx, ebx
mov ebx, ecx
sub ebx, edx
jbe 0x47bc38
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 4]
shr ebx, 1
add ebx, edx
lea eax, [ebx + ebx*2]
cmp dword [edi + eax*8 + 0x10], esi
ja 0x47bb50
jae 0x47bb76
inc ebx
jmp 0x47bb9d
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x40]
lea esi, [esi + eax*8]
cmp edi, dword [esi]
mov edi, dword [esp + 0x3c]
sbb edi, dword [esi + 4]
jb 0x47bb50
mov edx, dword [esp + 0x40]
inc ebx
mov edi, dword [esp + 0x3c]
cmp edx, dword [esi + 8]
sbb edi, dword [esi + 0xc]
jb 0x47bbaa
mov edx, ebx
mov ebx, ecx
sub ebx, edx
ja 0x47bb5c
jmp 0x47bc38
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x18]
mov esi, dword [ecx + eax*8 + 0x14]
cmp esi, dword [esp + 0x28]
jae 0x47bd8b
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x30]
jne 0x47bbdb
lea ecx, [esp + 0x30]
call fcn.0046d700
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 4]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x10]
mov dword [edx + ecx*4], eax
lea eax, [ebx + ebx*2]
mov edx, dword [esp + 0x50]
inc ecx
lea esi, [esi + eax*8]
mov eax, ecx
mov dword [esp + 4], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], eax
sub edx, ebx
mov ecx, edx
jne 0x47bb3e
jmp 0x47bc44
mov dword [esp + 0x24], 4
jmp 0x47bc2b
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0xc]
mov eax, dword [esp]
mov dword [esp + 8], ecx
jmp 0x47bc90
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], esi
lea eax, [ecx + eax*4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
add ecx, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x48], eax
mov eax, dword [esp]
mov dword [esp], edx
mov dword [esp + 0x24], eax
mov eax, edi
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x80], edx
mov edx, eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], esi
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], esi
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov edx, dword [esp]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ecx
lea edx, [esp + 0x80]
mov ecx, dword [esp + 0x5c]
movsd xmm0, qword [edx + 0x30]
movsd xmm1, qword [edx + 0x28]
movsd xmm2, qword [edx + 0x20]
movsd xmm3, qword [edx + 0x18]
movsd xmm4, qword [edx + 0x10]
movsd xmm5, qword [edx]
movsd xmm6, qword [edx + 8]
movsd qword [ecx + 0x30], xmm0
movsd qword [ecx + 0x28], xmm1
movsd qword [ecx + 0x20], xmm2
movsd qword [ecx + 0x18], xmm3
movsd qword [ecx + 0x10], xmm4
movsd qword [ecx + 8], xmm6
movsd qword [ecx], xmm5
mov byte [ecx + 0x78], 2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x578570
push edx
push ecx
call fcn.004d9dd0
add esp, 0xc
jmp 0x47bd9d
push 0x5785bc
push dword [esp + 0x2c]
push esi
call fcn.004d9dd0
add esp, 0xc
ud2