Function at 0x100824c5
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 0x10082e5e
mov ebx, dword [ebp + 0xc]
nop
push eax
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.10083180
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x1c], edx
test edx, edx
je case.0x100829d0.7
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jae 0x10082e50
nop dword [eax]
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10083180
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
je case.0x100829d0.7
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
push edi
push dword [ebp - 0x58]
push eax
call fcn.10083180
add esp, 0xc
test eax, eax
je case.0x100829d0.7
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10083180
add esp, 0xc
test eax, eax
je case.0x100829d0.7
cmp byte [ebp - 0x1e], 0
jne case.0x100829d0.7
movzx ecx, byte [ebp - 0x1f]
mov dword [ebp - 0x10], ecx
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x100829d0.7
movzx eax, byte [eax + 0x10082e9c]
jmp dword [eax*4 + 0x10082e74]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
cmp eax, 1
je 0x100824de
xor eax, eax
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x10082916
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 0x10082916
mov edi, dword [ebp - 0x24]
mov eax, edi
mov edx, dword [ebp - 0x28]
sub eax, edx
jne 0x10082518
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x10082916
cmp eax, 4
jbe 0x10082531
push edi
push edx
call fcn.10083260
add esp, 8
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x10082916
movsx ecx, byte [edx]
sar ecx, 0x1f
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, edi
jb 0x10082537
push ecx
cmp ecx, 0xa
mov eax, 0x100c3690
mov ecx, 0x100ba720
cmovb eax, ecx
push eax
push str._s_lx
call fcn.1005ef20
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x10082916
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
inc eax
cmp eax, ecx
jbe 0x10082584
xor eax, eax
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x10082916
push ecx
push eax
call fcn.10083260
add esp, 8
mov dword [ebp - 8], eax
mov edx, eax
jmp 0x10082916
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.10083260
add esp, 8
mov edx, eax
jmp 0x10082913
push 0x100ba720
call dword [0x100dcd80]
add esp, 4
mov edx, eax
jmp 0x10082913
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.10081a10
add esp, 0xc
mov edx, eax
jmp 0x10082913
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
mov edx, dword [ebp - 0x24]
cmp ecx, edx
jae 0x100825f2
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x100825f2
inc ecx
cmp ecx, edx
jb 0x100825e5
lea edi, [ebx + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x10082610
sub eax, 2
je 0x10082615
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10082916
mov edi, 0x100c36d0
cmp ecx, edx
jb 0x10082626
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10082916
cmp byte [ecx], 0x5a
jne 0x10082637
mov ecx, 0x100c36d4
mov edx, 0x100c36d7
jmp 0x10082638
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.1005ef20
mov ebx, dword [ebp + 0xc]
add esp, 0x28
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x10082916
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 0x1008269d
nop word [eax + eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x1008269d
inc ecx
cmp ecx, ebx
jb 0x10082690
mov eax, ecx
mov byte [ebp - 2], 0x30
sub eax, edi
sub eax, 0xc
sub eax, 0
je 0x100826d2
sub eax, 1
je 0x100826ca
sub eax, 1
je 0x100826c4
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10082916
mov al, byte [ecx - 2]
mov byte [ebp - 2], al
mov al, byte [ecx - 1]
mov byte [ebp - 1], al
jmp 0x100826d6
mov byte [ebp - 1], 0x30
xor edx, edx
mov eax, ecx
cmp ecx, ebx
jae 0x1008273c
mov bl, byte [ecx]
mov byte [ebp - 3], bl
cmp bl, 0x2e
mov ebx, dword [ebp - 0x10]
je 0x100826f1
cmp byte [ebp - 3], 0x2c
jne 0x1008271f
inc ecx
inc eax
cmp eax, ebx
jae 0x10082703
mov dl, byte [eax]
cmp dl, 0x30
jl 0x10082703
cmp dl, 0x39
jle 0x100826f2
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x1008271f
lea edi, [ecx - 1]
add edi, edx
cmp byte [edi], 0x30
jne 0x1008271c
dec edi
sub edx, 1
jne 0x10082711
mov edi, dword [ebp - 0x28]
cmp eax, ebx
jae 0x1008273c
cmp byte [eax], 0x5a
jne 0x10082734
mov eax, str._GMT
mov ebx, 0x100c36a0
jmp 0x1008273c
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.1005ef20
mov ebx, dword [ebp + 0xc]
add esp, 0x38
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x10082916
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.0x100827b3.13
movzx eax, byte [ecx + 0x10082ecc]
jmp dword [eax*4 + 0x10082ebc]
mov ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x100827d1
mov ecx, 4
mov dword [ebp - 0xc], ecx
jmp 0x100827d1
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne case.0x100827b3.13
mov eax, ebx
div ecx
cmp eax, 0x3fffffff
ja case.0x100827b3.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.0x100827b3.13
cmp dword [ebp - 0x10], 0xc
jne 0x1008282f
test ebx, ebx
je 0x10082824
push ebx
push edi
push edx
call fcn.1008ddb0
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov byte [ebx + edx], 0
mov eax, edx
jmp 0x10082909
xor ebx, ebx
cmp edi, dword [ebp - 0x24]
jae 0x10082824
mov eax, dword [ebp - 0xc]
xor ecx, ecx
sub eax, 2
je 0x10082854
sub eax, 2
jne 0x1008285d
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 0x100828e2
cmp ecx, 0x800
jb 0x100828c8
cmp ecx, 0x10000
jb 0x100828ab
cmp ecx, 0x200000
jae 0x100828f9
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 0x100828b4
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 0x100828ca
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 0x100828e4
add edx, ebx
add ebx, eax
mov byte [edx], cl
cmp edi, dword [ebp - 0x24]
jae 0x10082821
mov edx, dword [ebp - 0x14]
jmp 0x10082836
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.0x100829d0.7
test esi, esi
je 0x10082976
movsx eax, byte [edx]
mov edi, edx
push eax
call fcn.10097f40
add esp, 4
test eax, eax
je 0x10082946
movsx eax, byte [edi + 1]
inc edi
push eax
call fcn.10097f40
add esp, 4
test eax, eax
jne 0x10082934
cmp byte [edi], 0
jne 0x10082958
sub edi, dword [ebp - 8]
mov ecx, 0x100bcc3c
cmp edi, 2
jle 0x1008295d
mov ecx, 0x100ba6f4
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]
cmp byte [edx], 0
je 0x10082996
mov ecx, edx
mov edx, dword [ebp + 8]
sub ecx, esi
cmp esi, ebx
jae 0x1008298c
mov al, byte [ecx + esi]
mov byte [esi + edx], al
inc esi
cmp byte [ecx + esi], 0
jne 0x10082982
mov edx, dword [ebp - 8]
push edx
call dword [0x100dcd78]
add esp, 4
cmp esi, ebx
jae 0x100829ab
mov eax, dword [ebp + 8]
mov byte [esi + eax], 0x3d
inc esi
cmp byte [ebp - 0x2e], 0
jne case.0x100829d0.7
movzx ecx, byte [ebp - 0x2f]
mov dword [ebp - 0x14], ecx
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x100829d0.7
movzx eax, byte [eax + 0x10082f08]
jmp dword [eax*4 + 0x10082ee0]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub eax, ecx
cmp eax, 1
je 0x100829eb
xor edx, edx
jmp 0x10082e11
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 0x10082e11
mov edi, dword [ebp - 0x34]
mov eax, edi
mov edx, dword [ebp - 0x38]
sub eax, edx
jne 0x10082a1f
xor edx, edx
jmp 0x10082e11
cmp eax, 4
jbe 0x10082a35
push edi
push edx
call fcn.10083260
add esp, 8
mov edx, eax
jmp 0x10082e11
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 0x10082a40
push ecx
cmp ecx, 0xa
mov eax, 0x100c3690
mov ecx, 0x100ba720
cmovb eax, ecx
push eax
push str._s_lx
call fcn.1005ef20
add esp, 0xc
mov edx, eax
jmp 0x10082e11
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
inc eax
cmp eax, ecx
jbe 0x10082a85
xor edx, edx
jmp 0x10082e11
push ecx
push eax
call fcn.10083260
add esp, 8
mov edx, eax
jmp 0x10082e11
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.10083260
add esp, 8
mov edx, eax
jmp 0x10082e11
push 0x100ba720
call dword [0x100dcd80]
add esp, 4
mov edx, eax
jmp 0x10082e11
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.10081a10
add esp, 0xc
mov edx, eax
jmp 0x10082e11
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
mov edx, dword [ebp - 0x34]
cmp ecx, edx
jae 0x10082af0
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x10082af0
inc ecx
cmp ecx, edx
jb 0x10082ae3
lea edi, [ebx + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x10082b0e
sub eax, 2
je 0x10082b13
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10082e14
mov edi, 0x100c36d0
cmp ecx, edx
jb 0x10082b24
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10082e14
cmp byte [ecx], 0x5a
jne 0x10082b35
mov ecx, 0x100c36d4
mov edx, 0x100c36d7
jmp 0x10082b36
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.1005ef20
mov ebx, dword [ebp + 0xc]
add esp, 0x28
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x10082e14
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 0x10082b95
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x10082b95
inc ecx
cmp ecx, ebx
jb 0x10082b88
mov eax, ecx
mov byte [ebp - 1], 0x30
sub eax, edi
sub eax, 0xc
sub eax, 0
je 0x10082bca
sub eax, 1
je 0x10082bc2
sub eax, 1
je 0x10082bbc
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x10082e14
mov al, byte [ecx - 2]
mov byte [ebp - 1], al
mov al, byte [ecx - 1]
mov byte [ebp - 2], al
jmp 0x10082bce
mov byte [ebp - 2], 0x30
xor edx, edx
mov eax, ecx
cmp ecx, ebx
jae 0x10082c3b
mov bl, byte [ecx]
mov byte [ebp - 3], bl
cmp bl, 0x2e
mov ebx, dword [ebp - 0x10]
je 0x10082be9
cmp byte [ebp - 3], 0x2c
jne 0x10082c1e
inc ecx
nop word [eax + eax]
inc eax
cmp eax, ebx
jae 0x10082c01
mov dl, byte [eax]
cmp dl, 0x30
jl 0x10082c01
cmp dl, 0x39
jle 0x10082bf0
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x10082c1e
lea edi, [ecx - 1]
add edi, edx
nop
cmp byte [edi], 0x30
jne 0x10082c1b
dec edi
sub edx, 1
jne 0x10082c10
mov edi, dword [ebp - 0x38]
cmp eax, ebx
jae 0x10082c3b
cmp byte [eax], 0x5a
jne 0x10082c33
mov eax, str._GMT
mov ebx, 0x100c36a0
jmp 0x10082c3b
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.1005ef20
mov ebx, dword [ebp + 0xc]
add esp, 0x38
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x10082e14
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.0x10082cb2.13
movzx eax, byte [ecx + 0x10082f38]
jmp dword [eax*4 + 0x10082f28]
mov ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x10082cd0
mov ecx, 4
mov dword [ebp - 0xc], ecx
jmp 0x10082cd0
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
jne case.0x10082cb2.13
mov eax, ebx
div ecx
cmp eax, 0x3fffffff
ja case.0x10082cb2.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.0x10082cb2.13
cmp dword [ebp - 0x14], 0xc
jne 0x10082d2e
test ebx, ebx
je 0x10082d23
push ebx
push edi
push edx
call fcn.1008ddb0
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov byte [ebx + edx], 0
mov eax, edx
jmp 0x10082e07
xor ebx, ebx
cmp edi, dword [ebp - 0x34]
jae 0x10082d23
mov ecx, dword [ebp - 0xc]
xor eax, eax
sub ecx, 2
je 0x10082d53
sub ecx, 2
jne 0x10082d5c
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 0x10082de0
cmp eax, 0x800
jb 0x10082dc5
cmp eax, 0x10000
jb 0x10082da7
cmp eax, 0x200000
jae 0x10082df7
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 0x10082db0
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 0x10082dc7
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 0x10082de2
add edx, ebx
add ebx, ecx
mov byte [edx], al
cmp edi, dword [ebp - 0x34]
jae 0x10082d20
mov edx, dword [ebp - 0x10]
jmp 0x10082d35
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.0x100829d0.7
cmp byte [edx], 0
mov ecx, edx
je 0x10082e35
mov edx, dword [ebp + 8]
cmp esi, ebx
jae 0x10082e2b
mov al, byte [ecx]
mov byte [esi + edx], al
inc ecx
inc esi
cmp byte [ecx], 0
jne 0x10082e22
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 0x10082450
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
cmp edx, eax
jb 0x10082420
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