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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xd0
mov esi, dword [esp + 0xe4]
lea edi, [esp + 8]
push 1
push edi
call fcn.004887d0
add esp, 8
mov eax, dword [esp + 8]
cmp eax, 2
jne 0x48689e
mov ebp, dword [esp + 0xe8]
lea ebx, [esp + 0x68]
push dword [esp + 0xc]
push ebp
push ebx
call fcn.00489240
add esp, 0xc
mov eax, dword [esp + 0x68]
cmp eax, 2
jne 0x4868de
mov eax, dword [esp + 0x70]
cmp eax, 1
jne 0x486bc7
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x9c]
movzx eax, byte [eax]
push eax
push ecx
call fcn.00489430
add esp, 8
mov eax, dword [esp + 0x9c]
cmp eax, 2
jne 0x486984
movzx eax, byte [esp + 0xa2]
movzx ecx, word [esp + 0xa0]
mov word [esp], cx
mov byte [esp + 2], al
push ebp
push ebx
call fcn.00487bc0
add esp, 8
cmp dword [esp + 0x68], 2
jne 0x486a11
mov eax, dword [esp + 0x6c]
jmp 0x486b61
movsd xmm0, qword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 0x44], xmm0
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 0x54], xmm0
movsd xmm0, qword [esp + 0x34]
jmp 0x486925
movsd xmm0, qword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x44], xmm0
movsd xmm0, qword [esp + 0x84]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp + 0x54], xmm0
movsd xmm0, qword [esp + 0x94]
movsd xmm2, qword [esp + 0x54]
movsd xmm1, qword [esp + 0x4c]
movsd qword [esp + 0x5c], xmm0
movsd xmm0, qword [esp + 0x5c]
movsd qword [esp + 0xc0], xmm2
movsd qword [esp + 0xb8], xmm1
movsd xmm2, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm2
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
movzx ecx, byte [esp + 0xa2]
movsd xmm0, qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xc3]
movsd xmm2, qword [esp + 0xbb]
mov byte [esp + 6], cl
movzx ecx, word [esp + 0xa0]
movsd qword [esi + 0x2c], xmm0
movsd qword [esi + 0x27], xmm1
movsd xmm1, qword [esp + 0xb3]
movsd qword [esi + 0x1f], xmm2
movsd xmm2, qword [esp + 0xab]
mov word [esp + 4], cx
movsd qword [esi + 0x17], xmm1
movsd xmm1, qword [esp + 0xa3]
movzx ecx, byte [esp + 6]
movsd qword [esi + 0xf], xmm2
movzx edx, word [esp + 4]
movsd qword [esi + 7], xmm1
mov byte [esi + 6], cl
mov word [esi + 4], dx
mov dword [esi], eax
mov eax, esi
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm1, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x80]
mov eax, dword [esp + 0x98]
movsd xmm0, qword [esp + 0x90]
movsd qword [esp + 0x28], xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [esp + 0x20], xmm2
movsd xmm2, qword [esp + 0x68]
mov dword [esp + 0x38], eax
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x18], xmm1
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + 8], xmm2
movsd qword [esp + 0x10], xmm1
push edi
lea ebx, [esp + 0xa0]
push ebx
call fcn.00488840
add esp, 8
cmp byte [esp + 0x9c], 0xb
jne 0x486ab4
movzx eax, byte [esp + 2]
movzx ecx, word [esp]
mov byte [esp + 0x9f], al
mov word [esp + 0x9d], cx
mov byte [esp + 0x9c], 5
push ebx
push edi
call fcn.004889a0
add esp, 8
jmp 0x486b10
movsd xmm1, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x80]
mov eax, dword [esp + 0x98]
movsd xmm0, qword [esp + 0x90]
movsd qword [esp + 0x28], xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [esp + 0x20], xmm2
movsd xmm2, qword [esp + 0x68]
mov dword [esp + 0x38], eax
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x18], xmm1
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + 8], xmm2
movsd qword [esp + 0x10], xmm1
movsd xmm2, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
mov ecx, dword [esp + 8]
movsd xmm0, qword [esp + 0x10]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xc]
movsd qword [esp + 0x44], xmm2
movsd qword [esp + 0x4c], xmm1
movsd xmm2, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
cmp ecx, 2
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x64], edx
movsd qword [esp + 0x54], xmm2
movsd qword [esp + 0x5c], xmm1
jne 0x486b7f
movzx ecx, byte [esp + 2]
movzx edx, word [esp]
mov byte [esi + 0xa], cl
mov word [esi + 8], dx
mov dword [esi + 4], eax
mov dword [esi], 2
jmp 0x486a04
movsd xmm2, qword [esp + 0x54]
movsd xmm1, qword [esp + 0x4c]
mov edx, dword [esp + 0x64]
movsd xmm0, qword [esp + 0x5c]
movsd qword [esi + 0x20], xmm2
movsd qword [esi + 0x18], xmm1
movsd xmm2, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
mov dword [esi + 0x30], edx
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x10], xmm1
movsd qword [esi + 8], xmm2
mov dword [esi], ecx
mov dword [esi + 4], eax
jmp 0x486a04
push 0x5fb314
push eax
push 1
call fcn.005b1c40
add esp, 0xc
ud2