Function at 0x1003c5e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067245
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x64], esi
mov eax, dword [esi]
mov dword [0x1007fae4], eax
cmp byte [esi + 0xfa], 0
je 0x1003ccab
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call edi
sub eax, dword [esi + 0x100]
mov ecx, eax
sbb edx, dword [esi + 0x104]
call fcn.10064fc0
divss xmm0, dword [0x10074734]
comiss xmm0, dword [0x100746e4]
jb 0x1003ccab
call edi
sub dword [esi + 0xf0], 1
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], edx
js 0x1003cc7e
xorps xmm0, xmm0
mov word [ebp - 0x30], 0x4c
lea ecx, [ebp - 0x2f]
mov byte [ebp - 0x2f], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c693
sub ecx, edx
lea eax, [ebp - 0x2f]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100051a0
mov dword [ebp - 4], 0
mov eax, 0xc22e4507
mov edi, dword [esi + 0xf0]
imul edi
add edx, edi
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
call fcn.1002e000
call fcn.10064e70
mov esi, eax
mov edx, edi
imul ecx, esi, 0x15180
mov eax, 0x91a2b3c5
mov dword [ebp - 0x30], esi
sub edx, ecx
mov ecx, 0x18
mul edx
shr edx, 0xb
mov eax, edx
xor edx, edx
div ecx
mov ecx, edx
call fcn.10026a80
call fcn.10064e70
lea ecx, [esi + esi*2]
mov dword [ebp - 0x40], eax
mov edx, edi
lea esi, [eax + ecx*8]
mov eax, 0x88888889
imul ecx, esi, 0xe10
sub edx, ecx
mov ecx, 0x3c
mul edx
shr edx, 5
mov eax, edx
xor edx, edx
div ecx
mov ecx, edx
call fcn.10026a80
call fcn.10064e70
mov ecx, esi
mov dword [ebp - 0x2c], eax
shl ecx, 4
sub ecx, esi
mov esi, eax
lea ecx, [esi + ecx*4]
mov edx, ecx
shl edx, 4
sub edx, ecx
mov ecx, 0x3c
shl edx, 2
sub edi, edx
xor edx, edx
mov eax, edi
div ecx
mov ecx, edx
call fcn.10026a80
call fcn.10064e70
mov ecx, dword [ebp - 0x30]
mov edi, eax
test ecx, ecx
je 0x1003c85e
cmp ecx, 0xa
jae 0x1003c794
mov dl, 0x2f
mov byte [ebp - 0x2a], 0
mov al, 0x1f
mov byte [ebp - 0x2c], dl
xor al, dl
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x2b], al
lea eax, [ebp - 0x2b]
jmp 0x1003c7a1
mov word [ebp - 0x30], 0x44
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x2f], 0
push ecx
push eax
mov dh, 9
mov byte [ebp - 0x32], 0
mov al, 0x2c
mov byte [ebp - 0x38], dh
mov dl, al
mov byte [ebp - 0x32], 0
mov cl, 0x7a
mov ah, 0x7c
mov ch, 0x33
xor al, dh
xor cl, dh
mov byte [ebp - 0x37], al
xor ah, dh
mov byte [ebp - 0x36], cl
xor ch, dh
mov byte [ebp - 0x34], ah
xor dl, dh
mov byte [ebp - 0x33], ch
sub esp, 0x18
mov byte [ebp - 0x35], dl
mov edx, esp
lea ecx, [ebp - 0x37]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x48], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c7f5
sub ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x37]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x60]
push eax
call fcn.10004d30
add esp, 0x24
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10007970
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1003c85e
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c854
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003c854
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x1003c953
cmp ecx, 0xa
jae 0x1003c887
mov dl, 0x68
mov byte [ebp - 0x2a], 0
mov al, 0x58
mov byte [ebp - 0x2c], dl
xor al, dl
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x2b], al
lea eax, [ebp - 0x2b]
jmp 0x1003c894
mov word [ebp - 0x30], 0x2f
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x2f], 0
push ecx
push eax
mov dh, 0x2d
mov byte [ebp - 0x32], 0
mov al, 8
mov byte [ebp - 0x38], dh
mov dl, al
mov byte [ebp - 0x32], 0
mov cl, 0x5e
mov ah, 0x58
mov ch, 0x17
xor al, dh
xor cl, dh
mov byte [ebp - 0x37], al
xor ah, dh
mov byte [ebp - 0x36], cl
xor ch, dh
mov byte [ebp - 0x34], ah
xor dl, dh
mov byte [ebp - 0x33], ch
sub esp, 0x18
mov byte [ebp - 0x35], dl
mov edx, esp
lea ecx, [ebp - 0x37]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x40], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c8e8
sub ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x37]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x60]
push eax
call fcn.10004d30
add esp, 0x24
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10007970
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1003c981
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c947
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003c947
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
jmp 0x1003c981
mov ah, 0x31
mov byte [ebp - 0x3c], 0
mov al, 1
mov byte [ebp - 0x40], ah
mov cl, al
mov byte [ebp - 0x3c], 0
xor al, ah
mov dl, 0xb
xor cl, ah
mov byte [ebp - 0x3f], al
xor dl, ah
mov byte [ebp - 0x3e], cl
lea eax, [ebp - 0x3f]
mov byte [ebp - 0x3d], dl
push eax
lea ecx, [ebp - 0x28]
call fcn.10007900
test esi, esi
je 0x1003ca6f
cmp esi, 0xa
jae 0x1003c9a7
mov cl, 0x73
mov byte [ebp - 0x2a], 0
mov al, 0x43
mov byte [ebp - 0x2c], cl
xor al, cl
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x2b], al
lea eax, [ebp - 0x2b]
jmp 0x1003c9b4
mov word [ebp - 0x30], 0x1d
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x2f], 0
push esi
push eax
mov dh, 0x35
mov byte [ebp - 0x32], 0
mov al, 0x10
mov byte [ebp - 0x38], dh
mov dl, al
mov byte [ebp - 0x32], 0
mov cl, 0x46
mov ch, 0xf
xor cl, dh
xor ch, dh
mov ah, 0x40
mov byte [ebp - 0x36], cl
xor al, dh
mov byte [ebp - 0x33], ch
xor dl, dh
mov byte [ebp - 0x37], al
xor ah, dh
mov byte [ebp - 0x35], dl
sub esp, 0x18
mov byte [ebp - 0x34], ah
mov edx, esp
lea ecx, [ebp - 0x37]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ca05
sub ecx, esi
lea eax, [ebp - 0x37]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x60]
push eax
call fcn.10004d30
add esp, 0x24
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.10007970
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1003ca9d
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ca63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003ca63
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
jmp 0x1003ca9d
mov ah, 0x32
mov byte [ebp - 0x3c], 0
mov al, 2
mov byte [ebp - 0x40], ah
mov cl, al
mov byte [ebp - 0x3c], 0
xor al, ah
mov dl, 8
xor cl, ah
mov byte [ebp - 0x3f], al
xor dl, ah
mov byte [ebp - 0x3e], cl
lea eax, [ebp - 0x3f]
mov byte [ebp - 0x3d], dl
push eax
lea ecx, [ebp - 0x28]
call fcn.10007900
test edi, edi
je 0x1003cb8a
cmp edi, 0xa
jae 0x1003cac3
mov cl, 0x65
mov byte [ebp - 0x2a], 0
mov al, 0x55
mov byte [ebp - 0x2c], cl
xor al, cl
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x2b], al
lea eax, [ebp - 0x2b]
jmp 0x1003cad0
mov word [ebp - 0x30], 0x6c
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x2f], 0
push edi
push eax
mov ch, 0x3d
mov byte [ebp - 0x43], 0
mov al, 0x18
mov byte [ebp - 0x48], ch
mov dl, al
mov byte [ebp - 0x43], 0
mov cl, 0x4e
xor dl, ch
mov ah, 0x48
mov byte [ebp - 0x45], dl
xor al, ch
xor cl, ch
xor ah, ch
mov byte [ebp - 0x46], cl
sub esp, 0x18
mov byte [ebp - 0x47], al
mov edx, esp
mov byte [ebp - 0x44], ah
xorps xmm0, xmm0
lea ecx, [ebp - 0x47]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cb20
sub ecx, esi
lea eax, [ebp - 0x47]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x60]
push eax
call fcn.10004d30
add esp, 0x24
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.10007970
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1003cbb1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003cb7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003cb7e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
jmp 0x1003cbb1
mov dl, 0xf
mov byte [ebp - 0x29], 0
mov al, 0x3f
mov byte [ebp - 0x2c], dl
mov cl, al
mov byte [ebp - 0x29], 0
xor al, dl
xor cl, dl
mov byte [ebp - 0x2b], al
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x2a], cl
lea ecx, [ebp - 0x28]
push eax
call fcn.10007900
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
cmova edx, dword [ebp - 0x28]
mov ecx, edx
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cbd6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.100051a0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 5
mov esi, dword [eax + 0x48]
test esi, esi
je 0x1003cc10
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003cc10
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call dword [0x10073638]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1003cc46
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003cc3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003cc3c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1003ccab
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003cc72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003cc72
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
jmp 0x1003ccab
mov byte [esi + 0xfa], 0
mov dword [esi + 0xf0], 0
mov esi, dword [esi]
test esi, esi
je 0x1003ccab
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003ccab
push eax
mov ecx, esi
call dword [0x100735d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10064164
mov esp, ebp
pop ebp
ret