Function at 0x401980
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44abb5
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x461020]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jne 0x4019d4
mov dword [ebx], ecx
mov eax, ebx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
jmp 0x401e37
cmp byte [ebp + 8], 0
je 0x401ad0
push esi
lea ecx, [ebp - 0x30]
call fcn.004017a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
mov esi, dword [ebp - 0x1c]
lea ebx, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
cmp esi, 0x10
push 0xa
cmovae eax, edx
add eax, dword [ebp - 0x20]
cmp esi, 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
cmovae ebx, edx
add ebx, dword [ebp - 0x20]
cmp esi, 0x10
push ebx
cmovae eax, edx
push eax
call fcn.00429e20
mov edi, eax
cmp eax, ebx
je 0x401a3f
inc eax
cmp eax, ebx
je 0x401a3f
nop dword [eax]
mov cl, byte [eax]
cmp cl, 0xa
je 0x401a3a
mov byte [edi], cl
inc edi
inc eax
cmp eax, ebx
jne 0x401a30
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov ebx, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov esi, edi
sub esi, eax
sub ebx, edi
mov edi, dword [ebp - 0x20]
mov eax, edi
sub eax, esi
cmp eax, ebx
cmovb ebx, eax
cmp dword [ebp - 0x1c], 0x10
cmovae ecx, dword [ebp - 0x30]
sub edi, ebx
add ecx, esi
mov eax, edi
sub eax, esi
inc eax
push eax
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.0042cd70
mov esi, dword [ebp - 0x44]
lea edx, [ebp - 0x30]
push 0
mov ecx, esi
mov dword [ebp - 0x20], edi
call fcn.00401540
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
cmp ecx, 0x10
jb 0x401e35
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401ac1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e53
push ecx
push edx
call fcn.0042b48a
add esp, 8
jmp 0x401e35
mov ebx, ecx
xorps xmm0, xmm0
mov eax, ebx
movq qword [ebp - 0x24], xmm0
shr eax, 2
xor edi, edi
xor edx, edx
mov dword [ebp - 0x24], edi
xor ecx, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
lea eax, [eax + eax*2]
mov dword [ebp - 4], 1
test eax, eax
je 0x401b16
cmp eax, 0x7fffffff
ja 0x401e58
push eax
lea ecx, [ebp - 0x24]
call fcn.00402190
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
nop word [eax + eax]
cmp edi, ebx
jae 0x401e27
lea eax, [edi + 1]
cmp dword [esi + 0x10], eax
jbe 0x401e5d
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x401b3e
mov ecx, dword [esi]
mov cl, byte [ecx + eax]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x401b50
movzx ebx, cl
sub ebx, 0x41
jmp 0x401b92
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x401b5f
movzx ebx, cl
sub ebx, 0x47
jmp 0x401b92
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x401b6e
movzx ebx, cl
add ebx, 4
jmp 0x401b92
cmp cl, 0x2b
je 0x401b8d
cmp cl, 0x2d
je 0x401b8d
cmp cl, 0x2f
je 0x401b86
cmp cl, 0x5f
jne 0x401e62
mov ebx, 0x3f
jmp 0x401b92
mov ebx, 0x3e
mov dword [ebp - 0x38], ebx
cmp dword [esi + 0x10], edi
jbe 0x401e7d
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x401ba8
mov eax, dword [esi]
mov al, byte [eax + edi]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x401bba
shl al, 2
sub al, 4
jmp 0x401bf2
lea ecx, [eax - 0x61]
cmp cl, 0x19
ja 0x401bc9
shl al, 2
sub al, 0x1c
jmp 0x401bf2
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x401bd8
add al, 4
shl al, 2
jmp 0x401bf2
cmp al, 0x2b
je 0x401bf0
cmp al, 0x2d
je 0x401bf0
cmp al, 0x2f
je 0x401bec
cmp al, 0x5f
jne 0x401e82
mov al, 0xfc
jmp 0x401bf2
mov al, 0xf8
shr ebx, 4
and bl, 3
add bl, al
mov byte [ebp - 0x31], bl
cmp edx, dword [ebp - 0x1c]
je 0x401c0a
mov byte [edx], bl
inc edx
mov dword [ebp - 0x20], edx
jmp 0x401c1a
lea eax, [ebp - 0x31]
push eax
push edx
lea ecx, [ebp - 0x24]
call fcn.00402250
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x3c]
lea eax, [edi + 2]
cmp eax, ebx
jae 0x401dc6
cmp dword [esi + 0x10], eax
jbe 0x401e9d
mov ecx, dword [esi + 0x14]
mov ebx, esi
cmp ecx, 0x10
jb 0x401c3d
mov ebx, dword [esi]
cmp byte [ebx + eax], 0x3d
je 0x401db5
mov ebx, esi
cmp ecx, 0x10
jb 0x401c50
mov ebx, dword [esi]
cmp byte [ebx + eax], 0x2e
je 0x401db5
mov ebx, esi
cmp ecx, 0x10
jb 0x401c63
mov ebx, dword [esi]
mov cl, byte [eax + ebx]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x401c75
movzx ebx, cl
sub ebx, 0x41
jmp 0x401cb7
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x401c84
movzx ebx, cl
sub ebx, 0x47
jmp 0x401cb7
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x401c93
movzx ebx, cl
add ebx, 4
jmp 0x401cb7
cmp cl, 0x2b
je 0x401cb2
cmp cl, 0x2d
je 0x401cb2
cmp cl, 0x2f
je 0x401cab
cmp cl, 0x5f
jne 0x401ea2
mov ebx, 0x3f
jmp 0x401cb7
mov ebx, 0x3e
mov eax, dword [ebp - 0x38]
mov ecx, ebx
shr ecx, 2
and cl, 0xf
shl al, 4
xor cl, al
mov byte [ebp - 0x31], cl
cmp edx, dword [ebp - 0x1c]
je 0x401cd7
mov byte [edx], cl
inc edx
mov dword [ebp - 0x20], edx
jmp 0x401ce7
lea eax, [ebp - 0x31]
push eax
push edx
lea ecx, [ebp - 0x24]
call fcn.00402250
mov edx, dword [ebp - 0x20]
lea eax, [edi + 3]
cmp eax, dword [ebp - 0x3c]
jae 0x401db5
cmp dword [esi + 0x10], eax
jbe 0x401ebd
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x38], esi
jb 0x401d0d
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
lea eax, [edi + 3]
mov ecx, dword [ebp - 0x38]
cmp byte [ecx + eax], 0x3d
mov ecx, dword [esi + 0x14]
je 0x401dc3
mov dword [ebp - 0x38], esi
cmp ecx, 0x10
jb 0x401d2a
mov ecx, dword [esi]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
cmp byte [ecx + eax], 0x2e
mov ecx, dword [esi + 0x14]
je 0x401db5
mov dword [ebp - 0x38], esi
cmp ecx, 0x10
jb 0x401d42
mov ecx, dword [esi]
jmp 0x401d45
mov ecx, dword [ebp - 0x38]
mov cl, byte [ecx + eax]
lea eax, [ecx - 0x41]
cmp al, 0x19
jbe 0x401d85
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x401d5b
lea eax, [ecx - 0x47]
jmp 0x401d85
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x401d67
lea eax, [ecx + 4]
jmp 0x401d85
cmp cl, 0x2b
je 0x401d83
cmp cl, 0x2d
je 0x401d83
cmp cl, 0x2f
je 0x401d7f
cmp cl, 0x5f
jne 0x401ec2
mov al, 0x3f
jmp 0x401d85
mov al, 0x3e
mov ecx, dword [ebp - 0x1c]
shl bl, 6
add bl, al
mov byte [ebp - 0x31], bl
cmp edx, ecx
je 0x401da5
mov byte [edx], bl
inc edx
mov ebx, dword [ebp - 0x3c]
add edi, 4
mov dword [ebp - 0x20], edx
jmp 0x401b20
lea eax, [ebp - 0x31]
push eax
push edx
lea ecx, [ebp - 0x24]
call fcn.00402250
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add edi, 4
mov ebx, dword [ebp - 0x3c]
jmp 0x401b20
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x1c]
add edi, 4
jmp 0x401b20
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042b459
mov esp, ebp
pop ebp
ret
call fcn.0043042f
call fcn.00402180
call fcn.00401970
push 0x45a8a9
lea ecx, [ebp - 0x58]
call fcn.00401110
push 0x45fce8
lea eax, [ebp - 0x58]
push eax
call fcn.0042cd04
call fcn.00401970
push 0x45a8a9
lea ecx, [ebp - 0x64]
call fcn.00401110
push 0x45fce8
lea eax, [ebp - 0x64]
push eax
call fcn.0042cd04
call fcn.00401970
push 0x45a8a9
lea ecx, [ebp - 0x70]
call fcn.00401110
push 0x45fce8
lea eax, [ebp - 0x70]
push eax
call fcn.0042cd04
call fcn.00401970
push 0x45a8a9
lea ecx, [ebp - 0x7c]
call fcn.00401110
push 0x45fce8
lea eax, [ebp - 0x7c]
push eax
call fcn.0042cd04
call fcn.0043042f
int3