Function at 0x5a7660
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x5c
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push ebx
push esi
xor esi, esi
push edi
cmp edx, eax
jae 0x5a808c
mov ebx, dword [ebp + 0xc]
nop
push eax
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.005a83a0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x1c], edx
test edx, edx
je case.0x5a7c04.7
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jae 0x5a807e
nop dword [eax]
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.005a83a0
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je case.0x5a7c04.7
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
push edi
push dword [ebp - 0x58]
push eax
call fcn.005a83a0
add esp, 0xc
test eax, eax
je case.0x5a7c04.7
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.005a83a0
add esp, 0xc
test eax, eax
je case.0x5a7c04.7
cmp byte [ebp - 0x1e], 0
jne case.0x5a7c04.7
movzx ecx, byte [ebp - 0x1f]
mov dword [ebp - 0x14], ecx
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x5a7c04.7
movzx eax, byte [eax + 0x5a80c8]
jmp dword [eax*4 + 0x5a80a0]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
cmp eax, 1
je 0x5a7739
xor edx, edx
jmp 0x5a7b58
cmp byte [ecx], 0
mov eax, str.TRUE
mov ecx, str.FALSE
cmove eax, ecx
push eax
call dword [0x78e01c]
add esp, 4
mov edx, eax
jmp 0x5a7b58
mov edi, dword [ebp - 0x24]
mov eax, edi
mov edx, dword [ebp - 0x28]
sub eax, edx
jne 0x5a776d
xor edx, edx
jmp 0x5a7b58
cmp eax, 4
jbe 0x5a7783
push edi
push edx
call fcn.005a8480
add esp, 8
mov edx, eax
jmp 0x5a7b58
movsx ecx, byte [edx]
sar ecx, 0x1f
nop dword [eax]
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, edi
jb 0x5a7790
push ecx
cmp ecx, 0xa
mov eax, 0x74c190
mov ecx, 0x742c18
cmovb eax, ecx
push eax
push str._s_lx
call fcn.00586cf0
add esp, 0xc
mov edx, eax
jmp 0x5a7b58
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
inc eax
cmp eax, ecx
jbe 0x5a77d5
xor edx, edx
jmp 0x5a7b58
push ecx
push eax
call fcn.005a8480
add esp, 8
mov edx, eax
jmp 0x5a7b58
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.005a8480
add esp, 8
mov edx, eax
jmp 0x5a7b58
push 0x742c18
call dword [0x78e01c]
add esp, 4
mov edx, eax
jmp 0x5a7b58
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.005a6c40
add esp, 0xc
mov edx, eax
jmp 0x5a7b58
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
mov edx, dword [ebp - 0x24]
cmp ecx, edx
jae 0x5a7840
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x5a7840
inc ecx
cmp ecx, edx
jb 0x5a7833
lea edi, [ebx + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x5a785e
sub eax, 2
je 0x5a7863
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x5a7b5b
mov edi, 0x6e0f28
cmp ecx, edx
jb 0x5a7874
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x5a7b5b
cmp byte [ecx], 0x5a
jne 0x5a7885
mov ecx, 0x6e0f2c
mov edx, 0x6e0f2f
jmp 0x5a7886
inc ecx
push ecx
sub edx, ecx
lea eax, [ebx + 8]
push edx
push edi
push eax
lea eax, [ebx + 6]
push eax
lea eax, [ebx + 4]
push eax
lea eax, [ebx + 2]
push eax
xor eax, eax
cmp byte [ebx], 0x35
push ebx
setl al
add eax, 0x13
push eax
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
call fcn.00586cf0
mov ebx, dword [ebp + 0xc]
add esp, 0x28
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x5a7b5b
mov edi, dword [ebp - 0x28]
mov ecx, edi
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0x742c18
cmp ecx, ebx
jae 0x5a78e5
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x5a78e5
inc ecx
cmp ecx, ebx
jb 0x5a78d8
mov eax, ecx
mov byte [ebp - 2], 0x30
sub eax, edi
sub eax, 0xc
sub eax, 0
je 0x5a791a
sub eax, 1
je 0x5a7912
sub eax, 1
je 0x5a790c
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x5a7b5b
mov al, byte [ecx - 2]
mov byte [ebp - 2], al
mov al, byte [ecx - 1]
mov byte [ebp - 1], al
jmp 0x5a791e
mov byte [ebp - 1], 0x30
xor edx, edx
mov eax, ecx
cmp ecx, ebx
jae 0x5a798b
mov bl, byte [ecx]
mov byte [ebp - 3], bl
cmp bl, 0x2e
mov ebx, dword [ebp - 0xc]
je 0x5a7939
cmp byte [ebp - 3], 0x2c
jne 0x5a796e
inc ecx
nop word [eax + eax]
inc eax
cmp eax, ebx
jae 0x5a7951
mov dl, byte [eax]
cmp dl, 0x30
jl 0x5a7951
cmp dl, 0x39
jle 0x5a7940
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x5a796e
lea edi, [ecx - 1]
add edi, edx
nop
cmp byte [edi], 0x30
jne 0x5a796b
dec edi
sub edx, 1
jne 0x5a7960
mov edi, dword [ebp - 0x28]
cmp eax, ebx
jae 0x5a798b
cmp byte [eax], 0x5a
jne 0x5a7983
mov eax, str._GMT
mov ebx, 0x6e0ef8
jmp 0x5a798b
mov dword [ebp - 0x10], 0x75bcac
inc eax
push eax
sub ebx, eax
test edx, edx
push ebx
push dword [ebp - 0x10]
mov eax, 0x747140
push ecx
push edx
mov ecx, 0x742c18
cmove eax, ecx
push eax
movsx eax, byte [ebp - 1]
push eax
movsx eax, byte [ebp - 2]
push eax
lea eax, [edi + 0xa]
push eax
lea eax, [edi + 8]
push eax
lea eax, [edi + 6]
push eax
lea eax, [edi + 4]
push eax
push edi
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
call fcn.00586cf0
mov ebx, dword [ebp + 0xc]
add esp, 0x38
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x5a7b5b
mov ebx, dword [ebp - 0x24]
add ecx, 0xfffffff4
mov edi, dword [ebp - 0x28]
sub ebx, edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0
cmp ecx, 0x12
ja case.0x5a7a02.13
movzx eax, byte [ecx + 0x5a80f8]
jmp dword [eax*4 + 0x5a80e8]
mov ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x5a7a20
mov ecx, 4
mov dword [ebp - 0x10], ecx
jmp 0x5a7a20
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne case.0x5a7a02.13
mov eax, ebx
div ecx
cmp eax, 0x3fffffff
ja case.0x5a7a02.13
lea eax, [eax*4 + 1]
push eax
call dword [0x78e010]
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je case.0x5a7a02.13
cmp dword [ebp - 0x14], 0xc
jne 0x5a7a7a
test ebx, ebx
je 0x5a7a71
push ebx
push edi
push eax
call fcn.00679930
mov eax, dword [ebp - 8]
add esp, 0xc
mov byte [ebx + eax], 0
jmp 0x5a7b4e
xor ebx, ebx
cmp edi, dword [ebp - 0x24]
jae 0x5a7a71
mov eax, dword [ebp - 0x10]
xor ecx, ecx
sub eax, 2
je 0x5a7a9f
sub eax, 2
jne 0x5a7aa8
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
add edi, 2
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
movzx eax, byte [edi]
mov edx, 1
shl ecx, 8
inc edi
or ecx, eax
mov dword [ebp - 0x14], edi
cmp ecx, 0x80
jb 0x5a7b25
cmp ecx, 0x800
jb 0x5a7b0b
cmp ecx, 0x10000
jb 0x5a7af4
cmp ecx, 0x200000
jae 0x5a7b3c
mov edx, dword [ebp - 8]
mov al, cl
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [ebx + edx + 3], al
mov edx, 2
mov edi, dword [ebp - 8]
mov al, cl
and al, 0x3f
or ecx, 0x20000
or al, 0x80
shr ecx, 6
inc edx
mov byte [ebx + edi + 2], al
mov edi, dword [ebp - 8]
mov al, cl
and al, 0x3f
or ecx, 0x3000
or al, 0x80
shr ecx, 6
inc edx
mov byte [ebx + edi + 1], al
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov byte [ebx + eax], cl
add ebx, edx
cmp edi, dword [ebp - 0x24]
jb 0x5a7a81
mov byte [ebx + eax], 0
jmp 0x5a7b4e
push dword [ebp - 8]
call dword [0x78e014]
add esp, 4
mov eax, dword [ebp - 0xc]
or ebx, 0xffffffff
xor edx, edx
test ebx, ebx
mov ebx, dword [ebp + 0xc]
cmovns edx, eax
mov dword [ebp - 8], edx
test edx, edx
je case.0x5a7c04.7
test esi, esi
je 0x5a7baa
mov al, byte [edx]
mov ecx, edx
cmp al, 0x41
jl 0x5a7b7c
nop
cmp al, 0x5a
ja 0x5a7b8c
mov al, byte [ecx + 1]
inc ecx
cmp al, 0x41
jge 0x5a7b70
test al, al
jne 0x5a7b8c
sub ecx, edx
cmp ecx, 2
mov ecx, 0x6d47b0
jle 0x5a7b91
mov ecx, 0x6d998c
mov edx, dword [ebp + 8]
sub ecx, esi
cmp esi, ebx
jae 0x5a7ba0
mov al, byte [ecx + esi]
mov byte [esi + edx], al
inc esi
cmp byte [ecx + esi], 0
jne 0x5a7b96
mov edx, dword [ebp - 8]
cmp byte [edx], 0
je 0x5a7bca
mov ecx, edx
mov edx, dword [ebp + 8]
sub ecx, esi
cmp esi, ebx
jae 0x5a7bc0
mov al, byte [ecx + esi]
mov byte [esi + edx], al
inc esi
cmp byte [ecx + esi], 0
jne 0x5a7bb6
mov edx, dword [ebp - 8]
push edx
call dword [0x78e014]
add esp, 4
cmp esi, ebx
jae 0x5a7bdf
mov eax, dword [ebp + 8]
mov byte [esi + eax], 0x3d
inc esi
cmp byte [ebp - 0x2e], 0
jne case.0x5a7c04.7
movzx ecx, byte [ebp - 0x2f]
mov dword [ebp - 0x14], ecx
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x5a7c04.7
movzx eax, byte [eax + 0x5a8134]
jmp dword [eax*4 + 0x5a810c]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub eax, ecx
cmp eax, 1
je 0x5a7c1f
xor edx, edx
jmp 0x5a8039
cmp byte [ecx], 0
mov eax, str.TRUE
mov ecx, str.FALSE
cmove eax, ecx
push eax
call dword [0x78e01c]
add esp, 4
mov edx, eax
jmp 0x5a8039
mov edi, dword [ebp - 0x34]
mov eax, edi
mov edx, dword [ebp - 0x38]
sub eax, edx
jne 0x5a7c53
xor edx, edx
jmp 0x5a8039
cmp eax, 4
jbe 0x5a7c69
push edi
push edx
call fcn.005a8480
add esp, 8
mov edx, eax
jmp 0x5a8039
movsx ecx, byte [edx]
sar ecx, 0x1f
nop
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, edi
jb 0x5a7c70
push ecx
cmp ecx, 0xa
mov eax, 0x74c190
mov ecx, 0x742c18
cmovb eax, ecx
push eax
push str._s_lx
call fcn.00586cf0
add esp, 0xc
mov edx, eax
jmp 0x5a8039
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, ecx
jbe 0x5a7cb5
xor edx, edx
jmp 0x5a8039
push ecx
push eax
call fcn.005a8480
add esp, 8
mov edx, eax
jmp 0x5a8039
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.005a8480
add esp, 8
mov edx, eax
jmp 0x5a8039
push 0x742c18
call dword [0x78e01c]
add esp, 4
mov edx, eax
jmp 0x5a8039
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.005a6c40
add esp, 0xc
mov edx, eax
jmp 0x5a8039
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
mov edx, dword [ebp - 0x34]
cmp ecx, edx
jae 0x5a7d20
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x5a7d20
inc ecx
cmp ecx, edx
jb 0x5a7d13
lea edi, [ebx + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x5a7d3e
sub eax, 2
je 0x5a7d43
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x5a803c
mov edi, 0x6e0f28
cmp ecx, edx
jb 0x5a7d54
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x5a803c
cmp byte [ecx], 0x5a
jne 0x5a7d65
mov ecx, 0x6e0f2c
mov edx, 0x6e0f2f
jmp 0x5a7d66
inc ecx
push ecx
sub edx, ecx
lea eax, [ebx + 8]
push edx
push edi
push eax
lea eax, [ebx + 6]
push eax
lea eax, [ebx + 4]
push eax
lea eax, [ebx + 2]
push eax
xor eax, eax
cmp byte [ebx], 0x35
push ebx
setl al
add eax, 0x13
push eax
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
call fcn.00586cf0
mov ebx, dword [ebp + 0xc]
add esp, 0x28
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x5a803c
mov edi, dword [ebp - 0x38]
mov ecx, edi
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x742c18
cmp ecx, ebx
jae 0x5a7dc5
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x5a7dc5
inc ecx
cmp ecx, ebx
jb 0x5a7db8
mov eax, ecx
mov byte [ebp - 1], 0x30
sub eax, edi
sub eax, 0xc
sub eax, 0
je 0x5a7dfa
sub eax, 1
je 0x5a7df2
sub eax, 1
je 0x5a7dec
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x5a803c
mov al, byte [ecx - 2]
mov byte [ebp - 1], al
mov al, byte [ecx - 1]
mov byte [ebp - 2], al
jmp 0x5a7dfe
mov byte [ebp - 2], 0x30
xor edx, edx
mov eax, ecx
cmp ecx, ebx
jae 0x5a7e6b
mov bl, byte [ecx]
mov byte [ebp - 3], bl
cmp bl, 0x2e
mov ebx, dword [ebp - 0x14]
je 0x5a7e19
cmp byte [ebp - 3], 0x2c
jne 0x5a7e4e
inc ecx
nop word [eax + eax]
inc eax
cmp eax, ebx
jae 0x5a7e31
mov dl, byte [eax]
cmp dl, 0x30
jl 0x5a7e31
cmp dl, 0x39
jle 0x5a7e20
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x5a7e4e
lea edi, [ecx - 1]
add edi, edx
nop
cmp byte [edi], 0x30
jne 0x5a7e4b
dec edi
sub edx, 1
jne 0x5a7e40
mov edi, dword [ebp - 0x38]
cmp eax, ebx
jae 0x5a7e6b
cmp byte [eax], 0x5a
jne 0x5a7e63
mov eax, str._GMT
mov ebx, 0x6e0ef8
jmp 0x5a7e6b
mov dword [ebp - 0x10], 0x75bcac
inc eax
push eax
sub ebx, eax
test edx, edx
push ebx
push dword [ebp - 0x10]
mov eax, 0x747140
push ecx
push edx
mov ecx, 0x742c18
cmove eax, ecx
push eax
movsx eax, byte [ebp - 2]
push eax
movsx eax, byte [ebp - 1]
push eax
lea eax, [edi + 0xa]
push eax
lea eax, [edi + 8]
push eax
lea eax, [edi + 6]
push eax
lea eax, [edi + 4]
push eax
push edi
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
call fcn.00586cf0
mov ebx, dword [ebp + 0xc]
add esp, 0x38
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x5a803c
mov ebx, dword [ebp - 0x34]
add ecx, 0xfffffff4
mov edi, dword [ebp - 0x38]
sub ebx, edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0
cmp ecx, 0x12
ja case.0x5a7ee2.13
movzx eax, byte [ecx + 0x5a8164]
jmp dword [eax*4 + 0x5a8154]
mov ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x5a7f00
mov ecx, 4
mov dword [ebp - 0x10], ecx
jmp 0x5a7f00
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne case.0x5a7ee2.13
mov eax, ebx
div ecx
cmp eax, 0x3fffffff
ja case.0x5a7ee2.13
lea eax, [eax*4 + 1]
push eax
call dword [0x78e010]
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je case.0x5a7ee2.13
cmp dword [ebp - 0x14], 0xc
jne 0x5a7f5a
test ebx, ebx
je 0x5a7f51
push ebx
push edi
push eax
call fcn.00679930
mov eax, dword [ebp - 8]
add esp, 0xc
mov byte [ebx + eax], 0
jmp 0x5a802f
xor ebx, ebx
cmp edi, dword [ebp - 0x34]
jae 0x5a7f51
mov ecx, dword [ebp - 0x10]
xor eax, eax
sub ecx, 2
je 0x5a7f7f
sub ecx, 2
jne 0x5a7f88
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
add edi, 2
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
inc edi
movzx ecx, byte [edi]
mov edx, 1
shl eax, 8
inc edi
or eax, ecx
mov dword [ebp - 0x14], edi
cmp eax, 0x80
jb 0x5a8004
cmp eax, 0x800
jb 0x5a7fe9
cmp eax, 0x10000
jb 0x5a7fd1
cmp eax, 0x200000
jae 0x5a801d
mov edx, dword [ebp - 8]
mov cl, al
and cl, 0x3f
or eax, 0x400000
or cl, 0x80
shr eax, 6
mov byte [ebx + edx + 3], cl
mov edx, 2
mov edi, dword [ebp - 8]
mov cl, al
and cl, 0x3f
or eax, 0x20000
or cl, 0x80
shr eax, 6
inc edx
mov byte [ebx + edi + 2], cl
mov edi, dword [ebp - 8]
mov cl, al
and cl, 0x3f
or eax, 0x3000
or cl, 0x80
shr eax, 6
inc edx
mov byte [ebx + edi + 1], cl
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov byte [ebx + ecx], al
add ebx, edx
cmp edi, dword [ebp - 0x34]
jb 0x5a7f61
mov eax, ecx
mov byte [ebx + eax], 0
jmp 0x5a802f
push dword [ebp - 8]
call dword [0x78e014]
add esp, 4
mov eax, dword [ebp - 0xc]
or ebx, 0xffffffff
xor edx, edx
test ebx, ebx
mov ebx, dword [ebp + 0xc]
cmovns edx, eax
mov dword [ebp - 8], edx
test edx, edx
je case.0x5a7c04.7
cmp byte [edx], 0
mov ecx, edx
je 0x5a8063
mov edx, dword [ebp + 8]
nop word [eax + eax]
cmp esi, ebx
jae 0x5a8059
mov al, byte [ecx]
mov byte [esi + edx], al
inc ecx
inc esi
cmp byte [ecx], 0
jne 0x5a8050
mov edx, dword [ebp - 8]
push edx
call dword [0x78e014]
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jb 0x5a76b0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
cmp edx, eax
jb 0x5a7680
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret