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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov esi, dword [ebp + 8]
cmp dword [edx + 0xc], 0
mov eax, edx
mov ebx, ecx
je 0x49a1f4
movsd xmm1, qword [eax + 0x30]
movsd xmm2, qword [eax + 0x18]
movsd xmm0, qword [eax + 0x38]
movsd xmm3, qword [eax + 0x20]
lea edi, [esp + 0xb8]
mov ecx, 0x12
movsd qword [ebx + 0x10], xmm1
movsd xmm1, qword [eax + 0x28]
movsd qword [esp + 0xb0], xmm2
movsd xmm2, qword [eax]
movsd qword [ebx + 0x18], xmm0
movsd qword [ebx], xmm3
movsd qword [ebx + 8], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x98], xmm2
add ebx, 0x20
movsd qword [esp + 0xa8], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xa0], xmm1
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x98]
mov ecx, 0x1a
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x49a73e
mov ecx, dword [esi]
mov edi, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
cmp byte [esi + 0x38], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 8], edi
mov edi, dword [eax + 0x28]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x10]
je 0x49a25d
mov edx, dword [eax + 0x18]
mov esi, dword [eax + 0x14]
test ecx, ecx
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x10], edx
je 0x49a4d1
mov dword [esp], esi
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, eax
mov edi, 1
mov dword [esp + 0x1c], ecx
mov ecx, esi
jmp 0x49a6f2
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 0x24]
mov edx, dword [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x2c]
cmp dword [esp + 0x24], 0
jne 0x49a746
mov eax, dword [esp]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x49a753
cmp esi, 2
jne 0x49a6c6
mov ecx, dword [esp + 0x38]
cmp ecx, edi
je 0x49a651
mov esi, dword [esp + 0x54]
add edi, 0xffffffe0
jmp 0x49a30b
cmp edi, ecx
lea edi, [edi - 0x20]
je 0x49a64b
mov eax, dword [esp + 4]
cmp eax, dword [edi + 0x10]
mov eax, esi
sbb eax, dword [edi + 0x14]
jae 0x49a63f
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
cmp eax, dword [edi + 8]
sbb edx, dword [edi + 0xc]
jae 0x49a300
mov edx, ebx
mov ebx, dword [esp + 0x40]
mov eax, dword [edi + 4]
cmp dword [edi], ebx
mov ebx, edx
sbb eax, dword [esp + 0x20]
jae 0x49a300
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], edi
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 0x18]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jae 0x49a762
imul edx, ecx, 0x150
add edx, dword [eax + 0xc]
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x98]
mov dword [esp], edx
push esi
call fcn.004969a0
add esp, 4
mov edx, dword [esp + 0x30]
mov eax, dword [esp]
cmp dword [esp + 0x98], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], esi
je 0x49a3d2
mov dword [esp + 8], 0
lea edx, [esp + 0x88]
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x58]
push eax
call fcn.00496e00
mov edx, dword [esp + 0x34]
add esp, 4
jmp 0x49a421
lea ecx, [esp + 0xa0]
lea eax, [esp + 0x68]
mov dword [esp + 8], esi
movsd xmm0, qword [ecx + 0x20]
movsd xmm1, qword [ecx + 0x10]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [ecx + 0x18]
movsd qword [eax + 8], xmm1
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [ecx + 8]
movsd qword [eax], xmm0
mov eax, dword [ecx + 4]
movsd xmm0, qword [ecx - 4]
mov ecx, dword [esp]
mov dword [esp + 0x60], eax
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], edx
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x64]
movsd xmm0, qword [esp + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
test esi, esi
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0xc], esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x10], edx
mov edx, dword [esp]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0xc]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x20], edx
mov dword [esp + 0x10], ecx
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x1c], ecx
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x84]
movsd qword [eax + 0x30], xmm0
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x28]
je 0x49a2c6
jmp 0x49a170
mov ecx, dword [eax + 0x2c]
test esi, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
je 0x49a6a9
mov dword [esp + 0x28], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 4
mov dword [esp + 0xa0], 0
mov dword [esp], esi
mov edx, dword [esi + 0xc]
mov esi, 0
test edx, edx
je 0x49a668
mov eax, dword [esp]
xor esi, esi
mov dword [esp + 0x20], 4
mov dword [esp + 0x44], ebx
mov ecx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 4], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], eax
mov edi, edx
xor eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], esi
jmp 0x49a55c
mov edx, edi
mov edi, edx
sub edi, eax
jbe 0x49a664
mov ecx, dword [esp + 4]
shr edi, 1
add edi, eax
lea ebx, [edi + edi*2]
cmp dword [ecx + ebx*8 + 0x10], esi
ja 0x49a550
jae 0x49a580
inc edi
mov eax, edi
jmp 0x49a552
mov ecx, dword [esp + 4]
lea esi, [ecx + ebx*8]
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esi]
mov ecx, dword [esp + 0x3c]
sbb ecx, dword [esi + 4]
jae 0x49a59a
mov edx, edi
jmp 0x49a5ad
mov eax, dword [esp + 0x30]
inc edi
mov ecx, dword [esp + 0x3c]
cmp eax, dword [esi + 8]
sbb ecx, dword [esi + 0xc]
jb 0x49a5b3
mov eax, edi
mov esi, dword [esp + 0x14]
jmp 0x49a552
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x18]
mov ecx, dword [eax + ebx*8 + 0x14]
cmp ecx, dword [esp + 0x40]
mov eax, ecx
mov dword [esp + 0x38], ecx
jae 0x49a771
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], esi
cmp edx, dword [esp + 0x98]
jne 0x49a600
lea ecx, [esp + 0x98]
call fcn.0049eb70
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
jmp 0x49a606
mov esi, edx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 4]
mov dword [edx + esi*4], eax
mov edx, dword [esp + 0x34]
lea eax, [edi + edi*2]
inc esi
mov dword [esp + 0xa0], esi
lea ecx, [ecx + eax*8]
sub edx, edi
mov dword [esp + 4], ecx
jne 0x49a541
jmp 0x49a668
mov esi, dword [ebp + 8]
mov dword [esi + 0x24], edi
mov byte [esi + 0x38], 1
jmp 0x49a651
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], ecx
mov dword [esp], 0
mov eax, 3
xor edi, edi
jmp 0x49a6f2
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x98]
xor edi, edi
mov dword [esp + 0x34], eax
mov eax, esi
mov esi, dword [esp + 0x9c]
lea eax, [esi + eax*4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x40]
mov eax, dword [edx]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 8]
add eax, 8
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
jmp 0x49a6f2
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 8]
cmp esi, 2
jne 0x49a6c6
mov dword [esp], 0
mov eax, 3
xor edi, edi
jmp 0x49a6f2
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], 0
xor edi, edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, esi
mov dword [esp + 0x1c], eax
mov eax, 4
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], ecx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 4]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], ecx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], ecx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], ecx
mov byte [ebx + 0x78], 2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
jmp 0x49a243
mov dword [esp + 0x28], ecx
mov dword [esp + 8], edx
mov esi, eax
jmp 0x49a4e8
push 0x5821a8
call fcn.00469a50
add esp, 4
jmp 0x49a786
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
push 0x5821f4
call fcn.00469a50
add esp, 4
ud2