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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2c8
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
cmp ecx, eax
jne 0x484fd9
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x48]
mov eax, dword [esi + 0x48]
cmp eax, dword [esi + 0x40]
jb 0x484fe6
movsd xmm1, qword [edx + 8]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
movsd xmm2, qword [edx + 0x10]
mov eax, dword [edx + 0x40]
mov edi, dword [edx + 0x44]
movsd xmm0, qword [edx]
mov dword [esp + 0xc], esi
mov byte [esp + 3], 1
movsd qword [esp + 0x100], xmm1
movsd xmm1, qword [edx + 0x18]
movsd qword [esp + 0x108], xmm2
movsd xmm2, qword [edx + 0x20]
movsd qword [esp + 0xf8], xmm0
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
movsd qword [esp + 0x110], xmm1
movsd xmm1, qword [edx + 0x28]
movsd qword [esp + 0x118], xmm2
movsd xmm2, qword [edx + 0x30]
movsd qword [esp + 0x120], xmm1
movsd xmm1, qword [edx + 0x38]
movsd qword [esp + 0x128], xmm2
movsd xmm2, qword [edx + 0x88]
movsd qword [esp + 0x130], xmm1
movsd xmm1, qword [edx + 0x80]
mov dword [esp + 0x13c], edi
mov dword [esp + 0x138], eax
mov dword [esp + 0x140], esi
mov dword [esp + 0x148], 0
movsd qword [esp + 0x60], xmm2
movsd xmm2, qword [edx + 0x78]
mov eax, dword [edx + 0x94]
mov esi, dword [edx + 0x90]
mov edi, dword [edx + 0x98]
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [edx + 0x70]
movsd qword [esp + 0x50], xmm2
movsd xmm2, qword [edx + 0x68]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [edx + 0x60]
movsd qword [esp + 0x40], xmm2
movsd xmm2, qword [edx + 0x50]
movsd qword [esp + 0x38], xmm1
movsd xmm1, qword [edx + 0x58]
movsd qword [esp + 0x28], xmm2
lea edx, [edx + 0x50]
mov dword [esp + 0x10], edx
movsd qword [esp + 0x30], xmm1
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x68], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x70], edi
mov edi, ecx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
lea ebx, [esi + eax*8]
mov dword [esp + 8], edi
cmp dword [ebp + 0x10], 0
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0x78]
je 0x484cf5
nop word cs:[eax + eax]
nop dword [eax + eax]
push dword [edi + 4]
push dword [edi]
push esi
call fcn.004806d0
add esp, 0xc
add edi, 8
cmp edi, ebx
jne 0x484ce0
movzx eax, byte [esp + 3]
mov byte [esp + 0x198], al
push 1
lea edi, [esp + 0x19c]
push edi
push esi
call fcn.004806d0
add esp, 0xc
push 0x128
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.004f5b80
add esp, 0xc
push edi
lea eax, [esp + 0x158]
push eax
call fcn.00487160
add esp, 8
mov eax, dword [esp + 0x194]
mov ecx, dword [eax + 0x40]
cmp ecx, 0x41
jae 0x484fe6
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [eax + 0x40]
mov edi, edx
sub edi, esi
jb 0x484fba
cmp esi, ecx
lea eax, [esp + 0x154]
jne 0x484fea
push ecx
push eax
push dword [esp + 0xc]
mov dword [esp + 0x14], ecx
call fcn.004f5b80
add esp, 0xc
test edi, edi
je 0x484fd3
lea eax, [esp + 0x19c]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x78], 0
mov eax, dword [esp + 0x10]
movsd xmm1, qword [eax + 0x30]
movsd xmm2, qword [eax + 0x28]
movsd xmm0, qword [eax + 0x38]
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [eax + 0x20]
movsd qword [esp + 0x50], xmm2
movsd xmm2, qword [eax + 0x18]
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x40], xmm2
movsd xmm2, qword [eax]
movsd qword [esp + 0x38], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [esp + 0x1c]
movsd qword [esp + 0x28], xmm2
movsd qword [esp + 0x30], xmm1
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
push 0x84
lea eax, [esp + 0x19c]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004f5b80
add esp, 0xc
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x78]
movsd xmm1, qword [eax + 8]
movsd xmm2, qword [eax + 0x10]
movsd xmm0, qword [eax]
movsd qword [ecx + 0x88], xmm1
movsd xmm1, qword [eax + 0x18]
movsd qword [ecx + 0x90], xmm2
movsd xmm2, qword [eax + 0x20]
movsd qword [ecx + 0x80], xmm0
movsd qword [ecx + 0x98], xmm1
movsd xmm1, qword [eax + 0x28]
movsd qword [ecx + 0xa0], xmm2
movsd xmm2, qword [eax + 0x30]
movsd qword [ecx + 0xa8], xmm1
movsd xmm1, qword [eax + 0x38]
mov eax, dword [esp + 0x20]
movsd qword [ecx + 0xb0], xmm2
movsd qword [ecx + 0xb8], xmm1
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x140], eax
mov dword [esp + 0x148], 0
push dword [esp + 8]
lea eax, [esp + 0x158]
push eax
push ecx
call fcn.004806d0
add esp, 0xc
inc byte [esp + 3]
je 0x484fe6
add dword [esp + 4], esi
jmp 0x484cc0
cmp edx, ecx
lea eax, [esp + 0x154]
ja 0x484fe6
push edx
push eax
push dword [esp + 0xc]
call fcn.004f5b80
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
cmp ecx, eax
setne al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
push 0x5257dc
push ecx
push esi
call fcn.004ccfb0
add esp, 0xc
ud2