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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb4
mov esi, dword [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
mov edi, esp
push ebx
push edi
call fcn.004864d0
add esp, 8
mov eax, dword [esp]
cmp eax, 2
jne 0x4871a3
movzx eax, byte [esp + 0xa]
mov ebp, dword [esp + 4]
movzx ecx, word [esp + 8]
shl eax, 0x10
or ecx, eax
push 1
push ecx
push edi
call fcn.00489380
add esp, 0xc
mov eax, dword [esp]
cmp eax, 2
jne 0x4871f7
mov edi, esp
mov edx, ebx
mov ecx, edi
push ebp
call fcn.00486d70
add esp, 4
mov eax, dword [esp]
cmp eax, 2
jne 0x487259
lea eax, [esp + 0x40]
push ebp
push dword [ebx]
push eax
call fcn.00489240
add esp, 0xc
cmp dword [esp + 0x40], 2
jne 0x4872a5
lea eax, [esp + 0x74]
push dword [esp + 0x48]
push dword [esp + 0x48]
push eax
call fcn.00489160
add esp, 0xc
mov eax, dword [esp + 0x74]
cmp eax, 2
je 0x487311
movsd xmm0, qword [esp + 0x78]
mov ecx, dword [esp + 0x80]
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esp + 0x9c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xa4]
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [esp + 0x94]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x3c]
movsd qword [esi + 0x20], xmm0
movsd xmm0, qword [esp + 0x8c]
movsd qword [esi + 0x18], xmm0
movsd xmm0, qword [esp + 0x84]
movsd qword [esi + 0x10], xmm0
movsd xmm0, qword [esp + 0x34]
mov dword [esi + 0xc], ecx
movsd qword [esi + 4], xmm0
jmp 0x48724a
movsd xmm2, qword [esp + 0x1c]
movsd xmm1, qword [esp + 0x14]
movsd xmm0, qword [esp + 0x24]
mov edx, dword [esp + 4]
movzx ecx, word [esp + 0xa]
movzx edi, word [esp + 8]
movsd qword [esi + 0x1c], xmm2
movsd qword [esi + 0x14], xmm1
movsd xmm2, qword [esp + 0xc]
movsd xmm1, qword [esp + 0x2c]
movsd qword [esi + 0x24], xmm0
movsd qword [esi + 0xc], xmm2
movsd qword [esi + 0x2c], xmm1
mov dword [esi], eax
mov dword [esi + 4], edx
mov word [esi + 8], di
mov word [esi + 0xa], cx
jmp 0x48724c
movzx ecx, byte [esp + 6]
movzx edx, word [esp + 4]
movsd xmm1, qword [esp + 0xf]
movsd xmm2, qword [esp + 0x17]
movsd xmm0, qword [esp + 7]
mov byte [esi + 6], cl
mov word [esi + 4], dx
movsd qword [esi + 0xf], xmm1
movsd xmm1, qword [esp + 0x1f]
movsd qword [esi + 0x17], xmm2
movsd xmm2, qword [esp + 0x27]
movsd qword [esi + 7], xmm0
movsd qword [esi + 0x1f], xmm1
movsd xmm1, qword [esp + 0x2c]
movsd qword [esi + 0x27], xmm2
movsd qword [esi + 0x2c], xmm1
mov dword [esi], eax
mov eax, esi
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm1, qword [esp + 0x24]
movsd xmm2, qword [esp + 0x1c]
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 0x64], xmm1
movsd xmm1, qword [esp + 0x14]
movsd qword [esp + 0x5c], xmm2
movsd xmm2, qword [esp + 4]
movsd qword [esp + 0x6c], xmm0
movsd qword [esp + 0x54], xmm1
movsd xmm1, qword [esp + 0xc]
movsd qword [esp + 0x44], xmm2
movsd qword [esp + 0x4c], xmm1
mov dword [esp + 0x40], eax
movsd xmm1, qword [esp + 0x60]
movsd xmm2, qword [esp + 0x58]
mov eax, dword [esp + 0x70]
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0x94], xmm1
movsd xmm1, qword [esp + 0x50]
movsd qword [esp + 0x8c], xmm2
movsd xmm2, qword [esp + 0x40]
mov dword [esp + 0xa4], eax
movsd qword [esp + 0x9c], xmm0
movsd qword [esp + 0x84], xmm1
movsd xmm1, qword [esp + 0x48]
movsd qword [esp + 0x74], xmm2
movsd qword [esp + 0x7c], xmm1
mov eax, dword [esp + 0x74]
cmp eax, 2
jne 0x487133
mov eax, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xa8]
movsd qword [esp + 0x34], xmm0
movsd qword [esp + 0xa8], xmm0
push eax
call fcn.00488630
add esp, 4
push edx
push eax
push edi
call fcn.00489a60
add esp, 0xc
mov eax, dword [esp]
cmp eax, 2
jne 0x4873d2
lea eax, [esp + 0x40]
push dword [esp + 8]
push dword [esp + 8]
push eax
call fcn.004885b0
add esp, 0xc
mov eax, dword [esp + 0x40]
cmp eax, 2
jne 0x48741e
mov eax, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x44]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
movsd qword [esp + 0x34], xmm0
push eax
push edi
call fcn.00488640
add esp, 8
mov eax, dword [esp]
cmp eax, 2
jne 0x487474
cmp dword [esp + 4], ebp
jne 0x4874c0
mov eax, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0x34]
mov dword [esi + 0xc], eax
movsd qword [esi + 4], xmm0
mov dword [esi], 2
jmp 0x48724c
movsd xmm2, qword [esp + 0x24]
movsd xmm1, qword [esp + 0x1c]
movsd xmm0, qword [esp + 0x2c]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
movsd qword [esi + 0x24], xmm2
movsd qword [esi + 0x1c], xmm1
movsd xmm2, qword [esp + 0x14]
movsd xmm1, qword [esp + 0xc]
movsd qword [esi + 0x2c], xmm0
movsd qword [esi + 0x14], xmm2
movsd qword [esi + 0xc], xmm1
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
jmp 0x48724c
movsd xmm0, qword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
movsd qword [esp + 0x74], xmm0
movsd xmm0, qword [esp + 0x68]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x70]
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [esp + 0x60]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x7c]
movsd qword [esi + 0x20], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [esi + 0x18], xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [esi + 0x10], xmm0
movsd xmm0, qword [esp + 0x74]
jmp 0x487196
movsd xmm2, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x18]
mov edx, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
mov ecx, dword [esp + 4]
movsd qword [esi + 0x20], xmm2
movsd qword [esi + 0x18], xmm1
movsd xmm2, qword [esp + 0x10]
movsd xmm1, qword [esp + 8]
mov dword [esi + 0x30], edx
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 8], xmm1
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x48724c
push 1
push edi
call fcn.00489410
add esp, 8
movsd xmm1, qword [esp + 0x20]
movsd xmm2, qword [esp + 0x18]
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [esp + 0x10]
movsd qword [esi + 0x18], xmm2
movsd xmm2, qword [esp]
mov dword [esi + 0x30], eax
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esp + 8]
movsd qword [esi], xmm2
movsd qword [esi + 8], xmm1
jmp 0x48724c