Function at 0x9d6990
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 0x9d73ce
mov ebx, dword [ebp + 0xc]
nop
push eax
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.009d76f0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x1c], edx
test edx, edx
je case.0x9d6f44.7
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jae 0x9d73c0
nop dword [eax]
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.009d76f0
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je case.0x9d6f44.7
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
push edi
push dword [ebp - 0x58]
push eax
call fcn.009d76f0
add esp, 0xc
test eax, eax
je case.0x9d6f44.7
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.009d76f0
add esp, 0xc
test eax, eax
je case.0x9d6f44.7
cmp byte [ebp - 0x1e], 0
jne case.0x9d6f44.7
movzx ecx, byte [ebp - 0x1f]
mov dword [ebp - 0x10], ecx
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x9d6f44.7
movzx eax, byte [eax + 0x9d740c]
jmp dword [eax*4 + 0x9d73e4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
cmp eax, 1
je 0x9d6a69
xor edx, edx
jmp 0x9d6e92
cmp byte [ecx], 0
mov eax, str.TRUE
mov ecx, str.FALSE
cmove eax, ecx
push eax
call dword [0xa59104]
add esp, 4
mov edx, eax
jmp 0x9d6e92
mov edi, dword [ebp - 0x24]
mov eax, edi
mov edx, dword [ebp - 0x28]
sub eax, edx
jne 0x9d6a9d
xor edx, edx
jmp 0x9d6e92
cmp eax, 4
jbe 0x9d6ab3
push edi
push edx
call fcn.009d77d0
add esp, 8
mov edx, eax
jmp 0x9d6e92
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 0x9d6ac0
push ecx
cmp ecx, 0xa
mov eax, 0xa40ecc
mov ecx, 0xa1d8e4
cmovb eax, ecx
push eax
push str._s_x
call fcn.009acd70
add esp, 0xc
mov edx, eax
jmp 0x9d6e92
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
inc eax
cmp eax, ecx
jbe 0x9d6b05
xor edx, edx
jmp 0x9d6e92
push ecx
push eax
call fcn.009d77d0
add esp, 8
mov edx, eax
jmp 0x9d6e92
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.009d77d0
add esp, 8
mov edx, eax
jmp 0x9d6e92
push 0xa1d8e4
call dword [0xa59104]
add esp, 4
mov edx, eax
jmp 0x9d6e92
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.009d5f10
add esp, 0xc
mov edx, eax
jmp 0x9d6e92
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
mov edx, dword [ebp - 0x24]
cmp ecx, edx
jae 0x9d6b70
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x9d6b70
inc ecx
cmp ecx, edx
jb 0x9d6b63
lea edi, [ebx + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x9d6b8e
sub eax, 2
je 0x9d6b93
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x9d6e95
mov edi, 0xa1dc6c
cmp ecx, edx
jb 0x9d6ba4
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x9d6e95
cmp byte [ecx], 0x5a
jne 0x9d6bb5
mov ecx, 0xa40f0c
mov edx, 0xa40f0f
jmp 0x9d6bb6
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.009acd70
mov ebx, dword [ebp + 0xc]
add esp, 0x28
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x9d6e95
mov edi, dword [ebp - 0x28]
mov ecx, edi
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0xa1d8e4
cmp ecx, ebx
jae 0x9d6c15
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x9d6c15
inc ecx
cmp ecx, ebx
jb 0x9d6c08
mov eax, ecx
mov byte [ebp - 2], 0x30
sub eax, edi
sub eax, 0xc
sub eax, 0
je 0x9d6c4a
sub eax, 1
je 0x9d6c42
sub eax, 1
je 0x9d6c3c
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x9d6e95
mov al, byte [ecx - 2]
mov byte [ebp - 2], al
mov al, byte [ecx - 1]
mov byte [ebp - 1], al
jmp 0x9d6c4e
mov byte [ebp - 1], 0x30
xor edx, edx
mov eax, ecx
cmp ecx, ebx
jae 0x9d6cbb
mov bl, byte [ecx]
mov byte [ebp - 3], bl
cmp bl, 0x2e
mov ebx, dword [ebp - 0x10]
je 0x9d6c69
cmp byte [ebp - 3], 0x2c
jne 0x9d6c9e
inc ecx
nop word [eax + eax]
inc eax
cmp eax, ebx
jae 0x9d6c81
mov dl, byte [eax]
cmp dl, 0x30
jl 0x9d6c81
cmp dl, 0x39
jle 0x9d6c70
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x9d6c9e
lea edi, [ecx - 1]
add edi, edx
nop
cmp byte [edi], 0x30
jne 0x9d6c9b
dec edi
sub edx, 1
jne 0x9d6c90
mov edi, dword [ebp - 0x28]
cmp eax, ebx
jae 0x9d6cbb
cmp byte [eax], 0x5a
jne 0x9d6cb3
mov eax, str._GMT
mov ebx, 0xa40edc
jmp 0x9d6cbb
mov dword [ebp - 0x14], 0xa34c10
inc eax
push eax
sub ebx, eax
test edx, edx
push ebx
push dword [ebp - 0x14]
mov eax, 0xa352b8
push ecx
push edx
mov ecx, 0xa1d8e4
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.009acd70
mov ebx, dword [ebp + 0xc]
add esp, 0x38
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x9d6e95
mov ebx, dword [ebp - 0x24]
add ecx, 0xfffffff4
mov edi, dword [ebp - 0x28]
sub ebx, edi
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
cmp ecx, 0x12
ja case.0x9d6d32.13
movzx eax, byte [ecx + 0x9d743c]
jmp dword [eax*4 + 0x9d742c]
mov ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x9d6d50
mov ecx, 4
mov dword [ebp - 0xc], ecx
jmp 0x9d6d50
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne case.0x9d6d32.13
mov eax, ebx
div ecx
cmp eax, 0x3fffffff
ja case.0x9d6d32.13
lea eax, [eax*4 + 1]
push eax
call dword [0xa590f8]
mov edx, eax
add esp, 4
mov dword [ebp - 0x14], edx
test edx, edx
je case.0x9d6d32.13
cmp dword [ebp - 0x10], 0xc
jne 0x9d6dae
test ebx, ebx
je 0x9d6da3
push ebx
push edi
push edx
call fcn.009dcc80
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov byte [ebx + edx], 0
mov eax, edx
jmp 0x9d6e88
xor ebx, ebx
cmp edi, dword [ebp - 0x24]
jae 0x9d6da3
mov eax, dword [ebp - 0xc]
xor ecx, ecx
sub eax, 2
je 0x9d6dd3
sub eax, 2
jne 0x9d6ddc
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]
inc edi
shl ecx, 8
or ecx, eax
mov eax, 1
mov dword [ebp - 0x10], eax
cmp ecx, 0x80
jb 0x9d6e61
cmp ecx, 0x800
jb 0x9d6e47
cmp ecx, 0x10000
jb 0x9d6e2a
cmp ecx, 0x200000
jae 0x9d6e78
mov al, cl
mov dword [ebp - 0x10], 3
add edx, ebx
and al, 0x3f
or al, 0x80
or ecx, 0x400000
shr ecx, 6
mov byte [edx + 3], al
jmp 0x9d6e33
add edx, ebx
mov dword [ebp - 0x10], 2
mov al, cl
or ecx, 0x20000
and al, 0x3f
or al, 0x80
shr ecx, 6
mov byte [edx + 2], al
jmp 0x9d6e49
add edx, ebx
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
mov byte [edx + 1], al
mov eax, dword [ebp - 0x10]
inc eax
jmp 0x9d6e63
add edx, ebx
add ebx, eax
mov byte [edx], cl
cmp edi, dword [ebp - 0x24]
jae 0x9d6da0
mov edx, dword [ebp - 0x14]
jmp 0x9d6db5
push edx
call dword [0xa590fc]
add esp, 4
mov eax, dword [ebp - 8]
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.0x9d6f44.7
test esi, esi
je 0x9d6eea
mov al, byte [edx]
mov ecx, edx
cmp al, 0x41
jl 0x9d6ebc
nop dword [eax]
cmp al, 0x5a
ja 0x9d6ecc
mov al, byte [ecx + 1]
inc ecx
cmp al, 0x41
jge 0x9d6eb0
test al, al
jne 0x9d6ecc
sub ecx, edx
cmp ecx, 2
mov ecx, 0xa3dfbc
jle 0x9d6ed1
mov ecx, 0xa3157c
mov edx, dword [ebp + 8]
sub ecx, esi
cmp esi, ebx
jae 0x9d6ee0
mov al, byte [ecx + esi]
mov byte [esi + edx], al
inc esi
cmp byte [ecx + esi], 0
jne 0x9d6ed6
mov edx, dword [ebp - 8]
cmp byte [edx], 0
je 0x9d6f0a
mov ecx, edx
mov edx, dword [ebp + 8]
sub ecx, esi
cmp esi, ebx
jae 0x9d6f00
mov al, byte [ecx + esi]
mov byte [esi + edx], al
inc esi
cmp byte [ecx + esi], 0
jne 0x9d6ef6
mov edx, dword [ebp - 8]
push edx
call dword [0xa590fc]
add esp, 4
cmp esi, ebx
jae 0x9d6f1f
mov eax, dword [ebp + 8]
mov byte [esi + eax], 0x3d
inc esi
cmp byte [ebp - 0x2e], 0
jne case.0x9d6f44.7
movzx ecx, byte [ebp - 0x2f]
mov dword [ebp - 0x14], ecx
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x9d6f44.7
movzx eax, byte [eax + 0x9d7478]
jmp dword [eax*4 + 0x9d7450]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub eax, ecx
cmp eax, 1
je 0x9d6f5f
xor edx, edx
jmp 0x9d7381
cmp byte [ecx], 0
mov eax, str.TRUE
mov ecx, str.FALSE
cmove eax, ecx
push eax
call dword [0xa59104]
add esp, 4
mov edx, eax
jmp 0x9d7381
mov edi, dword [ebp - 0x34]
mov eax, edi
mov edx, dword [ebp - 0x38]
sub eax, edx
jne 0x9d6f93
xor edx, edx
jmp 0x9d7381
cmp eax, 4
jbe 0x9d6fa9
push edi
push edx
call fcn.009d77d0
add esp, 8
mov edx, eax
jmp 0x9d7381
movsx ecx, byte [edx]
sar ecx, 0x1f
nop
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, edi
jb 0x9d6fb0
push ecx
cmp ecx, 0xa
mov eax, 0xa40ecc
mov ecx, 0xa1d8e4
cmovb eax, ecx
push eax
push str._s_x
call fcn.009acd70
add esp, 0xc
mov edx, eax
jmp 0x9d7381
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, ecx
jbe 0x9d6ff5
xor edx, edx
jmp 0x9d7381
push ecx
push eax
call fcn.009d77d0
add esp, 8
mov edx, eax
jmp 0x9d7381
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.009d77d0
add esp, 8
mov edx, eax
jmp 0x9d7381
push 0xa1d8e4
call dword [0xa59104]
add esp, 4
mov edx, eax
jmp 0x9d7381
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.009d5f10
add esp, 0xc
mov edx, eax
jmp 0x9d7381
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
mov edx, dword [ebp - 0x34]
cmp ecx, edx
jae 0x9d7060
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x9d7060
inc ecx
cmp ecx, edx
jb 0x9d7053
lea edi, [ebx + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x9d707e
sub eax, 2
je 0x9d7083
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x9d7384
mov edi, 0xa1dc6c
cmp ecx, edx
jb 0x9d7094
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x9d7384
cmp byte [ecx], 0x5a
jne 0x9d70a5
mov ecx, 0xa40f0c
mov edx, 0xa40f0f
jmp 0x9d70a6
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.009acd70
mov ebx, dword [ebp + 0xc]
add esp, 0x28
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x9d7384
mov edi, dword [ebp - 0x38]
mov ecx, edi
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0xa1d8e4
cmp ecx, ebx
jae 0x9d7105
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x9d7105
inc ecx
cmp ecx, ebx
jb 0x9d70f8
mov eax, ecx
mov byte [ebp - 1], 0x30
sub eax, edi
sub eax, 0xc
sub eax, 0
je 0x9d713a
sub eax, 1
je 0x9d7132
sub eax, 1
je 0x9d712c
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x9d7384
mov al, byte [ecx - 2]
mov byte [ebp - 1], al
mov al, byte [ecx - 1]
mov byte [ebp - 2], al
jmp 0x9d713e
mov byte [ebp - 2], 0x30
xor edx, edx
mov eax, ecx
cmp ecx, ebx
jae 0x9d71ab
mov bl, byte [ecx]
mov byte [ebp - 3], bl
cmp bl, 0x2e
mov ebx, dword [ebp - 0x10]
je 0x9d7159
cmp byte [ebp - 3], 0x2c
jne 0x9d718e
inc ecx
nop word [eax + eax]
inc eax
cmp eax, ebx
jae 0x9d7171
mov dl, byte [eax]
cmp dl, 0x30
jl 0x9d7171
cmp dl, 0x39
jle 0x9d7160
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x9d718e
lea edi, [ecx - 1]
add edi, edx
nop
cmp byte [edi], 0x30
jne 0x9d718b
dec edi
sub edx, 1
jne 0x9d7180
mov edi, dword [ebp - 0x38]
cmp eax, ebx
jae 0x9d71ab
cmp byte [eax], 0x5a
jne 0x9d71a3
mov eax, str._GMT
mov ebx, 0xa40edc
jmp 0x9d71ab
mov dword [ebp - 0x14], 0xa34c10
inc eax
push eax
sub ebx, eax
test edx, edx
push ebx
push dword [ebp - 0x14]
mov eax, 0xa352b8
push ecx
push edx
mov ecx, 0xa1d8e4
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.009acd70
mov ebx, dword [ebp + 0xc]
add esp, 0x38
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x9d7384
mov ebx, dword [ebp - 0x34]
add ecx, 0xfffffff4
mov edi, dword [ebp - 0x38]
sub ebx, edi
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
cmp ecx, 0x12
ja case.0x9d7222.13
movzx eax, byte [ecx + 0x9d74a8]
jmp dword [eax*4 + 0x9d7498]
mov ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x9d7240
mov ecx, 4
mov dword [ebp - 0xc], ecx
jmp 0x9d7240
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne case.0x9d7222.13
mov eax, ebx
div ecx
cmp eax, 0x3fffffff
ja case.0x9d7222.13
lea eax, [eax*4 + 1]
push eax
call dword [0xa590f8]
mov edx, eax
add esp, 4
mov dword [ebp - 0x10], edx
test edx, edx
je case.0x9d7222.13
cmp dword [ebp - 0x14], 0xc
jne 0x9d729e
test ebx, ebx
je 0x9d7293
push ebx
push edi
push edx
call fcn.009dcc80
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov byte [ebx + edx], 0
mov eax, edx
jmp 0x9d7377
xor ebx, ebx
cmp edi, dword [ebp - 0x34]
jae 0x9d7293
mov ecx, dword [ebp - 0xc]
xor eax, eax
sub ecx, 2
je 0x9d72c3
sub ecx, 2
jne 0x9d72cc
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]
inc edi
shl eax, 8
or eax, ecx
mov ecx, 1
mov dword [ebp - 0x14], ecx
cmp eax, 0x80
jb 0x9d7350
cmp eax, 0x800
jb 0x9d7335
cmp eax, 0x10000
jb 0x9d7317
cmp eax, 0x200000
jae 0x9d7367
mov cl, al
mov dword [ebp - 0x14], 3
add edx, ebx
and cl, 0x3f
or cl, 0x80
or eax, 0x400000
shr eax, 6
mov byte [edx + 3], cl
jmp 0x9d7320
add edx, ebx
mov dword [ebp - 0x14], 2
mov cl, al
or eax, 0x20000
and cl, 0x3f
or cl, 0x80
shr eax, 6
mov byte [edx + 2], cl
jmp 0x9d7337
add edx, ebx
mov cl, al
or eax, 0x3000
and cl, 0x3f
shr eax, 6
or cl, 0x80
mov byte [edx + 1], cl
mov ecx, dword [ebp - 0x14]
inc ecx
jmp 0x9d7352
add edx, ebx
add ebx, ecx
mov byte [edx], al
cmp edi, dword [ebp - 0x34]
jae 0x9d7290
mov edx, dword [ebp - 0x10]
jmp 0x9d72a5
push edx
call dword [0xa590fc]
add esp, 4
mov eax, dword [ebp - 8]
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.0x9d6f44.7
cmp byte [edx], 0
mov ecx, edx
je 0x9d73a5
mov edx, dword [ebp + 8]
cmp esi, ebx
jae 0x9d739b
mov al, byte [ecx]
mov byte [esi + edx], al
inc ecx
inc esi
cmp byte [ecx], 0
jne 0x9d7392
mov edx, dword [ebp - 8]
push edx
call dword [0xa590fc]
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jb 0x9d69e0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
cmp edx, eax
jb 0x9d69b0
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