Function at 0x491310
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, 0x240
mov eax, dword [ebp + 8]
mov dword [esp + 0x1bc], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], 8
mov dword [esp + 0x70], 0
mov dword [esp + 0x5c], 8
mov dword [esp + 0x60], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x64], 0
lea edi, [esp + 0x100]
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 + 0xf0], xmm0
movsd xmm0, qword [eax + 0x30]
movsd qword [esp + 0xc0], xmm1
movsd qword [esp + 0xe8], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0xe0], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0xd8], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [eax]
movsd qword [esp + 0xb8], xmm0
movaps xmm0, xmmword [0x5423a0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x94]
mov dword [esp + 0x14c], ecx
mov ecx, dword [eax + 0x91]
movzx eax, byte [eax + 0x90]
mov dword [esp + 0x149], ecx
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], ebx
mov byte [esp + 0x148], al
mov dword [esp + 0x154], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x158], 0
movups xmmword [esp + 0x160], xmm0
mov dword [esp + 0x174], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x180], 0
mov byte [esp + 0x188], 0
mov byte [esp + 0x189], al
call 0x4914aa
pop eax
mov dword [esp + 0x18a], 0
mov dword [esp + 0x190], edx
mov dword [esp + 0x194], ebx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x1e8], eax
xor eax, eax
jmp 0x4914f4
movaps xmm0, xmmword [esp + 0x30]
mov dword [eax + ecx*8 + 0xc], edi
mov dword [eax + ecx*8 + 8], esi
movlps qword [eax + ecx*8 + 0x10], xmm0
movzx eax, byte [esp + 0x18b]
test al, al
je 0x49156b
movzx eax, byte [esp + 0x148]
movaps xmm0, xmmword [0x5423a0]
lea ecx, [esp + 0x150]
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
lea ecx, [esp + 0x100]
movups xmmword [esp + 0x160], xmm0
mov byte [esp + 0x188], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x78], 0
mov byte [esp + 0x189], al
mov byte [esp + 0x18b], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x180], 0
mov byte [esp + 0x18a], 0
mov word [esp + 0x18c], 0
mov ecx, dword [esp + 0x194]
test ecx, ecx
je 0x492e46
mov edi, dword [esp + 0x190]
lea esi, [ecx - 1]
lea edx, [edi + 1]
mov dword [esp + 0xc], edi
mov dword [esp + 0x190], edx
mov dword [esp + 0x194], esi
movzx eax, byte [edi]
test eax, eax
je 0x4916c0
cmp al, byte [esp + 0x14d]
mov ebx, eax
mov dword [esp + 0x18], esi
jae 0x491760
dec eax
cmp eax, 0xb
ja 0x491fc8
mov eax, dword [eax*4 + 0x493dd0]
mov edi, edx
mov dword [esp + 0x28], edx
mov dword [esp + 8], 0
mov dword [esp + 0x1c], 0x2f
xor ebx, ebx
mov dword [esp + 0x20], 0
xor esi, esi
mov edx, edi
add eax, dword [esp + 0x50]
jmp eax
test esi, esi
je 0x4929b8
lea eax, [ecx - 1]
mov dword [esp + 0x14], ecx
lea esi, [edi + 4]
xor edx, edx
mov dword [esp + 8], 0
xor ecx, ecx
mov dword [esp + 0x18], eax
xor eax, eax
nop word cs:[eax + eax]
nop
movzx ebx, byte [edi + edx + 1]
cmp ecx, 0x3f
jne 0x491703
cmp bl, 2
jae 0x492980
mov dword [esp + 0x10], edx
mov edx, ebx
mov dword [esp + 0x30], esi
mov esi, eax
mov eax, ebx
mov ebx, 0
and dl, 0x7f
movzx edi, dl
xor edx, edx
shld edx, edi, cl
shl edi, cl
test cl, 0x20
cmovne edx, edi
cmovne edi, ebx
mov ebx, eax
mov eax, esi
or dword [esp + 8], edi
or eax, edx
test bl, bl
jns 0x491777
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
add ecx, 7
mov edi, dword [esp + 0xc]
inc edx
inc esi
cmp dword [esp + 0x18], edx
jne 0x4916f0
jmp 0x4929a0
mov dword [esp + 8], 0
mov dword [esp + 0x1c], 0x2e
mov edx, ebx
jmp 0x491b2e
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x492c4c
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ecx, eax
sub ecx, esi
add ecx, 0xfffffffe
cmp ecx, ebx
jb 0x492c64
mov edi, dword [esp + 0xc]
sub eax, ebx
mov dword [esp + 0x4c], edx
sub eax, esi
mov edx, eax
add edx, 0xfffffffe
test ebx, ebx
lea ecx, [edi + ebx]
mov dword [esp + 0x18], edx
lea eax, [esi + ecx + 2]
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], edx
je 0x492c7c
mov ecx, edi
mov dword [esp + 0x24], eax
lea edi, [ebx - 1]
lea eax, [ecx + esi + 3]
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + esi + 2]
lea ecx, [eax - 1]
cmp ecx, 3
ja 0x49216a
mov ecx, dword [ecx*4 + 0x493e00]
mov dword [esp + 0x28], eax
xor esi, esi
mov dword [esp + 0x1c], 0x3e
xor ebx, ebx
mov dword [esp + 0x20], 0
xor eax, eax
add ecx, dword [esp + 0x50]
jmp ecx
xor ebx, ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
xor esi, esi
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x1d8]
mov ecx, esi
movsd xmm1, qword [esp + 0x1c8]
add eax, 0xffffffd2
movsd qword [esp + 0x1b0], xmm0
movsd xmm0, qword [esp + 0x1d0]
movsd qword [esp + 0x1a0], xmm1
adc ecx, 0xffffffff
cmp eax, 0x15
sbb ecx, 0
mov ecx, 0x12
cmovae eax, ecx
mov eax, dword [eax*4 + 0x493e30]
movsd qword [esp + 0x1a8], xmm0
movsd xmm0, qword [esp + 0x1c0]
add eax, dword [esp + 0x50]
movsd qword [esp + 0x198], xmm0
jmp eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x10], ecx
mov ecx, ebx
dec cl
movzx ecx, cl
cmp dword [esp + 0x10], ecx
jb 0x492d03
add eax, ecx
cmp dword [esp + 0x10], ecx
je 0x492d03
movzx eax, byte [eax]
test eax, eax
je 0x49264e
cmp eax, 1
mov dword [esp + 0x28], ebx
jne 0x49266b
test esi, esi
mov dword [esp + 8], eax
je 0x4929e7
mov edx, 2
lea eax, [edi + 2]
mov dword [esp + 0x30], 0
xor edi, edi
xor ecx, ecx
sub edx, dword [esp + 0x14]
nop word [eax + eax]
movzx ebx, byte [eax - 1]
cmp ecx, 0x3f
jne 0x492052
cmp bl, 2
jae 0x492980
mov dword [esp + 0x18], edx
mov edx, ebx
xor esi, esi
mov dword [esp + 0x10], edi
mov edi, 0
mov dword [esp + 8], ebx
and dl, 0x7f
movzx edx, dl
shld esi, edx, cl
shl edx, cl
test cl, 0x20
cmovne esi, edx
cmovne edx, edi
mov edi, dword [esp + 0x10]
or edi, esi
mov esi, dword [esp + 0x30]
or esi, edx
test bl, bl
mov edx, esi
jns 0x492939
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
add ecx, 7
inc eax
inc edx
cmp edx, 1
jne 0x492040
jmp 0x4929cd
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x42
lea edx, [ecx + esi + 3]
mov esi, edx
mov ebx, edx
and esi, 0xff00
and ebx, 0xffff0000
jmp 0x492854
mov edx, ebx
mov dword [esp + 8], 0
mov dword [esp + 0x1c], 0x3b
mov ebx, eax
mov dword [esp + 0x20], eax
jmp 0x491b38
neg edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x68], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x492d76
mov ebx, ecx
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
neg ebx
lea eax, [edi + 1]
add edi, ecx
xor ecx, ecx
mov dword [esp + 0x2c], ebx
movzx ebx, byte [eax - 1]
cmp ecx, 0x3f
jne 0x4926d6
cmp bl, 2
jae 0x492c72
mov edx, ebx
mov dword [esp + 0x10], edi
xor edi, edi
mov esi, 0
mov dword [esp + 8], ebx
and dl, 0x7f
movzx edx, dl
shld edi, edx, cl
shl edx, cl
test cl, 0x20
cmovne edi, edx
cmovne edx, esi
mov esi, dword [esp + 0x20]
or esi, edi
mov edi, esi
mov esi, dword [esp + 0x1c]
or esi, edx
test bl, bl
jns 0x49272a
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
add ecx, 7
inc eax
mov dword [esp + 0x1c], esi
inc edi
inc ebx
jne 0x4926c0
jmp 0x492c98
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x190], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x54], eax
not ecx
inc edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x194], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x68], edx
cmp edx, ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
jne 0x492691
cmp esi, edi
mov dword [esp + 0x4c], ecx
jb 0x492e3d
mov ecx, dword [esp + 0x2c]
mov eax, edx
mov ebx, edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x3d
xor esi, esi
and eax, 0xff00
and ebx, 0xffff0000
mov dword [esp + 8], eax
not ecx
mov dword [esp + 0x18], ecx
jmp 0x491b3e
xor eax, eax
mov dword [esp + 8], esi
mov esi, eax
jmp 0x491b3e
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x18]
mov ebx, edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x3c
xor esi, esi
and ebx, 0xffff0000
neg eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x194], eax
mov eax, edx
and eax, 0xff00
mov dword [esp + 8], eax
jmp 0x491b3e
mov edx, 6
mov dword [esp + 0x14], 0
xor esi, esi
jmp 0x492a00
add edi, dword [esp + 0x14]
mov edx, edi
mov dword [esp + 0x190], edi
mov dword [esp + 0x194], 0
mov dword [esp + 0x24], edx
xor esi, esi
mov edx, 0x13
mov dword [esp + 0x14], 0
jmp 0x492a00
mov edx, dword [esp + 0xc]
add edx, dword [esp + 0x14]
mov dword [esp + 0x190], edx
mov dword [esp + 0x194], 0
mov ebx, dword [esp + 8]
mov dword [esp + 0x24], edx
xor esi, esi
mov edx, 0x13
mov dword [esp + 0x14], 0
nop
movzx eax, bl
movzx ecx, dl
shl esi, 0x10
mov dword [esp + 0x190], str.failed_to_write_whole_buffer
mov dword [esp + 0x194], 0
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x14]
or esi, ecx
mov ebx, esi
cmp bl, 0x4b
jne 0x493919
test edi, edi
je 0x492e46
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], ebx
cmp byte [eax + 0x3b], 0
je 0x492ae0
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4914ec
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x4914ec
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], 8
mov dword [esp + 0x60], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x64], 0
cmp eax, edi
jbe 0x492b94
mov dword [esp + 0x18], eax
lea eax, [edi*8]
lea eax, [eax + eax*2]
mov dword [esp + 0x1c], eax
push eax
push esi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapReAlloc
mov ebx, eax
test eax, eax
jne 0x492b96
jmp 0x493ca7
mov ecx, dword [eax]
mov edx, dword [esp + 0x64]
movdqu xmm0, xmmword [eax + 0x18]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
mov ecx, edx
pshufd xmm0, xmm0, 0xe8
sub ecx, 1
movdqa xmmword [esp + 0x30], xmm0
jb 0x492b3e
test eax, eax
je 0x492b3e
lea ecx, [ecx + ecx*2]
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov esi, ebx
mov edi, dword [eax + ecx*8 + 4]
xor edi, ebx
mov ebx, dword [eax + ecx*8]
xor ebx, dword [esp + 0x10]
or ebx, edi
mov ebx, esi
mov edi, dword [esp + 8]
mov esi, dword [esp + 0xc]
je 0x4914da
cmp edx, dword [esp + 0x60]
jne 0x492b55
lea ecx, [esp + 0x5c]
call fcn.00494640
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
lea ecx, [edx + edx*2]
movdqa xmm0, xmmword [esp + 0x30]
inc edx
mov dword [eax + ecx*8 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*8], ebx
mov dword [eax + ecx*8 + 0xc], edi
mov dword [eax + ecx*8 + 8], esi
movd dword [eax + ecx*8 + 0x10], xmm0
pshufd xmm0, xmm0, 0x55
movd dword [eax + ecx*8 + 0x14], xmm0
mov dword [esp + 0x64], edx
movzx eax, byte [esp + 0x18b]
jmp 0x4914f4
mov ebx, esi
mov edx, dword [esp + 0x74]
cmp edx, dword [esp + 0x70]
jne 0x492bad
lea ecx, [esp + 0x6c]
call fcn.00494640
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
lea ecx, [edx + edx*2]
mov esi, dword [esp + 0xc]
inc edx
mov dword [eax + ecx*8], ebx
mov dword [eax + ecx*8 + 4], edi
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov dword [eax + ecx*8 + 0xc], esi
mov dword [eax + ecx*8 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*8 + 0x14], ebx
mov dword [eax + ecx*8 + 0x10], edi
mov dword [esp + 0x74], edx
movzx eax, byte [esp + 0x18b]
jmp 0x4914f4
mov ecx, dword [esp + 8]
mov edx, 0x35
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
jmp 0x492a00
mov eax, dword [esp + 0xc]
lea edi, [eax + esi + 2]
mov dword [esp + 0x24], edi
jmp 0x492c84
mov edx, 6
jmp 0x49298d
lea eax, [edi + esi + 2]
mov dword [esp + 0x24], eax
mov edx, 0x13
mov dword [esp + 0x14], 0
xor esi, esi
jmp 0x492a00
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 8]
add eax, dword [esp + 0x48]
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], 0
xor esi, esi
mov edx, 0x13
mov dword [esp + 0x24], eax
jmp 0x4929c3
mov dword [esp + 0x24], eax
xor esi, esi
mov edx, 0x13
jmp 0x4929c3
mov eax, dword [esp + 0x54]
jmp 0x492cb6
mov dword [esp + 0x24], edx
jmp 0x492d07
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
cmp ebx, 0x15
mov dword [esp + 0x2c], eax
jae 0x492e75
cmp ebx, 1
jbe 0x493517
mov ecx, dword [esp + 0x2c]
mov edx, ebx
push 1
call fcn.00494500
add esp, 4
jmp 0x493517
mov eax, ebx
shr eax, 1
mov dword [esp + 0x1e4], eax
lea eax, [eax*8]
lea ecx, [eax + eax*2]
movzx eax, byte [0x5c91e8]
mov edx, 8
call fcn.0041aa20
test eax, eax
mov dword [esp + 0x10], eax
je 0x493cb7
movzx eax, byte [0x5c91e8]
mov ecx, pe_nt_image_headers32
mov edx, 4
call fcn.0041aa20
test eax, eax
mov dword [esp + 0xc], eax
je 0x493ccb
mov eax, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x68], 0x10
mov dword [esp + 0x58], ebx
lea ecx, [eax + 0x38]
add eax, 0xffffffe8
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x7c], ecx
nop dword [eax + eax]
mov ecx, dword [esp + 0x2c]
mov esi, ebx
mov edx, eax
mov dword [esp + 0x50], edi
sub esi, eax
lea eax, [eax + eax*2]
mov dword [esp + 8], edx
cmp esi, 2
mov dword [esp + 0x30], esi
lea edi, [ecx + eax*8]
jae 0x492f70
mov eax, dword [esp + 0x30]
mov ecx, ebx
mov esi, ecx
sub esi, edx
jb 0x493c32
cmp ecx, ebx
ja 0x493c32
jae 0x492fc0
cmp eax, 0xa
jae 0x492fc0
lea esi, [edx + 0xa]
cmp esi, ebx
cmovae esi, ebx
mov dword [esp + 0x48], esi
sub esi, edx
jb 0x493c4e
mov ecx, edi
cmp eax, 2
mov edi, eax
mov eax, 1
cmovb edi, eax
mov edx, esi
push edi
call fcn.00494500
add esp, 4
mov edx, dword [esp + 8]
jmp 0x492fc4
mov ecx, edi
mov edi, dword [edi + 0x24]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], edi
cmp esi, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
sbb edi, ecx
jae 0x493350
cmp dword [esp + 0x30], 2
jne 0x49336c
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x18]
mov eax, 2
lea ecx, [edx + 2]
jmp 0x493404
mov dword [esp + 0x48], ecx
mov edi, dword [esp + 0x50]
cmp edi, dword [esp + 0x68]
jne 0x493030
lea eax, [edi + edi]
mov ecx, edi
mov dword [esp + 0x68], eax
shl ecx, 4
movzx eax, byte [0x5c91e8]
mov edx, 4
call fcn.0041aa20
test eax, eax
je 0x493c59
lea ecx, [edi*8]
push ecx
mov edi, dword [esp + 0x10]
push edi
push eax
mov dword [esp + 0x3c], eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 8]
jmp 0x493034
mov eax, dword [esp + 0xc]
mov dword [eax + edi*8], esi
mov dword [eax + edi*8 + 4], edx
inc edi
mov dword [esp + 0xc], eax
cmp edi, 2
jb 0x4934d0
mov esi, dword [esp + 0xc]
jmp 0x4930ad
mov eax, dword [esp + 0x10]
mov edi, esi
mov esi, dword [esp + 0xc]
sub ebx, eax
push ebx
push eax
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add ecx, dword [esp + 8]
mov dword [esi + eax*8 + 8], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + eax*8 + 0xc], ecx
mov ecx, dword [esp + 0x18]
not eax
add ecx, eax
lea eax, [edx + 8]
shl ecx, 3
push ecx
push eax
push edx
call sub.msvcrt.dll_memmove
add esp, 0xc
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
cmp edi, 1
jbe 0x493340
mov eax, dword [esi + edi*8 - 8]
mov ecx, dword [esi + edi*8 - 4]
add ecx, eax
cmp ecx, ebx
je 0x493110
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + edi*8 - 0x10]
cmp edx, eax
jbe 0x493110
cmp edi, 3
jb 0x4934c8
mov ecx, dword [esp + 0xc]
lea esi, [edx + eax]
lea ebx, [edi - 3]
mov ecx, dword [ecx + edi*8 - 0x18]
cmp ecx, esi
jbe 0x493329
cmp edi, 4
jb 0x4934de
mov esi, edi
mov edi, dword [esp + 0xc]
add edx, ecx
cmp dword [edi + esi*8 - 0x20], edx
mov edx, dword [esp + 0x58]
mov edi, esi
jbe 0x493122
jmp 0x4934ed
mov edx, ebx
cmp edi, 3
jb 0x493126
mov ecx, dword [esp + 0xc]
lea ebx, [edi - 3]
mov ecx, dword [ecx + edi*8 - 0x18]
cmp ecx, eax
jb 0x493129
lea ebx, [edi - 2]
cmp edi, ebx
jbe 0x493bbb
lea eax, [ebx + 1]
cmp edi, eax
jbe 0x493bcd
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov esi, dword [eax + ebx*8 + 8]
mov edi, dword [eax + ebx*8 + 0xc]
mov ecx, dword [eax + ebx*8 + 4]
add edi, esi
mov dword [esp + 0x28], esi
mov eax, edi
sub eax, ecx
mov dword [esp + 0x1c], eax
jb 0x493c0a
cmp edi, edx
ja 0x493c1e
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ebx
mov edx, dword [eax + ebx*8]
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx + eax*8]
lea eax, [edx + edx*2]
mov dword [esp + 8], edx
lea esi, [ecx + eax*8]
lea eax, [edi + edi*2]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
sub ecx, edx
dec eax
cmp ecx, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
lea eax, [eax + ebx*8]
mov dword [esp + 0x24], eax
jae 0x493270
lea eax, [ecx*8]
mov dword [esp + 0x1c], ecx
lea ebx, [eax + eax*2]
push ebx
push esi
mov edi, dword [esp + 0x18]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 8]
add ebx, edi
test eax, eax
jle 0x493050
cmp dword [esp + 0x1c], 0
jle 0x493050
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
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 + 0x30]
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 0x493050
add eax, 0xffffffe8
cmp ebx, dword [esp + 0x10]
ja 0x493200
jmp 0x493050
mov eax, dword [esp + 8]
lea eax, [eax*8]
lea ebx, [eax + eax*2]
push ebx
mov eax, dword [esp + 0x34]
mov edi, eax
push eax
push dword [esp + 0x18]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 8]
add ebx, dword [esp + 0x10]
test eax, eax
jle 0x493320
cmp dword [esp + 0x1c], eax
jle 0x493320
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 0x10]
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 0x493056
movzx edx, dl
lea edx, [edx + edx*2]
lea esi, [esi + edx*8]
cmp esi, ecx
jb 0x4932c0
jmp 0x493056
mov eax, dword [esp + 0x10]
jmp 0x493056
mov edx, dword [esp + 0x58]
cmp ecx, eax
jae 0x493126
jmp 0x493129
mov edi, 1
jmp 0x4934d0
cmp dword [esp + 0x30], 2
jne 0x49339d
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x18]
mov eax, 2
lea ecx, [edx + 2]
jmp 0x492f17
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
lea ebx, [ecx + eax*8]
mov eax, 2
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 0x4933df
inc eax
add ebx, 0x18
cmp dword [esp + 0x30], eax
jne 0x493380
jmp 0x4933db
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
lea ebx, [ecx + eax*8]
mov eax, 2
nop word cs:[eax + eax]
nop dword [eax + eax]
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 0x4933df
inc eax
add ebx, 0x18
cmp dword [esp + 0x30], eax
jne 0x4933c0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x14], esi
lea ecx, [eax + edx]
sbb dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
jae 0x492f17
cmp ecx, edx
jb 0x493c83
cmp ecx, ebx
ja 0x493c72
cmp eax, 2
jb 0x492f17
mov dword [esp + 0x48], ecx
mov ecx, eax
shr eax, 1
mov esi, edi
mov dword [esp + 0x30], ecx
add ecx, edx
mov edx, dword [esp + 0x54]
lea ecx, [ecx + ecx*2]
lea edx, [edx + ecx*8]
nop word [eax + eax]
movsd xmm0, qword [esi + 0x10]
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [esp + 0x88], xmm1
movsd qword [esp + 0x80], 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 + 0x90]
movsd qword [edx + 0x10], xmm0
movsd xmm0, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x88]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
add edx, 0xffffffe8
dec eax
jne 0x493440
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x30]
jmp 0x492f17
mov edi, 2
nop dword [eax]
mov eax, dword [esp + 0x48]
cmp eax, ebx
jb 0x492ef0
jmp 0x4934f5
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov edi, 3
jmp 0x4934d4
mov eax, dword [esp + 0x48]
mov ebx, edx
jmp 0x4934d4
push dword [esp + 0xc]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
push dword [esp + 0x10]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp word [esp + 0x10a], 5
mov dword [esp + 0x198], 4
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
jae 0x493563
mov eax, dword [esp + 0xb8]
xor eax, 0x2e
or eax, dword [esp + 0xbc]
je 0x493616
lea esi, [esp + 0xb8]
jmp 0x493578
cmp dword [esp + 0x138], 0
je 0x493616
mov esi, dword [esp + 0x130]
mov edx, dword [esp + 0x1bc]
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x80]
push dword [ebp + 0xc]
push eax
push esi
call fcn.00494710
add esp, 0xc
movzx eax, byte [esp + 0x80]
cmp al, 0x4b
jne 0x4938ad
mov eax, dword [esp + 0x8c]
movsd xmm0, qword [esp + 0x84]
mov dword [esp + 0x1cb], eax
movsd qword [esp + 0x1c3], xmm0
movsd qword [esp + 0x200], xmm0
mov dword [esp + 0x208], eax
lea ecx, [esp + 0x198]
xor edx, edx
call fcn.00494a10
lea eax, [esp + 0x1c3]
mov esi, dword [esp + 0x1a0]
mov edi, dword [esp + 0x198]
mov edx, dword [eax + 8]
lea ecx, [esi + esi*2]
mov dword [esp + 0x30], edi
mov dword [edi + ecx*4 + 8], edx
movsd xmm0, qword [eax]
movsd qword [edi + ecx*4], xmm0
jmp 0x493673
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [esp + 0x198]
xor edx, edx
call fcn.00494a10
mov esi, dword [esp + 0x1a0]
mov edx, dword [esp + 0x198]
mov ecx, dword [esp + 0x88]
lea eax, [esi + esi*2]
mov dword [esp + 0x30], edx
mov dword [edx + eax*4 + 8], ecx
movsd xmm0, qword [esp + 0x80]
movsd qword [edx + eax*4], xmm0
inc esi
mov ebx, 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x1a0], esi
jmp 0x4936c2
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c3]
lea eax, [esi + esi*2]
inc esi
add ebx, 1
mov dword [esp + 0x30], edx
movsd xmm0, qword [ecx]
mov ecx, dword [ecx + 8]
adc dword [esp + 0x10], 0
mov dword [edx + eax*4 + 8], ecx
movsd qword [edx + eax*4], xmm0
mov dword [esp + 0x1a0], esi
cmp word [esp + 0x10a], 5
jae 0x4936f0
mov eax, ebx
or eax, dword [esp + 0x10]
je 0x49379a
lea eax, [ebx - 1]
cmp eax, dword [esp + 0x138]
jae 0x4937b8
imul eax, eax, 0x38
jmp 0x493700
cmp dword [esp + 0x138], ebx
jbe 0x4937b8
imul eax, ebx, 0x38
add eax, dword [esp + 0x130]
mov edx, dword [esp + 0x1bc]
lea ecx, [esp + 0x80]
push dword [ebp + 0xc]
lea edi, [esp + 0xbc]
push edi
push eax
call fcn.00494710
add esp, 0xc
movzx eax, byte [esp + 0x80]
cmp al, 0x4b
jne 0x493828
lea ecx, [esp + 0x84]
lea edx, [esp + 0x1c3]
cmp esi, dword [esp + 0x19c]
mov eax, dword [ecx + 8]
movsd xmm0, qword [ecx]
mov dword [edx + 8], eax
movsd qword [edx], xmm0
movsd xmm0, qword [edx]
mov eax, dword [edx + 8]
movsd qword [esp + 0x210], xmm0
mov dword [esp + 0x218], eax
jne 0x493690
lea ecx, [esp + 0x198]
mov edx, esi
call fcn.00494a10
mov edx, dword [esp + 0x198]
mov esi, dword [esp + 0x1a0]
jmp 0x493694
mov eax, dword [esp + 0xb8]
xor eax, 0x2e
or eax, dword [esp + 0xbc]
lea eax, [esp + 0xb8]
jne 0x493707
movsd xmm0, qword [esp + 0x198]
mov edi, dword [esp + 0x1a0]
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x88], edi
cmp dword [esp + 0x84], edi
jbe 0x493a1e
mov eax, dword [esp + 0x80]
test edi, edi
je 0x493a3e
lea ecx, [edi*4]
lea esi, [ecx + ecx*2]
push esi
push eax
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapReAlloc
mov ebx, eax
test eax, eax
jne 0x493a51
mov ecx, 4
mov edx, esi
call fcn.0041b1c0
jmp 0x493ce2
movsd xmm1, qword [esp + 0x88]
movsd xmm0, qword [esp + 0x81]
mov ecx, dword [esp + 0x78]
test esi, esi
movsd qword [esp + 0x1c7], xmm1
movsd qword [esp + 0x1c0], xmm0
movsd xmm1, qword [esp + 0x1c7]
movsd xmm0, qword [esp + 0x1c0]
movsd qword [ecx + 0x10], xmm1
movsd qword [ecx + 9], xmm0
mov byte [ecx + 8], al
mov dword [ecx], 1
je 0x493a27
mov ebx, dword [esp + 0x30]
lea edi, [ebx + 4]
jmp 0x493896
add edi, 0xc
dec esi
je 0x4938ff
cmp dword [edi], 0
je 0x493890
push dword [edi - 4]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
jmp 0x493890
movsd xmm1, qword [esp + 0x88]
movsd xmm0, qword [esp + 0x81]
mov ecx, dword [esp + 0x78]
mov ebx, 4
movsd qword [esp + 0x1c7], xmm1
movsd qword [esp + 0x1c0], xmm0
movsd xmm1, qword [esp + 0x1c7]
movsd xmm0, qword [esp + 0x1c0]
movsd qword [ecx + 0x10], xmm1
movsd qword [ecx + 9], xmm0
mov byte [ecx + 8], al
mov dword [ecx], 1
cmp dword [esp + 0x19c], 0
je 0x493944
push ebx
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
jmp 0x493944
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
mov edx, eax
mov eax, ebx
shr eax, 8
mov byte [ecx + 8], bl
shr ebx, 0x18
mov word [ecx + 9], ax
mov byte [ecx + 0xb], bl
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov dword [ecx], 1
cmp dword [esp + 0x110], 0
je 0x493962
push dword [esp + 0x10c]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x11c], 0
je 0x493980
push dword [esp + 0x118]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x128], 0
je 0x49399e
push dword [esp + 0x124]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x134], 0
je 0x4939bc
push dword [esp + 0x130]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x60], 0
je 0x4939d4
push dword [esp + 0x5c]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x6c]
test edi, edi
je 0x493a0d
lea ebx, [esi + 4]
jmp 0x4939f6
add ebx, 0x18
dec edi
je 0x493a0d
cmp dword [ebx], 0
je 0x4939f0
push dword [ebx - 4]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
jmp 0x4939f0
cmp dword [esp + 0x70], 0
je 0x493b75
push esi
jmp 0x493b68
mov ebx, dword [esp + 0x80]
jmp 0x493a51
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x19c], 0
jne 0x493909
jmp 0x493944
push eax
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov ebx, 4
movsd xmm0, qword [esp + 0x6c]
mov esi, dword [esp + 0x74]
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x88], esi
cmp dword [esp + 0x84], esi
jbe 0x493ab3
mov eax, dword [esp + 0x80]
test esi, esi
je 0x493abc
lea ecx, [esi*8]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x10], ecx
push ecx
push eax
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapReAlloc
test eax, eax
jne 0x493acf
mov edx, dword [esp + 0x10]
mov ecx, 8
call fcn.0041b1c0
jmp 0x493ce2
mov eax, dword [esp + 0x80]
jmp 0x493acf
push eax
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov eax, 8
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x110], 0
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], esi
mov dword [ecx], 0
je 0x493b03
push dword [esp + 0x10c]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x11c], 0
je 0x493b21
push dword [esp + 0x118]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x128], 0
je 0x493b3f
push dword [esp + 0x124]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x134], 0
je 0x493b5d
push dword [esp + 0x130]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x60], 0
je 0x493b75
push dword [esp + 0x5c]
push 0
push dword [0x5c9128]
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.00445340
add esp, 4
jmp 0x493ce2
mov dword [esp + 0x80], str.Index_out_of_bounds
mov edx, 0x569e9c
jmp 0x493bdd
mov edx, 0x569eac
mov dword [esp + 0x80], 0x569cd8
mov ecx, dword [esp + 0x1e8]
mov dword [ecx + 4], 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], str.failed_to_write_whole_buffer
mov dword [ecx + 0xc], 0
call fcn.00444350
jmp 0x493ce2
mov edx, edi
push 0x569ebc
call fcn.00446290
add esp, 4
jmp 0x493ce2
mov ecx, edi
push 0x569ebc
call fcn.00445020
add esp, 4
jmp 0x493ce2
mov edx, 0x2c
mov ecx, str.assertion_failed:_end___start__end___len
push 0x569f48
call fcn.00445340
add esp, 4
jmp 0x493ce2
mov ecx, dword [esp + 0xc]
mov eax, 0x569f0c
jmp 0x493c90
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_home_vi_.cargo_registry_src_index.crates.io_6f17d22bba15001f_url_1.7.2_src_lib.rsURL_has_no_host
push 0x569eec
call fcn.00445340
add esp, 4
jmp 0x493ce2
mov edx, ebx
push 0x569e8c
call fcn.00445020
add esp, 4
jmp 0x493ce2
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xc]
mov eax, 0x569e8c
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 8]
push eax
call fcn.00446290
add esp, 4
jmp 0x493ce2
mov edx, dword [esp + 0x1c]
mov ecx, 8
call fcn.0041b1c0
jmp 0x493ce2
mov eax, 0x569ecc
mov esi, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_home_vi_.cargo_registry_src_index.crates.io_6f17d22bba15001f_url_1.7.2_src_lib.rsURL_has_no_host
jmp 0x493bab
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_home_vi_.cargo_registry_src_index.crates.io_6f17d22bba15001f_url_1.7.2_src_lib.rsURL_has_no_host
push 0x569edc
call fcn.00445340
add esp, 4
ud2