Function at 0x49ac20
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x200
mov eax, dword [ebp + 8]
mov dword [esp + 0x1a0], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 8
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 8
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
lea edi, [esp + 0xa8]
mov ecx, 0x12
movsd xmm0, qword [eax + 0x38]
movsd xmm1, qword [eax + 8]
lea esi, [eax + 0x48]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [eax + 0x30]
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [eax]
movsd qword [esp + 0x60], xmm0
movaps xmm0, xmmword [0x573960]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x94]
mov dword [esp + 0xf4], ecx
mov ecx, dword [eax + 0x91]
movzx eax, byte [eax + 0x90]
mov dword [esp + 0xf1], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ebx
mov byte [esp + 0xf0], al
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
movups xmmword [esp + 0x108], xmm0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov byte [esp + 0x130], 0
mov byte [esp + 0x131], al
call 0x49adae
pop eax
mov dword [esp + 0x132], 0
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x160]
mov dword [esp + 0x1a8], eax
xor eax, eax
jmp 0x49ae1f
mov eax, dword [esp + 0x50]
lea ecx, [edx + edx*2]
mov edi, dword [esp + 0xc]
inc edx
mov dword [eax + ecx*8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*8 + 4], esi
mov dword [eax + ecx*8 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*8 + 0xc], ebx
mov ebx, dword [esp + 8]
mov dword [eax + ecx*8 + 0x10], edi
mov dword [eax + ecx*8 + 0x14], ebx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x28]
movzx eax, byte [esp + 0x133]
test al, al
je 0x49ae96
movzx eax, byte [esp + 0xf0]
movaps xmm0, xmmword [0x573960]
lea ecx, [esp + 0xf8]
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
lea ecx, [esp + 0xa8]
movups xmmword [esp + 0x108], xmm0
mov byte [esp + 0x130], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x78], 0
mov byte [esp + 0x131], al
mov byte [esp + 0x133], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov byte [esp + 0x132], 0
mov word [esp + 0x134], 0
mov ecx, dword [esp + 0x13c]
test ecx, ecx
je 0x49c5e2
mov dword [esp + 0x28], edx
jmp 0x49af1c
mov edx, dword [esp + 0x138]
lea edi, [ecx - 1]
lea ebx, [edx + 1]
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], edi
movzx eax, byte [edx]
test eax, eax
je 0x49b020
cmp al, byte [esp + 0xf5]
mov dword [esp + 0x14], ebx
mov ebx, eax
jae 0x49b0a0
dec eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x24], ecx
cmp eax, 0xb
ja 0x49b790
mov eax, dword [eax*4 + 0x49d500]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
xor ebx, ebx
mov ecx, 0x2f
xor esi, esi
add eax, dword [esp + 0x30]
jmp eax
test edi, edi
je 0x49c525
lea eax, [ecx - 2]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ecx
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x10], eax
nop dword [eax]
movzx eax, byte [ebx]
cmp ecx, 0x3f
jne 0x49b050
cmp al, 2
jae 0x49c1e0
mov esi, ebx
mov ebx, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x14], edi
mov edi, 0
and bl, 0x7f
movzx ebx, bl
shld eax, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne eax, ebx
cmovne ebx, edi
mov edi, dword [esp + 0x14]
or edx, eax
mov eax, dword [esp + 0xc]
or edi, ebx
lea ebx, [esi + 1]
test al, al
jns 0x49b0b4
add ecx, 7
add dword [esp + 0x10], 0xffffffff
jb 0x49b040
jmp 0x49c1f0
mov dword [esp + 0x18], 0
mov ecx, 0x2e
mov eax, ebx
jmp 0x49b3d0
test edx, edx
mov dword [esp + 0x14], edi
jne 0x49c469
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub edx, ecx
jb 0x49c47b
lea eax, [ebx + ecx]
test ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], edx
je 0x49c491
lea edx, [esi + 2]
lea ebx, [ecx - 1]
mov dword [esp + 0x1ac], edx
movzx ecx, byte [esi + 1]
lea eax, [ecx - 1]
cmp eax, 3
ja 0x49b950
mov eax, dword [eax*4 + 0x49d530]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, 0x3e
xor esi, esi
add eax, dword [esp + 0x30]
jmp eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], 0
xor ebx, ebx
xor esi, esi
mov eax, ecx
mov dword [esp + 0x10], edi
mov edi, ecx
mov ecx, esi
movsd xmm1, qword [esp + 0x150]
movsd xmm0, qword [esp + 0x158]
movsd xmm2, qword [esp + 0x140]
mov edx, dword [esp + 0x28]
add eax, 0xffffffd2
adc ecx, 0xffffffff
cmp eax, 0x15
sbb ecx, 0
mov ecx, 0x12
cmovae eax, ecx
movsd qword [esp + 0x1d0], xmm1
movsd xmm1, qword [esp + 0x148]
movsd qword [esp + 0x1d8], xmm0
movsd qword [esp + 0x1c0], xmm2
mov eax, dword [eax*4 + 0x49d560]
movsd qword [esp + 0x1c8], xmm1
add eax, dword [esp + 0x30]
jmp eax
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
mov ecx, dword [esp + 0xc]
dec cl
mov dword [esp + 0x10], edi
movzx ecx, cl
cmp eax, ecx
jb 0x49c4e2
add ebx, ecx
cmp eax, ecx
je 0x49c4e2
movzx ebx, byte [ebx]
test ebx, ebx
je 0x49bec3
mov eax, dword [esp + 0x10]
cmp ebx, 1
jne 0x49bee9
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x49c20a
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], edx
add edx, 2
mov dword [esp + 8], 0
mov dword [esp + 0x1c], 0
xor ecx, ecx
lea esi, [eax - 2]
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ebx, byte [edx - 1]
cmp ecx, 0x3f
mov dword [esp + 0x10], esi
jne 0x49b826
cmp bl, 2
jae 0x49c1e0
mov eax, ebx
mov edi, 0
and al, 0x7f
movzx esi, al
xor eax, eax
shld eax, esi, cl
shl esi, cl
test cl, 0x20
cmovne eax, esi
cmovne esi, edi
or dword [esp + 0x1c], eax
or dword [esp + 8], esi
mov eax, ebx
test al, al
jns 0x49c19f
mov esi, dword [esp + 0x10]
add ecx, 7
inc edx
add esi, 0xffffffff
jb 0x49b810
jmp 0x49c1f0
mov eax, edx
mov dword [esp + 0xc], ecx
mov ecx, edx
mov dword [esp + 0x24], 0
and eax, 0xff00
and ecx, 0xffff0000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov ecx, 0x42
jmp 0x49c02c
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
mov ecx, 0x3b
mov dword [esp + 0x20], ebx
jmp 0x49b3e2
mov esi, dword [esp + 0x14]
mov edx, ebx
xor ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], esi
xor esi, esi
test eax, eax
je 0x49c521
mov edi, dword [esp + 0x38]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
lea esi, [eax - 1]
xor edx, edx
mov dword [esp + 0x18], 0
xor ecx, ecx
inc edi
nop word cs:[eax + eax]
nop dword [eax]
mov dword [esp + 8], edx
movzx edx, byte [edi - 1]
cmp ecx, 0x3f
jne 0x49bf46
cmp dl, 2
jae 0x49c481
mov eax, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], esi
xor edi, edi
and al, 0x7f
movzx esi, al
mov eax, 0
shld edi, esi, cl
shl esi, cl
test cl, 0x20
cmovne edi, esi
cmovne esi, eax
mov eax, edx
mov edx, dword [esp + 8]
or dword [esp + 0x18], edi
or edx, esi
test al, al
jns 0x49bf90
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
add ecx, 7
inc edi
add esi, 0xffffffff
jb 0x49bf30
jmp 0x49c49f
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebx, edx
mov dword [esp + 0x138], ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x18]
inc esi
mov dword [esp + 0x13c], edi
cmp esi, eax
mov eax, edi
jne 0x49befb
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub eax, ebx
cmp dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
jb 0x49c4e2
mov eax, ebx
mov ecx, 0x3d
xor esi, esi
and eax, 0xff00
mov dword [esp + 0x18], eax
mov eax, ebx
and eax, 0xffff0000
mov dword [esp + 0x20], eax
mov eax, ebx
xor ebx, ebx
mov dword [esp + 8], eax
jmp 0x49b3e4
mov edi, dword [esp + 0x10]
xor esi, esi
jmp 0x49c0b0
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], edx
jmp 0x49b3e4
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x138], edx
xor ebx, ebx
xor esi, esi
mov ecx, eax
and eax, 0xffff0000
mov dword [esp + 0x13c], edi
and ecx, 0xff00
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
mov ecx, 0x3c
jmp 0x49b3e4
mov edx, 6
xor edi, edi
xor esi, esi
jmp 0x49c252
mov ebx, dword [esp + 0x18]
add ebx, dword [esp + 0x24]
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], 0
xor esi, esi
mov edx, 0x13
jmp 0x49c250
xor edi, edi
movzx eax, al
movzx ecx, dl
shl esi, 0x10
mov dword [esp + 0x138], str.vmesh_src_char_anim.rs
mov dword [esp + 0x13c], 0
shl eax, 8
or ecx, eax
or esi, ecx
mov edx, esi
cmp dl, 0x4b
jne 0x49d0c1
cmp dword [esp + 0x1c], 0
je 0x49c5e2
cmp byte [ebx + 0x3b], 0
mov dword [esp + 0x3c], edi
je 0x49c330
mov esi, dword [esp + 0x48]
test esi, esi
je 0x49ae17
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], edx
mov ecx, dword [edi]
cmp eax, esi
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 8
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ecx
jbe 0x49c3fd
lea eax, [esi*8]
lea eax, [eax + eax*2]
mov dword [esp + 0x1c], eax
push eax
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapReAlloc
mov ebx, eax
test eax, eax
je 0x49d3ef
mov edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x4c]
jne 0x49ade0
jmp 0x49c40d
mov eax, dword [ebx]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x48]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x14]
mov ecx, edx
sub ecx, 1
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
jb 0x49c3b0
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x1c], esi
mov esi, dword [eax + ecx*8]
mov ebx, dword [eax + ecx*8 + 4]
xor esi, dword [esp + 0xc]
xor ebx, edi
or esi, ebx
mov esi, dword [esp + 0x1c]
jne 0x49c3b0
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*8 + 0xc], edx
mov dword [eax + ecx*8 + 8], edi
mov dword [eax + ecx*8 + 0x10], esi
mov esi, dword [esp + 8]
mov dword [eax + ecx*8 + 0x14], esi
jmp 0x49ae13
mov ebx, edi
mov edi, dword [esp + 0xc]
cmp edx, dword [esp + 0x40]
jne 0x49c3cd
lea ecx, [esp + 0x40]
call fcn.0049dd50
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
lea ecx, [edx + edx*2]
inc edx
mov dword [eax + ecx*8], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*8 + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*8 + 8], edi
mov edi, dword [esp + 8]
mov dword [eax + ecx*8 + 0xc], ebx
mov dword [eax + ecx*8 + 0x10], esi
mov dword [eax + ecx*8 + 0x14], edi
mov dword [esp + 0x48], edx
jmp 0x49ae13
mov ebx, edi
mov edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x4c]
jne 0x49ade0
lea ecx, [esp + 0x4c]
call fcn.0049dd50
mov edx, dword [esp + 0x54]
jmp 0x49ade0
mov ebx, dword [esp + 0x14]
mov edi, edx
mov edx, 0x35
xor esi, esi
jmp 0x49c252
mov dword [esp + 0x1c], ebx
jmp 0x49c491
mov edi, dword [esp + 0x34]
mov edx, 6
xor esi, esi
jmp 0x49c252
mov edx, 0x13
xor edi, edi
xor esi, esi
jmp 0x49c252
mov ebx, dword [esp + 0x38]
add ebx, dword [esp + 0x2c]
jmp 0x49c1f8
xor esi, esi
mov edx, 0x13
jmp 0x49c250
mov ebx, dword [esp + 0x38]
jmp 0x49c20a
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
cmp ecx, 0x15
mov dword [esp + 0x34], eax
mov eax, ecx
mov dword [esp + 0x28], ecx
jae 0x49c61b
cmp dword [esp + 0x28], 1
jbe 0x49cd03
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push 1
call fcn.0049dc20
add esp, 4
jmp 0x49cd03
movzx eax, byte [0x597110]
mov eax, dword [0x5970d8]
test eax, eax
jne 0x49c63d
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x49d3ff
mov dword [0x5970d8], eax
mov ecx, dword [esp + 0x28]
lea ecx, [ecx*4]
and ecx, 0xfffffff8
lea ecx, [ecx + ecx*2]
push ecx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov dword [esp + 0xc], eax
je 0x49d3ff
movzx eax, byte [0x597110]
mov eax, dword [0x5970d8]
test eax, eax
jne 0x49c685
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x49d413
mov dword [0x5970d8], eax
push pe_nt_image_headers32
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x49d413
mov edi, eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x1a4], 0x10
lea ecx, [eax + 0x38]
add eax, 0xffffffe8
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x19c], ecx
jmp 0x49c6e3
mov ebx, 1
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x28]
jae 0x49cce4
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edx, eax
mov dword [esp + 0x14], edx
sub esi, eax
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
cmp esi, 2
mov dword [esp + 0x1c], ecx
jae 0x49c770
mov ecx, dword [esp + 0x28]
mov eax, esi
mov esi, ecx
sub esi, edx
jb 0x49d384
cmp ecx, dword [esp + 0x28]
ja 0x49d384
jae 0x49c7c0
cmp eax, 0xa
jae 0x49c7c0
mov ecx, dword [esp + 0x28]
lea esi, [edx + 0xa]
cmp esi, ecx
cmovae esi, ecx
mov dword [esp + 0x2c], esi
sub esi, edx
jb 0x49d3b9
cmp eax, 1
adc eax, 0
mov ecx, dword [esp + 0x1c]
mov edx, esi
push eax
call fcn.0049dc20
add esp, 4
mov edx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x1a4]
je 0x49c7cd
jmp 0x49c83d
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 8]
cmp dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
sbb edx, dword [esp + 0x24]
jae 0x49cb30
mov eax, dword [esp + 0x3c]
cmp esi, 2
jne 0x49cb4a
mov edx, dword [esp + 0x14]
mov esi, 2
lea ecx, [edx + 2]
jmp 0x49cbf6
mov dword [esp + 0x2c], ecx
cmp ebx, dword [esp + 0x1a4]
jne 0x49c83d
movzx eax, byte [0x597110]
mov eax, dword [0x5970d8]
test eax, eax
jne 0x49c7ef
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x49d3a0
mov dword [0x5970d8], eax
mov ecx, ebx
shl ecx, 4
push ecx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x49d3a0
mov ecx, eax
lea eax, [ebx + ebx]
mov dword [esp + 0x1a4], eax
lea eax, [ebx*8]
push eax
push edi
push ecx
mov dword [esp + 0x1c], ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edi + ebx*8], esi
mov dword [edi + ebx*8 + 4], edx
inc ebx
cmp ebx, 2
jb 0x49c6d5
mov dword [esp + 8], edi
jmp 0x49c8c2
mov ecx, esi
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x18]
sub ebx, eax
lea edx, [edi - 1]
mov dword [esp + 0x10], edx
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
add eax, dword [esp + 0x1c]
mov dword [esi + ecx*8 + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esi + ecx*8 + 0xc], eax
not ecx
lea eax, [edx + 8]
add ecx, edi
shl ecx, 3
push ecx
push eax
push edx
call sub.msvcrt.dll_memmove
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov edi, esi
cmp ebx, 1
jbe 0x49c6d0
mov eax, dword [edi + ebx*8 - 8]
mov ecx, dword [edi + ebx*8 - 4]
add ecx, eax
cmp ecx, dword [esp + 0x28]
je 0x49c910
mov edx, dword [edi + ebx*8 - 0x10]
cmp edx, eax
jbe 0x49c910
cmp ebx, 2
jbe 0x49cccc
lea ecx, [ebx - 3]
lea esi, [edx + eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + ebx*8 - 0x18]
cmp ecx, esi
jbe 0x49c924
cmp ebx, 3
jbe 0x49ccd6
mov edi, dword [esp + 8]
add edx, ecx
cmp dword [edi + ebx*8 - 0x20], edx
jbe 0x49c924
jmp 0x49c6d5
cmp ebx, 3
jb 0x49c92c
mov edi, dword [esp + 8]
lea ecx, [ebx - 3]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + ebx*8 - 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, eax
jb 0x49c92f
lea esi, [ebx - 2]
cmp ebx, esi
jbe 0x49d311
lea eax, [esi + 1]
cmp ebx, eax
jbe 0x49d2ff
mov eax, dword [esp + 8]
mov edi, dword [eax + esi*8 + 8]
mov edx, dword [eax + esi*8 + 0xc]
mov ecx, dword [eax + esi*8 + 4]
add edx, edi
mov dword [esp + 0x20], edi
mov eax, edx
sub eax, ecx
mov dword [esp + 0x10], eax
jb 0x49d36e
cmp edx, dword [esp + 0x28]
ja 0x49d352
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], esi
mov edi, dword [ebx + esi*8]
lea ecx, [ecx + eax*8]
lea eax, [edi + edi*2]
mov dword [esp + 0x1c], edi
lea esi, [ecx + eax*8]
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
sub edx, edi
cmp edx, edi
lea eax, [ebx + eax*8]
mov dword [esp + 0x24], eax
jae 0x49ca70
lea eax, [edx*8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], edx
lea ebx, [eax + eax*2]
push ebx
push esi
mov edi, dword [esp + 0x14]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x1c]
add ebx, edi
test eax, eax
jle 0x49c860
cmp dword [esp + 0x38], 0
jle 0x49c860
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
lea eax, [eax + ecx*8]
nop dword [eax]
mov ecx, dword [ebx - 0x10]
mov edx, dword [ebx - 0xc]
mov edi, 0
cmp ecx, dword [esi - 0x10]
sbb edx, dword [esi - 0xc]
setb dl
setb cl
adc edi, 0xffffffff
movzx edx, dl
neg edx
test cl, cl
lea edx, [edx + edx*2]
lea esi, [esi + edx*8]
lea edx, [edi + edi*2]
lea ebx, [ebx + edx*8]
mov ecx, ebx
cmovne ecx, esi
cmp esi, dword [esp + 0x10]
movsd xmm1, qword [ecx + 8]
movsd xmm0, qword [ecx]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [eax], xmm0
movsd qword [eax + 0x10], xmm1
jbe 0x49c860
add eax, 0xffffffe8
cmp ebx, dword [esp + 0xc]
ja 0x49ca00
jmp 0x49c860
mov eax, dword [esp + 0x1c]
lea eax, [eax*8]
lea ebx, [eax + eax*2]
push ebx
mov edi, ecx
push ecx
push dword [esp + 0x14]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x1c]
add ebx, dword [esp + 0xc]
test eax, eax
jle 0x49cb1a
cmp dword [esp + 0x10], eax
mov ecx, dword [esp + 8]
jle 0x49cb12
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 0xc]
nop word [eax + eax]
mov edx, dword [esi + 8]
cmp edx, dword [eax + 8]
mov edx, dword [esi + 0xc]
sbb edx, dword [eax + 0xc]
mov edx, eax
cmovb edx, esi
movsd xmm1, qword [edx + 8]
movsd xmm0, qword [edx]
movsd qword [edi + 8], xmm1
movsd xmm1, qword [edx + 0x10]
setae dl
movsd qword [edi], xmm0
movzx edx, dl
lea edx, [edx + edx*2]
lea eax, [eax + edx*8]
setb dl
movsd qword [edi + 0x10], xmm1
add edi, 0x18
cmp eax, ebx
jae 0x49cb1e
movzx edx, dl
lea edx, [edx + edx*2]
lea esi, [esi + edx*8]
cmp esi, ecx
jb 0x49cac0
jmp 0x49cb1e
mov eax, dword [esp + 0xc]
mov esi, ecx
jmp 0x49cb22
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov ecx, edi
jmp 0x49c86a
mov eax, dword [esp + 0x3c]
cmp esi, 2
jne 0x49cb8d
mov edx, dword [esp + 0x14]
mov esi, 2
lea ecx, [edx + 2]
jmp 0x49c706
mov ecx, dword [esp + 0x19c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 8], edi
lea ebx, [ecx + eax*8]
mov eax, 2
nop dword [eax]
mov ecx, edx
mov edi, esi
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
cmp esi, edi
mov edi, edx
sbb edi, ecx
jae 0x49cbcf
inc eax
add ebx, 0x18
cmp dword [esp + 0x10], eax
jne 0x49cb70
jmp 0x49cbcb
mov ecx, dword [esp + 0x19c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 8], edi
lea ebx, [ecx + eax*8]
mov eax, 2
mov edi, edx
mov ecx, esi
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
cmp esi, ecx
mov ecx, edx
sbb ecx, edi
jb 0x49cbcf
inc eax
add ebx, 0x18
cmp dword [esp + 0x10], eax
jne 0x49cbb0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x30], esi
mov esi, dword [esp + 0x24]
lea ecx, [eax + edx]
sbb dword [esp + 0x20], esi
mov esi, eax
jae 0x49c706
cmp edx, ecx
ja 0x49d3d3
cmp ecx, dword [esp + 0x28]
ja 0x49d3c0
cmp esi, 2
jb 0x49c706
mov dword [esp + 0x2c], ecx
lea ecx, [edx + esi]
mov edx, dword [esp + 0x5c]
mov eax, esi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], edi
lea ecx, [ecx + ecx*2]
shr eax, 1
lea edx, [edx + ecx*8]
nop word cs:[eax + eax]
nop dword [eax]
movsd xmm0, qword [esi + 0x10]
movsd qword [esp + 0x170], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [esp + 0x168], xmm1
movsd qword [esp + 0x160], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [esi + 0x10], xmm0
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
add esi, 0x18
movsd xmm0, qword [esp + 0x170]
movsd qword [edx + 0x10], xmm0
movsd xmm0, qword [esp + 0x160]
movsd xmm1, qword [esp + 0x168]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
add edx, 0xffffffe8
dec eax
jne 0x49cc40
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x10]
jmp 0x49c706
mov ebx, 2
jmp 0x49c6d5
mov edi, dword [esp + 8]
mov ebx, 3
jmp 0x49c6d5
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 0xc]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp word [esp + 0xe2], 5
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 4
mov dword [esp + 0x148], 0
jae 0x49cd46
mov eax, dword [esp + 0x60]
xor eax, 0x2e
or eax, dword [esp + 0x64]
je 0x49cddc
lea eax, [esp + 0x60]
jmp 0x49cd5b
cmp dword [esp + 0xdc], 0
je 0x49cddc
mov eax, dword [esp + 0xd8]
mov edx, dword [esp + 0x1a0]
lea esi, [esp + 0x60]
lea ecx, [esp + 0x160]
push dword [ebp + 0xc]
push esi
push eax
call fcn.0049de50
add esp, 0xc
movzx eax, byte [esp + 0x160]
cmp al, 0x4b
jne 0x49d060
mov eax, dword [esp + 0x164]
mov edi, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
lea ecx, [esp + 0x140]
xor edx, edx
call fcn.0049e130
mov esi, dword [esp + 0x148]
mov edx, dword [esp + 0x144]
mov ebx, dword [esp + 0x10]
lea ecx, [esi + esi*2]
mov edi, edx
lea eax, [edx + ecx*4]
mov dword [edx + ecx*4], ebx
mov ecx, dword [esp + 0x14]
jmp 0x49ce14
lea ecx, [esp + 0x140]
xor edx, edx
mov dword [esp + 0xc], 0
call fcn.0049e130
mov esi, dword [esp + 0x148]
mov ebx, dword [esp + 0x144]
lea ecx, [esi + esi*2]
mov edi, ebx
lea eax, [ebx + ecx*4]
mov dword [ebx + ecx*4], 0
mov ecx, 1
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xc]
inc esi
mov dword [esp + 0xc], esi
mov dword [eax + 8], ecx
mov ecx, edi
mov eax, 1
xor edi, edi
mov dword [esp + 0x148], esi
jmp 0x49ce6a
lea eax, [edx + edx*2]
inc edx
mov dword [ecx + eax*4], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xc], edx
mov dword [ecx + eax*4 + 4], ebx
mov dword [ecx + eax*4 + 8], edi
mov edi, dword [esp + 8]
mov eax, esi
mov dword [esp + 0x148], edx
add eax, 1
adc edi, 0
cmp word [esp + 0xe2], 5
mov dword [esp + 0x10], ecx
jae 0x49cea0
mov ecx, eax
or eax, edi
je 0x49cf39
lea eax, [ecx - 1]
cmp eax, dword [esp + 0xdc]
jae 0x49cf50
mov esi, ecx
jmp 0x49ceaf
cmp dword [esp + 0xdc], eax
jbe 0x49cf50
mov esi, eax
imul eax, eax, 0x38
add eax, dword [esp + 0xd8]
mov edx, dword [esp + 0x1a0]
lea ecx, [esp + 0x160]
push dword [ebp + 0xc]
lea ebx, [esp + 0x64]
push ebx
push eax
call fcn.0049de50
add esp, 0xc
movzx eax, byte [esp + 0x160]
cmp al, 0x4b
jne 0x49cfdb
mov edx, dword [esp + 0xc]
mov dword [esp + 8], edi
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x164]
mov edi, dword [esp + 0x16c]
cmp edx, dword [esp + 0x140]
mov dword [esp + 0x14], eax
jne 0x49ce40
lea ecx, [esp + 0x140]
call fcn.0049e130
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
jmp 0x49ce40
mov eax, dword [esp + 0x60]
mov esi, ecx
xor eax, 0x2e
or eax, dword [esp + 0x64]
lea eax, [esp + 0x60]
jne 0x49ceb9
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x144]
cmp dword [esp + 0x140], eax
jbe 0x49cf8f
test eax, eax
je 0x49d1d5
lea eax, [eax*4]
lea ebx, [eax + eax*2]
push ebx
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapReAlloc
mov edi, eax
test eax, eax
je 0x49d42c
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x4c], ebx
jbe 0x49d20f
test ebx, ebx
je 0x49d1fc
lea ecx, [ebx*8]
lea esi, [ecx + ecx*2]
push esi
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapReAlloc
test eax, eax
jne 0x49d20f
mov ecx, 8
mov edx, esi
call fcn.00429f40
jmp 0x49d438
movzx ecx, word [esp + 0x161]
mov edx, dword [esp + 0x58]
cmp dword [esp + 0xc], 0
mov esi, dword [esp + 0x168]
mov word [edx + 9], cx
movzx ecx, byte [esp + 0x163]
mov byte [edx + 0xb], cl
mov ecx, dword [esp + 0x164]
mov byte [edx + 8], al
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x16c]
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], ecx
mov dword [edx], 1
je 0x49d1be
mov esi, dword [esp + 0x10]
lea edi, [esi + 4]
jmp 0x49d049
add edi, 0xc
dec dword [esp + 0xc]
je 0x49d0a7
cmp dword [edi - 4], 0
je 0x49d040
push dword [edi]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x49d040
movzx ecx, byte [esp + 0x163]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x164]
mov edx, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov byte [edi + 0xb], cl
movzx ecx, word [esp + 0x161]
mov word [edi + 9], cx
mov byte [edi + 8], al
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], esi
mov dword [edi], 1
mov esi, 4
cmp dword [esp + 0x140], 0
je 0x49d0ea
push esi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x49d0ea
mov ecx, dword [esp + 0x58]
mov eax, edx
shr eax, 8
mov byte [ecx + 8], dl
shr edx, 0x18
mov word [ecx + 9], ax
mov byte [ecx + 0xb], dl
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edi
mov dword [ecx], 1
cmp dword [esp + 0xb0], 0
je 0x49d108
push dword [esp + 0xb4]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xbc], 0
je 0x49d126
push dword [esp + 0xc0]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xc8], 0
je 0x49d144
push dword [esp + 0xcc]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xd4], 0
je 0x49d162
push dword [esp + 0xd8]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x40], 0
je 0x49d17a
push dword [esp + 0x44]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
test edi, edi
je 0x49d1ad
lea ebx, [esi + 4]
jmp 0x49d196
add ebx, 0x18
dec edi
je 0x49d1ad
cmp dword [ebx], 0
je 0x49d190
push dword [ebx - 4]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x49d190
cmp dword [esp + 0x4c], 0
je 0x49d2b9
push esi
jmp 0x49d2ac
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x140], 0
jne 0x49d0b1
jmp 0x49d0ea
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edi, 4
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x4c], ebx
ja 0x49cfa1
jmp 0x49d20f
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, 8
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0xb0], 0
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx], 0
je 0x49d247
push dword [esp + 0xb4]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xbc], 0
je 0x49d265
push dword [esp + 0xc0]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xc8], 0
je 0x49d283
push dword [esp + 0xcc]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xd4], 0
je 0x49d2a1
push dword [esp + 0xd8]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x40], 0
je 0x49d2b9
push dword [esp + 0x44]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, esi
push eax
call fcn.0046b190
add esp, 4
jmp 0x49d438
mov edx, 0x585948
mov dword [esp + str.Index_out_of_bounds], 0x5858a8
jmp 0x49d321
mov dword [esp + str.Index_out_of_bounds], 0x5858a8
mov edx, 0x585938
mov ecx, dword [esp + 0x1a8]
mov dword [ecx + 4], 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], str.vmesh_src_char_anim.rs
mov dword [ecx + 0xc], 0
mov edi, dword [esp + 8]
call fcn.004696f0
jmp 0x49d438
mov ecx, edx
mov edx, dword [esp + 0x28]
push 0x585958
mov edi, dword [esp + 0xc]
call fcn.0046a7e0
add esp, 4
jmp 0x49d438
push 0x585958
mov edi, dword [esp + 0xc]
call fcn.0046ea80
add esp, 4
jmp 0x49d438
mov edx, 0x2c
mov ecx, str.assertion_failed:_end___start__end___len
push 0x5859c4
call fcn.0046b190
add esp, 4
jmp 0x49d438
mov edx, 0x2b
mov ecx, 0x586c6b
push 0x585988
call fcn.0046b190
add esp, 4
jmp 0x49d438
mov eax, 0x5859d4
jmp 0x49d3dc
mov edx, dword [esp + 0x28]
push 0x585928
call fcn.0046a7e0
add esp, 4
jmp 0x49d438
mov eax, 0x585928
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push eax
call fcn.0046ea80
add esp, 4
jmp 0x49d438
mov edx, dword [esp + 0x1c]
mov ecx, 8
call fcn.00429f40
jmp 0x49d438
mov eax, 0x585968
mov esi, 0x2b
mov ecx, 0x586c6b
jmp 0x49d2ef
mov edx, 0x2b
mov ecx, 0x586c6b
push 0x585978
call fcn.0046b190
add esp, 4
jmp 0x49d438
mov ecx, 4
mov edx, ebx
call fcn.00429f40
ud2