Function at 0x10025940
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089dd4
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x100c4014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe4], 0
mov dword [ebp - 4], 1
mov ecx, 0x100c75db
call fcn.10085165
mov eax, dword [ebp + 0x1c]
lea ecx, [eax*4]
mov eax, 0x55555556
imul ecx
mov eax, edx
add edx, 0x20
shr eax, 0x1f
add eax, edx
push eax
mov dword [ebp - 0x68], eax
call fcn.10082db0
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dword [ebp - 0xd4], eax
lea ecx, [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
add esp, 4
cmp dword [ebp + 0x20], 0x10
movups xmmword [ebp - 0x54], xmm0
cmovae ecx, dword [ebp + 0xc]
xor edx, edx
movups xmm0, xmmword [0x1009f828]
mov dword [ebp - 0x6c], eax
xor esi, esi
mov al, byte [0x1009f858]
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x14], al
movups xmm0, xmmword [0x1009f838]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xd8], ecx
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x1009f848]
movups xmmword [ebp - 0x24], xmm0
test eax, eax
jle 0x1002605b
mov edi, eax
neg edi
mov dword [ebp - 0xdc], edi
nop dword [eax + eax]
movzx eax, byte [esi + ecx]
shr eax, 2
movzx eax, byte [ebp + eax - 0x54]
cmp edi, 0xffffffff
jne 0x10025a6a
mov edi, dword [ebp - 0xd4]
mov byte [edi + edx], al
movzx eax, byte [esi + ecx]
and eax, 3
add eax, eax
movzx eax, byte [ebp + eax*8 - 0x54]
mov byte [edi + edx + 1], al
mov eax, edi
mov word [eax + edx + 2], 0x3d3d
jmp 0x10025b16
cmp edi, 0xfffffffe
mov edi, dword [ebp - 0xd4]
mov byte [edi + edx], al
mov eax, dword [ebp - 0xd8]
movzx ecx, byte [esi + ecx]
movzx eax, byte [esi + eax + 1]
jne 0x10025abd
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
movzx eax, byte [ebp + ecx - 0x54]
mov ecx, edi
mov byte [ecx + edx + 1], al
mov ecx, dword [ebp - 0xd8]
movzx eax, byte [esi + ecx + 1]
and eax, 0xf
movzx eax, byte [ebp + eax*4 - 0x54]
mov byte [edi + edx + 2], al
mov eax, edi
mov byte [eax + edx + 3], 0x3d
jmp 0x10025b16
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
movzx eax, byte [ebp + ecx - 0x54]
mov ecx, edi
mov byte [ecx + edx + 1], al
mov eax, dword [ebp - 0xd8]
movzx ecx, byte [esi + eax + 1]
movzx eax, byte [esi + eax + 2]
and ecx, 0xf
shr eax, 6
shl ecx, 2
or ecx, eax
movzx eax, byte [ebp + ecx - 0x54]
mov ecx, edi
mov byte [ecx + edx + 2], al
mov ecx, dword [ebp - 0xd8]
movzx eax, byte [esi + ecx + 2]
and eax, 0x3f
movzx eax, byte [ebp + eax - 0x54]
mov byte [edi + edx + 3], al
mov eax, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xdc]
add esi, 3
add edi, 3
add edx, 4
mov dword [ebp - 0xdc], edi
cmp esi, dword [ebp - 0x6c]
jl 0x10025a30
test edx, edx
jle 0x10026055
cmp edx, dword [ebp - 0x68]
jge 0x10026055
mov ecx, eax
mov byte [edx + eax], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025b50
mov esi, dword [ebp - 0xd4]
sub ecx, edx
push ecx
push esi
lea ecx, [ebp + 0xc]
call fcn.1000de70
push esi
call fcn.10082a93
mov eax, dword [ebp + 0x1c]
add esp, 4
mov esi, dword [ebp + 0x20]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x10025bab
cmp esi, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edi
cmp byte [eax + ecx], 0x3d
jne 0x10025ba3
cmp esi, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edi
mov byte [eax + ecx], 0x7c
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
inc ecx
cmp ecx, eax
jb 0x10025b81
lea ecx, [ebp - 0x64]
cmp esi, 0x10
push ecx
lea edx, [ebp + 0xc]
cmovae edx, edi
lea ecx, [ebp - 0xcc]
push eax
call fcn.10045950
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xcc]
call fcn.1003eaa0
push 0xfde9
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0xb4]
call fcn.100417e0
add esp, 0xc
mov byte [ebp - 4], 0xb
mov edi, dword [ebp + 0x1c]
and edi, 0x80000001
jns 0x10025c00
dec edi
or edi, 0xfffffffe
inc edi
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 0xf
mov ecx, 0xf
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
mov byte [ebp - 4], 0x10
xor esi, esi
cmp dword [ebp - 0xa4], esi
jbe 0x10025cbe
mov eax, esi
and eax, 1
cmp eax, edi
jne 0x10025cb5
cmp dword [ebp - 0xa0], 0x10
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 0x8c]
cmovae eax, dword [ebp - 0xb4]
mov al, byte [eax + esi]
mov byte [ebp - 0x6c], al
cmp edx, ecx
jae 0x10025c99
lea eax, [edx + 1]
cmp ecx, 0x10
mov cl, byte [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x10025caf
push dword [ebp - 0x6c]
mov byte [ebp - 0x68], 0
push dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.1002e810
mov ecx, dword [ebp - 0x88]
inc esi
cmp esi, dword [ebp - 0xa4]
jb 0x10025c46
movups xmm3, xmmword [ebp - 0x9c]
lea ecx, [ebp - 0xb4]
movq xmm1, qword [ebp - 0xa4]
movups xmm2, xmmword [ebp - 0xb4]
movups xmmword [ebp - 0xb4], xmm3
movq xmm0, qword [ebp - 0x8c]
movd eax, xmm3
movq qword [ebp - 0xa4], xmm0
cmp dword [ebp - 0xa0], 0x10
mov dword [ebp - 0xb4], eax
push dword [ebp - 0xa4]
cmovae ecx, eax
movq qword [ebp - 0xf0], xmm1
push ecx
lea ecx, [ebp + 0xc]
movq qword [ebp - 0x8c], xmm1
movups xmmword [ebp - 0x100], xmm2
movups xmmword [ebp - 0x9c], xmm2
call fcn.1001bc30
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x84]
push dword [ebp + 0x1c]
call fcn.1001dd40
mov edx, dword [ebp + 0x20]
lea ecx, [ebp + 0xc]
mov edi, dword [ebp + 0xc]
cmp edx, 0x10
mov eax, dword [ebp + 0x1c]
cmovae ecx, edi
add eax, ecx
cmp edx, 0x10
lea ecx, [ebp + 0xc]
mov esi, eax
cmovae ecx, edi
cmp esi, ecx
je 0x10025dec
mov dl, byte [eax - 1]
mov ecx, dword [ebp - 0x74]
mov edi, dword [ebp - 0x70]
mov byte [ebp - 0x68], dl
cmp ecx, edi
jae 0x10025dcb
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
lea eax, [esi - 1]
mov edx, dword [ebp + 0x20]
mov edi, dword [ebp + 0xc]
jmp 0x10025d83
push dword [ebp - 0x68]
mov byte [ebp - 0x6c], 0
push dword [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x84]
call fcn.1002e810
mov edx, dword [ebp + 0x20]
lea eax, [esi - 1]
mov edi, dword [ebp + 0xc]
jmp 0x10025d83
mov edi, dword [ebp - 0x74]
cmp edi, 5
jbe 0x10025e4b
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x84]
cmovae eax, edx
cmovae ecx, edx
mov al, byte [eax + 5]
mov byte [ebp - 0xcd], al
lea eax, [ebp - 0x84]
cmovae eax, edx
mov dl, byte [ebp - 0xcd]
movzx eax, byte [edi + eax - 5]
mov byte [ecx + 5], al
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x74]
cmovae ecx, dword [ebp - 0x84]
mov byte [eax + ecx - 5], dl
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x10025ea1
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x84]
cmovae eax, edx
cmovae ecx, edx
mov al, byte [eax]
mov byte [ebp - 0xcd], al
lea eax, [ebp - 0x84]
cmovae eax, edx
mov dl, byte [ebp - 0xcd]
movzx eax, byte [edi + eax - 1]
mov byte [ecx], al
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x74]
cmovae ecx, dword [ebp - 0x84]
mov byte [eax + ecx - 1], dl
push ecx
lea ecx, [ebp - 0x84]
call fcn.10042b30
mov esi, dword [ebp - 0xe0]
add esp, 4
mov byte [ebp - 4], 0x16
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 0x19
movups xmm0, xmmword [ebp - 0x84]
mov byte [ebp - 0x84], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x74]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 4], 0x15
mov dword [ebp - 0xe4], 1
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0xec]
cmp edx, 0x10
jb 0x10025f60
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025f56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10025f56
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008270f
add esp, 8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x10025fbf
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025fb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10025fb5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008270f
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xcc]
call fcn.10005a50
mov byte [ebp - 4], 1
mov dword [ebp - 4], 0x2a
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x1002602e
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026024
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10026024
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008270f
add esp, 8
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov eax, esi
jmp 0x100260fd
mov edi, dword [ebp - 0xe0]
push dword [ebp - 0xd4]
call fcn.10082a93
add esp, 4
mov byte [ebp - 4], 2
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0xe4], 1
mov dword [ebp - 4], 6
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x100260db
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100260d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100260d1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008270f
add esp, 8
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov eax, edi
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.100826ce
mov esp, ebp
pop ebp
ret 0x24