Function at 0x4023b4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
push ebx
push esi
push edi
lea ebx, [ebp - 0x28]
mov eax, 0x567508
call fcn.0055914c
mov word [ebp - 0x3c], 0xc
lea edx, [ebp - 0x54]
push edx
call fcn.004020f0
pop ecx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebx + 8]
push ecx
call fcn.00402118
add esp, 8
mov eax, 0xf
mov dword [ebx + 0x24], eax
mov byte [ebp - 0x55], 0
cmp dword [ebx + 0x24], 0x10
jb 0x402404
mov edx, dword [ebx + 0x10]
jmp 0x402407
lea edx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add edx, eax
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x5c]
mov cl, byte [ebp - 0x55]
mov byte [edx], cl
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x18
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov word [ebp - 0x3c], 0x18
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp + 0x10]
jae 0x402838
xor edx, edx
mov dword [ebp - 0x64], edx
mov word [ebp - 0x3c], 0x18
mov word [ebp - 0x3c], 0x18
xor eax, eax
mov edx, dword [ebp - 0x60]
add edx, eax
cmp edx, dword [ebp + 0x10]
jae 0x402471
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp + 0xc]
add edx, eax
mov ecx, 2
sub ecx, eax
movsx edx, byte [esi + edx]
shl ecx, 3
shl edx, cl
or dword [ebp - 0x64], edx
inc eax
cmp eax, 3
jb 0x40244c
xor eax, eax
mov dword [ebp - 0x68], eax
mov word [ebp - 0x3c], 0x18
cmp dword [ebp - 0x68], 4
jae 0x402828
mov eax, dword [ebp - 0x60]
xor edx, edx
mov ecx, 3
mov esi, 3
div ecx
mov ecx, eax
mov eax, dword [ebp + 0x10]
add eax, 2
xor edx, edx
div esi
shl ecx, 2
add ecx, dword [ebp - 0x68]
shl eax, 2
cmp ecx, eax
jae 0x402676
mov eax, 3
sub eax, dword [ebp - 0x68]
mov ecx, eax
add ecx, ecx
lea ecx, [ecx + ecx*2]
mov edx, dword [ebp - 0x64]
shr edx, cl
and edx, 0x3f
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dl, byte [eax + edx]
mov byte [ebp - 0x69], dl
or ecx, 0xffffffff
sub ecx, dword [ebx + 0x20]
cmp ecx, 1
ja 0x4024ee
push ebx
call fcn.0054fbec
pop ecx
mov ecx, dword [ebx + 0x20]
lea eax, [ebx + 8]
inc ecx
mov dword [ebp - 0x70], ecx
push eax
mov esi, ecx
call fcn.00402340
pop ecx
mov dword [ebp - 0x74], eax
mov word [ebp - 0x3c], 0x18
cmp dword [ebp - 0x74], 1
ja 0x402517
mov edx, 1
jmp 0x40251b
mov edx, dword [ebp - 0x74]
dec edx
cmp esi, edx
jbe 0x402526
push ebx
call fcn.0054fbec
pop ecx
cmp esi, dword [ebx + 0x24]
jbe 0x4025c2
mov eax, dword [ebx + 0x20]
push eax
push esi
push ebx
call fcn.00402140
add esp, 0xc
jmp 0x4025f6
test esi, esi
jne 0x4025f6
mov byte [ebp - 0x89], 0
cmp dword [ebx + 0x24], 0x10
jb 0x4025d8
mov ecx, dword [ebx + 0x10]
jmp 0x4025db
lea ecx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add ecx, eax
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov cl, byte [ebp - 0x89]
mov byte [edx], cl
test esi, esi
seta cl
and ecx, 1
test cl, cl
je 0x40281b
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x94], eax
cmp dword [ebx + 0x24], 0x10
jb 0x40261a
mov edx, dword [ebx + 0x10]
jmp 0x40261d
lea edx, [ebx + 0x10]
add edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
mov cl, byte [ebp - 0x69]
mov byte [eax], cl
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 0x9d], 0
cmp dword [ebx + 0x24], 0x10
jb 0x40264f
mov eax, dword [ebx + 0x10]
jmp 0x402652
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x9c]
mov dword [ebx + 0x20], edx
add eax, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov cl, byte [ebp - 0x9d]
mov byte [eax], cl
jmp 0x40281b
or ecx, 0xffffffff
sub ecx, dword [ebx + 0x20]
cmp ecx, 1
ja 0x402688
push ebx
call fcn.0054fbec
pop ecx
mov eax, dword [ebx + 0x20]
lea edx, [ebx + 8]
inc eax
mov dword [ebp - 0xa8], eax
push edx
mov esi, eax
call fcn.00402340
pop ecx
mov dword [ebp - 0xac], eax
mov word [ebp - 0x3c], 0x18
cmp dword [ebp - 0xac], 1
ja 0x4026ba
mov ecx, 1
jmp 0x4026c1
mov ecx, dword [ebp - 0xac]
dec ecx
cmp esi, ecx
jbe 0x4026cc
push ebx
call fcn.0054fbec
pop ecx
cmp esi, dword [ebx + 0x24]
jbe 0x402784
mov eax, dword [ebx + 0x20]
push eax
push esi
push ebx
call fcn.00402140
add esp, 0xc
jmp 0x4027b8
test esi, esi
jne 0x4027b8
mov byte [ebp - 0xc1], 0
cmp dword [ebx + 0x24], 0x10
jb 0x40279a
mov ecx, dword [ebx + 0x10]
jmp 0x40279d
lea ecx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add ecx, eax
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
mov cl, byte [ebp - 0xc1]
mov byte [edx], cl
test esi, esi
seta cl
and ecx, 1
test cl, cl
je 0x40281b
mov al, 0x3d
mov edx, dword [ebx + 0x20]
cmp dword [ebx + 0x24], 0x10
jb 0x4027d4
mov esi, dword [ebx + 0x10]
jmp 0x4027d7
lea esi, [ebx + 0x10]
add esi, edx
mov byte [esi], al
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xcd], 0
cmp dword [ebx + 0x24], 0x10
jb 0x4027f9
mov edx, dword [ebx + 0x10]
jmp 0x4027fc
lea edx, [ebx + 0x10]
mov eax, dword [ebp - 0xcc]
mov dword [ebx + 0x20], eax
add edx, eax
mov dword [ebp - 0xd4], edx
mov edx, dword [ebp - 0xd4]
mov cl, byte [ebp - 0xcd]
mov byte [edx], cl
inc dword [ebp - 0x68]
cmp dword [ebp - 0x68], 4
jb 0x40248c
add dword [ebp - 0x60], 3
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp + 0x10]
jb 0x402439
mov word [ebp - 0x3c], 0x54
lea eax, [ebx + 8]
push eax
lea edx, [ebp - 0xdc]
push edx
call fcn.00402118
add esp, 8
lea ecx, [ebp - 0xdc]
push ecx
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.00402118
add esp, 8
mov edx, dword [ebp + 8]
mov eax, 0xf
mov dword [edx + 0x24], eax
mov byte [ebp - 0xdd], 0
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x20], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0x10
jb 0x402892
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
jmp 0x402898
mov eax, dword [ebp + 8]
add eax, 0x10
add ecx, eax
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
mov cl, byte [ebp - 0xdd]
mov byte [edx], cl
cmp dword [ebx + 0x20], 0
jae 0x4028be
mov ecx, dword [ebp + 8]
push ecx
call fcn.0055081c
pop ecx
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0xffffffff
jbe 0x4028da
mov dword [ebp - 0xe8], 0xffffffff
cmp ebx, dword [ebp + 8]
jne 0x402b37
mov dword [ebp - 0xec], 0xffffffff
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
cmp eax, dword [ebp - 0xf0]
jae 0x402911
mov edx, dword [ebp + 8]
push edx
call fcn.0055081c
pop ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
sub eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0xec]
jae 0x402937
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x20]
sub ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0xec], 0
jbe 0x402a23
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
sub edx, dword [ebp - 0xf0]
sub edx, dword [ebp - 0xec]
mov dword [ebp - 0xf4], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], 0x10
jb 0x40296d
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10]
jmp 0x402973
mov edx, dword [ebp + 8]
add edx, 0x10
add edx, dword [ebp - 0xf0]
add edx, dword [ebp - 0xec]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0x10
jb 0x402996
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
jmp 0x40299c
mov ecx, dword [ebp + 8]
add ecx, 0x10
add ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0xf4]
push eax
mov edx, dword [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0xfc]
push ecx
call fcn.00558bed
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
sub edx, dword [ebp - 0xec]
mov dword [ebp - 0x100], edx
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 0x105], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x104]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0x10
jb 0x402a07
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
jmp 0x402a0d
mov eax, dword [ebp + 8]
add eax, 0x10
add edx, eax
mov dword [ebp - 0x10c], edx
mov edx, dword [ebp - 0x10c]
mov cl, byte [ebp - 0x105]
mov byte [edx], cl
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
jae 0x402a3e
mov edx, dword [ebp + 8]
push edx
call fcn.0055081c
pop ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
cmp eax, dword [ebp - 0x110]
jae 0x402a58
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x110], ecx
cmp dword [ebp - 0x110], 0
jbe 0x402d9b
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
sub edx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], 0x10
jb 0x402a88
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10]
jmp 0x402a8e
mov edx, dword [ebp + 8]
add edx, 0x10
add edx, dword [ebp - 0x110]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0x10
jb 0x402aab
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
jmp 0x402ab1
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x114]
push eax
mov edx, dword [ebp - 0x118]
push edx
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.00558bed
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
sub edx, dword [ebp - 0x110]
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x125], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x124]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0x10
jb 0x402b16
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
jmp 0x402b1c
mov eax, dword [ebp + 8]
add eax, 0x10
add edx, eax
mov dword [ebp - 0x12c], edx
mov edx, dword [ebp - 0x12c]
mov cl, byte [ebp - 0x125]
mov byte [edx], cl
jmp 0x402d9b
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.00402340
pop ecx
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 1
ja 0x402b66
mov edx, 1
jmp 0x402b6d
mov edx, dword [ebp - 0x134]
dec edx
cmp edx, dword [ebp - 0x130]
jae 0x402b7f
mov eax, dword [ebp + 8]
push eax
call fcn.0054fbec
pop ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x24]
cmp ecx, dword [ebp - 0x130]
jae 0x402c9b
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
push edx
mov ecx, dword [ebp - 0x130]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00402140
add esp, 0xc
jmp 0x402ce0
cmp dword [ebp - 0x130], 0
jne 0x402ce0
mov byte [ebp - 0x151], 0
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x20], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x24], 0x10
jb 0x402cc4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
jmp 0x402cca
mov edx, dword [ebp + 8]
add edx, 0x10
add eax, edx
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov cl, byte [ebp - 0x151]
mov byte [eax], cl
cmp dword [ebp - 0x130], 0
seta cl
and ecx, 1
test cl, cl
je 0x402d9b
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x15c], eax
cmp dword [ebx + 0x24], 0x10
jb 0x402d0c
mov edx, dword [ebx + 0x10]
jmp 0x402d0f
lea edx, [ebx + 0x10]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0x10
jb 0x402d26
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
jmp 0x402d2c
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x15c]
push eax
mov edx, dword [ebp - 0x160]
push edx
mov ecx, dword [ebp - 0x164]
push ecx
call fcn.00558ab8
add esp, 0xc
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x169], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x168]
mov dword [edx + 0x20], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x24], 0x10
jb 0x402d7f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
jmp 0x402d85
mov edx, dword [ebp + 8]
add edx, 0x10
add eax, edx
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov cl, byte [ebp - 0x169]
mov byte [eax], cl
dec dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0x9c
push eax
dec dword [ebp - 0x30]
cmp dword [ebx + 0x24], 0x10
jb 0x402dd3
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x174], edx
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.00543aac
pop ecx
mov eax, 0xf
mov dword [ebx + 0x24], eax
mov byte [ebp - 0x179], 0
cmp dword [ebx + 0x24], 0x10
jb 0x402ded
mov edx, dword [ebx + 0x10]
jmp 0x402df0
lea edx, [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x20], eax
add edx, eax
mov dword [ebp - 0x180], edx
mov edx, dword [ebp - 0x180]
mov cl, byte [ebp - 0x179]
mov byte [edx], cl
pop eax
mov word [ebp - 0x3c], 0x54
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret