Function at 0x100824a5
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 0x10082e3e
mov ebx, dword [ebp + 0xc]
nop
push eax
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.10083160
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x1c], edx
test edx, edx
je case.0x100829b0.7
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jae 0x10082e30
nop dword [eax]
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10083160
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je case.0x100829b0.7
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
push edi
push dword [ebp - 0x58]
push eax
call fcn.10083160
add esp, 0xc
test eax, eax
je case.0x100829b0.7
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10083160
add esp, 0xc
test eax, eax
je case.0x100829b0.7
cmp byte [ebp - 0x1e], 0
jne case.0x100829b0.7
movzx ecx, byte [ebp - 0x1f]
mov dword [ebp - 0x10], ecx
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x100829b0.7
movzx eax, byte [eax + 0x10082e7c]
jmp dword [eax*4 + 0x10082e54]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
cmp eax, 1
je 0x100824be
xor eax, eax
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x100828f6
cmp byte [ecx], 0
mov eax, str.TRUE
mov ecx, str.FALSE
cmove eax, ecx
push eax
call dword [0x100dcd80]
add esp, 4
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x100828f6
mov edi, dword [ebp - 0x24]
mov eax, edi
mov edx, dword [ebp - 0x28]
sub eax, edx
jne 0x100824f8
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x100828f6
cmp eax, 4
jbe 0x10082511
push edi
push edx
call fcn.10083240
add esp, 8
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x100828f6
movsx ecx, byte [edx]
sar ecx, 0x1f
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, edi
jb 0x10082517
push ecx
cmp ecx, 0xa
mov eax, 0x100c3690
mov ecx, 0x100ba720
cmovb eax, ecx
push eax
push str._s_lx
call fcn.1005ef00
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x100828f6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
inc eax
cmp eax, ecx
jbe 0x10082564
xor eax, eax
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x100828f6
push ecx
push eax
call fcn.10083240
add esp, 8
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x100828f6
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.10083240
add esp, 8
mov edx, eax
jmp 0x100828f3
push 0x100ba720
call dword [0x100dcd80]
add esp, 4
mov edx, eax
jmp 0x100828f3
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.100819f0
add esp, 0xc
mov edx, eax
jmp 0x100828f3
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
mov edx, dword [ebp - 0x24]
cmp ecx, edx
jae 0x100825d2
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x100825d2
inc ecx
cmp ecx, edx
jb 0x100825c5
lea edi, [ebx + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x100825f0
sub eax, 2
je 0x100825f5
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x100828f6
mov edi, 0x100c36d0
cmp ecx, edx
jb 0x10082606
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x100828f6
cmp byte [ecx], 0x5a
jne 0x10082617
mov ecx, 0x100c36d4
mov edx, 0x100c36d7
jmp 0x10082618
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.1005ef00
mov ebx, dword [ebp + 0xc]
add esp, 0x28
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x100828f6
mov edi, dword [ebp - 0x28]
mov ecx, edi
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0x100ba720
cmp ecx, ebx
jae 0x1008267d
nop word [eax + eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x1008267d
inc ecx
cmp ecx, ebx
jb 0x10082670
mov eax, ecx
mov byte [ebp - 2], 0x30
sub eax, edi
sub eax, 0xc
sub eax, 0
je 0x100826b2
sub eax, 1
je 0x100826aa
sub eax, 1
je 0x100826a4
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x100828f6
mov al, byte [ecx - 2]
mov byte [ebp - 2], al
mov al, byte [ecx - 1]
mov byte [ebp - 1], al
jmp 0x100826b6
mov byte [ebp - 1], 0x30
xor edx, edx
mov eax, ecx
cmp ecx, ebx
jae 0x1008271c
mov bl, byte [ecx]
mov byte [ebp - 3], bl
cmp bl, 0x2e
mov ebx, dword [ebp - 0x10]
je 0x100826d1
cmp byte [ebp - 3], 0x2c
jne 0x100826ff
inc ecx
inc eax
cmp eax, ebx
jae 0x100826e3
mov dl, byte [eax]
cmp dl, 0x30
jl 0x100826e3
cmp dl, 0x39
jle 0x100826d2
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x100826ff
lea edi, [ecx - 1]
add edi, edx
cmp byte [edi], 0x30
jne 0x100826fc
dec edi
sub edx, 1
jne 0x100826f1
mov edi, dword [ebp - 0x28]
cmp eax, ebx
jae 0x1008271c
cmp byte [eax], 0x5a
jne 0x10082714
mov eax, str._GMT
mov ebx, 0x100c36a0
jmp 0x1008271c
mov dword [ebp - 0x14], 0x100bca48
inc eax
push eax
sub ebx, eax
test edx, edx
push ebx
push dword [ebp - 0x14]
mov eax, 0x100bad14
push ecx
push edx
mov ecx, 0x100ba720
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.1005ef00
mov ebx, dword [ebp + 0xc]
add esp, 0x38
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x100828f6
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.0x10082793.13
movzx eax, byte [ecx + 0x10082eac]
jmp dword [eax*4 + 0x10082e9c]
mov ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x100827b1
mov ecx, 4
mov dword [ebp - 0xc], ecx
jmp 0x100827b1
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne case.0x10082793.13
mov eax, ebx
div ecx
cmp eax, 0x3fffffff
ja case.0x10082793.13
lea eax, [eax*4 + 1]
push eax
call dword [0x100dcd74]
mov edx, eax
add esp, 4
mov dword [ebp - 0x14], edx
test edx, edx
je case.0x10082793.13
cmp dword [ebp - 0x10], 0xc
jne 0x1008280f
test ebx, ebx
je 0x10082804
push ebx
push edi
push edx
call fcn.1008dd90
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov byte [ebx + edx], 0
mov eax, edx
jmp 0x100828e9
xor ebx, ebx
cmp edi, dword [ebp - 0x24]
jae 0x10082804
mov eax, dword [ebp - 0xc]
xor ecx, ecx
sub eax, 2
je 0x10082834
sub eax, 2
jne 0x1008283d
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 0x100828c2
cmp ecx, 0x800
jb 0x100828a8
cmp ecx, 0x10000
jb 0x1008288b
cmp ecx, 0x200000
jae 0x100828d9
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 0x10082894
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 0x100828aa
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 0x100828c4
add edx, ebx
add ebx, eax
mov byte [edx], cl
cmp edi, dword [ebp - 0x24]
jae 0x10082801
mov edx, dword [ebp - 0x14]
jmp 0x10082816
push edx
call dword [0x100dcd78]
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.0x100829b0.7
test esi, esi
je 0x10082956
movsx eax, byte [edx]
mov edi, edx
push eax
call fcn.10097f20
add esp, 4
test eax, eax
je 0x10082926
movsx eax, byte [edi + 1]
inc edi
push eax
call fcn.10097f20
add esp, 4
test eax, eax
jne 0x10082914
cmp byte [edi], 0
jne 0x10082938
sub edi, dword [ebp - 8]
mov ecx, 0x100bcc3c
cmp edi, 2
jle 0x1008293d
mov ecx, 0x100ba6f4
mov edx, dword [ebp + 8]
sub ecx, esi
cmp esi, ebx
jae 0x1008294c
mov al, byte [ecx + esi]
mov byte [esi + edx], al
inc esi
cmp byte [ecx + esi], 0
jne 0x10082942
mov edx, dword [ebp - 8]
cmp byte [edx], 0
je 0x10082976
mov ecx, edx
mov edx, dword [ebp + 8]
sub ecx, esi
cmp esi, ebx
jae 0x1008296c
mov al, byte [ecx + esi]
mov byte [esi + edx], al
inc esi
cmp byte [ecx + esi], 0
jne 0x10082962
mov edx, dword [ebp - 8]
push edx
call dword [0x100dcd78]
add esp, 4
cmp esi, ebx
jae 0x1008298b
mov eax, dword [ebp + 8]
mov byte [esi + eax], 0x3d
inc esi
cmp byte [ebp - 0x2e], 0
jne case.0x100829b0.7
movzx ecx, byte [ebp - 0x2f]
mov dword [ebp - 0x14], ecx
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x100829b0.7
movzx eax, byte [eax + 0x10082ee8]
jmp dword [eax*4 + 0x10082ec0]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub eax, ecx
cmp eax, 1
je 0x100829cb
xor edx, edx
jmp 0x10082df1
cmp byte [ecx], 0
mov eax, str.TRUE
mov ecx, str.FALSE
cmove eax, ecx
push eax
call dword [0x100dcd80]
add esp, 4
mov edx, eax
jmp 0x10082df1
mov edi, dword [ebp - 0x34]
mov eax, edi
mov edx, dword [ebp - 0x38]
sub eax, edx
jne 0x100829ff
xor edx, edx
jmp 0x10082df1
cmp eax, 4
jbe 0x10082a15
push edi
push edx
call fcn.10083240
add esp, 8
mov edx, eax
jmp 0x10082df1
movsx ecx, byte [edx]
sar ecx, 0x1f
nop dword [eax + eax]
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, edi
jb 0x10082a20
push ecx
cmp ecx, 0xa
mov eax, 0x100c3690
mov ecx, 0x100ba720
cmovb eax, ecx
push eax
push str._s_lx
call fcn.1005ef00
add esp, 0xc
mov edx, eax
jmp 0x10082df1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, ecx
jbe 0x10082a65
xor edx, edx
jmp 0x10082df1
push ecx
push eax
call fcn.10083240
add esp, 8
mov edx, eax
jmp 0x10082df1
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.10083240
add esp, 8
mov edx, eax
jmp 0x10082df1
push 0x100ba720
call dword [0x100dcd80]
add esp, 4
mov edx, eax
jmp 0x10082df1
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.100819f0
add esp, 0xc
mov edx, eax
jmp 0x10082df1
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
mov edx, dword [ebp - 0x34]
cmp ecx, edx
jae 0x10082ad0
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x10082ad0
inc ecx
cmp ecx, edx
jb 0x10082ac3
lea edi, [ebx + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x10082aee
sub eax, 2
je 0x10082af3
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10082df4
mov edi, 0x100c36d0
cmp ecx, edx
jb 0x10082b04
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10082df4
cmp byte [ecx], 0x5a
jne 0x10082b15
mov ecx, 0x100c36d4
mov edx, 0x100c36d7
jmp 0x10082b16
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.1005ef00
mov ebx, dword [ebp + 0xc]
add esp, 0x28
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x10082df4
mov edi, dword [ebp - 0x38]
mov ecx, edi
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0x100ba720
cmp ecx, ebx
jae 0x10082b75
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x10082b75
inc ecx
cmp ecx, ebx
jb 0x10082b68
mov eax, ecx
mov byte [ebp - 1], 0x30
sub eax, edi
sub eax, 0xc
sub eax, 0
je 0x10082baa
sub eax, 1
je 0x10082ba2
sub eax, 1
je 0x10082b9c
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10082df4
mov al, byte [ecx - 2]
mov byte [ebp - 1], al
mov al, byte [ecx - 1]
mov byte [ebp - 2], al
jmp 0x10082bae
mov byte [ebp - 2], 0x30
xor edx, edx
mov eax, ecx
cmp ecx, ebx
jae 0x10082c1b
mov bl, byte [ecx]
mov byte [ebp - 3], bl
cmp bl, 0x2e
mov ebx, dword [ebp - 0x10]
je 0x10082bc9
cmp byte [ebp - 3], 0x2c
jne 0x10082bfe
inc ecx
nop word [eax + eax]
inc eax
cmp eax, ebx
jae 0x10082be1
mov dl, byte [eax]
cmp dl, 0x30
jl 0x10082be1
cmp dl, 0x39
jle 0x10082bd0
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x10082bfe
lea edi, [ecx - 1]
add edi, edx
nop
cmp byte [edi], 0x30
jne 0x10082bfb
dec edi
sub edx, 1
jne 0x10082bf0
mov edi, dword [ebp - 0x38]
cmp eax, ebx
jae 0x10082c1b
cmp byte [eax], 0x5a
jne 0x10082c13
mov eax, str._GMT
mov ebx, 0x100c36a0
jmp 0x10082c1b
mov dword [ebp - 0x14], 0x100bca48
inc eax
push eax
sub ebx, eax
test edx, edx
push ebx
push dword [ebp - 0x14]
mov eax, 0x100bad14
push ecx
push edx
mov ecx, 0x100ba720
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.1005ef00
mov ebx, dword [ebp + 0xc]
add esp, 0x38
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x10082df4
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.0x10082c92.13
movzx eax, byte [ecx + 0x10082f18]
jmp dword [eax*4 + 0x10082f08]
mov ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x10082cb0
mov ecx, 4
mov dword [ebp - 0xc], ecx
jmp 0x10082cb0
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne case.0x10082c92.13
mov eax, ebx
div ecx
cmp eax, 0x3fffffff
ja case.0x10082c92.13
lea eax, [eax*4 + 1]
push eax
call dword [0x100dcd74]
mov edx, eax
add esp, 4
mov dword [ebp - 0x10], edx
test edx, edx
je case.0x10082c92.13
cmp dword [ebp - 0x14], 0xc
jne 0x10082d0e
test ebx, ebx
je 0x10082d03
push ebx
push edi
push edx
call fcn.1008dd90
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov byte [ebx + edx], 0
mov eax, edx
jmp 0x10082de7
xor ebx, ebx
cmp edi, dword [ebp - 0x34]
jae 0x10082d03
mov ecx, dword [ebp - 0xc]
xor eax, eax
sub ecx, 2
je 0x10082d33
sub ecx, 2
jne 0x10082d3c
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 0x10082dc0
cmp eax, 0x800
jb 0x10082da5
cmp eax, 0x10000
jb 0x10082d87
cmp eax, 0x200000
jae 0x10082dd7
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 0x10082d90
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 0x10082da7
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 0x10082dc2
add edx, ebx
add ebx, ecx
mov byte [edx], al
cmp edi, dword [ebp - 0x34]
jae 0x10082d00
mov edx, dword [ebp - 0x10]
jmp 0x10082d15
push edx
call dword [0x100dcd78]
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.0x100829b0.7
cmp byte [edx], 0
mov ecx, edx
je 0x10082e15
mov edx, dword [ebp + 8]
cmp esi, ebx
jae 0x10082e0b
mov al, byte [ecx]
mov byte [esi + edx], al
inc ecx
inc esi
cmp byte [ecx], 0
jne 0x10082e02
mov edx, dword [ebp - 8]
push edx
call dword [0x100dcd78]
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jb 0x10082430
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
cmp edx, eax
jb 0x10082400
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