Function at 0x4036e0
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x4e34
call fcn.00423530
mov eax, dword [0x4466c0]
xor eax, esp
mov dword [esp + 0x4e30], eax
push ebx
mov ebx, dword [esp + 0x4e3c]
push esi
mov eax, ebx
push edi
xor esi, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403710
sub eax, edx
lea edi, [eax + 1]
push 0x270f
lea eax, [esp + 0x2731]
push esi
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x21], esi
mov byte [esp + 0x2738], cl
call fcn.00422820
push 0x270f
lea ecx, [esp + 0x2d]
push esi
push ecx
mov byte [esp + 0x34], 0
call fcn.00422820
add esp, 0x18
cmp edi, esi
jle 0x403b50
push ebp
jmp 0x40377f
mov ebx, dword [esp + 0x4e48]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
xor edx, edx
cmp esi, edi
mov byte [esp + 0x18], dl
jge 0x403b4f
lea ecx, [ecx]
cmp edx, 4
jge 0x403801
movsx eax, byte [esi + ebx]
lea ecx, [eax - 0x41]
add esi, 1
cmp ecx, 0x19
ja 0x4037b6
mov eax, ecx
cmp eax, 0xfffffffe
je 0x4037fd
cmp eax, 0xffffffff
je 0x4037f5
mov byte [esp + edx + 0x18], al
jmp 0x4037fa
lea ecx, [eax - 0x61]
cmp ecx, 0x19
ja 0x4037c3
add eax, 0xffffffb9
jmp 0x4037a6
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x4037d0
add eax, 4
jmp 0x4037a6
cmp eax, 0x2b
jne 0x4037e0
mov eax, 0x3e
mov byte [esp + edx + 0x18], al
jmp 0x4037fa
cmp eax, 0x2f
jne 0x4037f0
mov eax, 0x3f
mov byte [esp + edx + 0x18], al
jmp 0x4037fa
cmp eax, 0x3d
jne 0x4037fd
mov byte [esp + edx + 0x18], 0x40
add edx, 1
cmp esi, edi
jl 0x403790
cmp edx, 4
mov dword [esp + 0x10], esi
jne 0x403a58
mov edx, esi
add edx, 3
cmp edx, dword [esp + 0x14]
jl 0x403946
mov al, byte [esp + 0x19]
cmp al, 0x40
je 0x403a6b
movsx ebx, al
movsx eax, byte [esp + 0x18]
add eax, eax
mov ecx, ebx
add eax, eax
sar ecx, 4
or eax, ecx
push eax
lea edx, [esp + 0x24]
push 0x43daf0
push edx
call fcn.00420a1d
lea eax, [esp + 0x2c]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403855
lea edi, [esp + 0x2730]
sub eax, esi
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403870
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0x1a]
and ecx, 3
cmp al, 0x40
rep movsb byte es:[edi], byte [esi]
je 0x403ab6
movsx ebp, al
mov eax, ebp
sar eax, 2
shl ebx, 4
or eax, ebx
push eax
lea ecx, [esp + 0x24]
push 0x43daf0
push ecx
call fcn.00420a1d
lea eax, [esp + 0x2c]
add esp, 0xc
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4038c0
lea edi, [esp + 0x2730]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4038d7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0x1b]
and ecx, 3
cmp al, 0x40
rep movsb byte es:[edi], byte [esi]
je 0x403afc
movsx edx, al
shl ebp, 6
or ebp, edx
push ebp
lea eax, [esp + 0x24]
push 0x43daf0
push eax
call fcn.00420a1d
lea eax, [esp + 0x2c]
add esp, 0xc
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403920
lea edi, [esp + 0x2730]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403937
jmp 0x403a4a
movsx ebx, byte [esp + 0x19]
movsx ecx, byte [esp + 0x18]
add ecx, ecx
mov edx, ebx
add ecx, ecx
sar edx, 4
or ecx, edx
push ecx
lea eax, [esp + 0x24]
push 0x43daf0
push eax
call fcn.00420a1d
lea eax, [esp + 0x2c]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403974
lea edi, [esp + 0x2730]
sub eax, esi
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403990
movsx ebp, byte [esp + 0x1a]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
sar ecx, 2
shl ebx, 4
or ecx, ebx
push ecx
lea edx, [esp + 0x24]
push 0x43daf0
push edx
call fcn.00420a1d
lea eax, [esp + 0x2c]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4039d0
lea edi, [esp + 0x2730]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4039e7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
movsx eax, byte [esp + 0x1b]
shl ebp, 6
and ecx, 3
or ebp, eax
push ebp
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push 0x43daf0
push ecx
call fcn.00420a1d
lea eax, [esp + 0x2c]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403a22
lea edi, [esp + 0x2730]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403a40
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x10], edx
jl 0x403770
jmp 0x403b4f
movsx eax, byte [esp + 0x18]
add eax, eax
add eax, eax
push eax
lea ecx, [esp + 0x24]
push 0x43daf0
push ecx
call fcn.00420a1d
lea eax, [esp + 0x2c]
add esp, 0xc
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403a90
lea edi, [esp + 0x2730]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403aa5
mov esi, edx
jmp 0x403b41
movsx edx, byte [esp + 0x19]
shl edx, 4
push edx
lea eax, [esp + 0x24]
push 0x43daf0
push eax
call fcn.00420a1d
lea eax, [esp + 0x2c]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403ad7
lea edi, [esp + 0x2730]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov edi, edi
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403af0
jmp 0x403b41
movsx ecx, byte [esp + 0x1a]
shl ecx, 6
push ecx
lea edx, [esp + 0x24]
push 0x43daf0
push edx
call fcn.00420a1d
lea eax, [esp + 0x2c]
add esp, 0xc
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403b20
lea edi, [esp + 0x2730]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403b37
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop ebp
mov ecx, dword [esp + 0x4e3c]
pop edi
pop esi
pop ebx
xor ecx, esp
lea eax, [esp + 0x2720]
call fcn.00420360
add esp, 0x4e34
ret 4