Function at 0x404a00
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [0x42067c]
sub esp, 0x10
mov ecx, dword [eax + 0x22c]
push ebx
push ebp
xor ebp, ebp
push esi
cmp ecx, ebp
push edi
jne 0x404fa7
mov esi, dword [eax + 0x1c]
inc esi
mov dword [eax + 0x1c], esi
mov eax, dword [0x42067c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x18
jge 0x404a4f
mov dword [eax + ecx*4 + 0x20], 0x4b
mov eax, dword [0x42067c]
cmp dword [eax + 0x240], ebp
je 0x404a4f
call fcn.004031a0
mov eax, dword [0x42067c]
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x404f95
cmp ecx, 0x100
ja 0x404f95
cmp dword [eax + 0x8c], ebp
jne 0x404a75
push 0x12
jmp 0x404f97
mov edi, dword [esp + 0x24]
xor esi, esi
push edi
mov dword [esp + 0x18], esi
call fcn.00403d70
push edi
push 1
mov dword [esp + 0x28], eax
call fcn.00403d90
mov ebx, dword [edi]
mov eax, dword [0x42067c]
add esp, 0xc
cmp ebx, ebp
mov ecx, 0x3c
jne 0x404afc
cmp dword [eax + 4], ecx
ja 0x404afc
cmp dword [eax + 0x84], ebp
jne 0x404abe
mov eax, dword [esp + 0x28]
mov byte [eax], 0x30
mov byte [eax + 1], 0
jmp 0x404ae3
mov eax, dword [eax + 0x94]
push eax
push 0x30
call fcn.004097b5
mov ecx, dword [0x42067c]
mov edx, dword [ecx + 0x94]
push edx
push 0xa
call fcn.004097b5
add esp, 0x10
mov eax, dword [0x42067c]
pop edi
pop esi
pop ebp
mov ecx, dword [eax + 0x1c]
pop ebx
dec ecx
mov dword [eax + 0x1c], ecx
mov eax, 1
add esp, 0x10
ret
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
cmp edx, 0xffffffff
jne 0x404b3e
cmp dword [eax + 4], ecx
ja 0x404b3e
cmp dword [eax + 0x84], ebp
jne 0x404b1f
mov eax, dword [esp + 0x28]
mov byte [eax], 0x2d
jmp 0x404b30
mov ecx, dword [eax + 0x94]
push ecx
push 0x2d
call fcn.004097b5
add esp, 8
mov eax, dword [0x42067c]
mov esi, 1
mov dword [esp + 0x14], esi
mov edx, dword [eax + 0x1ec]
mov dword [esp + 0x18], ebp
push edx
push edi
call fcn.00404420
mov eax, dword [0x42067c]
add esp, 8
cmp dword [eax + 0x23c], ebp
je 0x404c9d
mov eax, dword [eax + 0x1e8]
push eax
push edi
call fcn.00404520
mov ecx, dword [0x42067c]
mov edx, dword [ecx + 0x1e8]
push edx
call fcn.004041c0
add esp, 0xc
cmp eax, 1
jle 0x404c98
mov edi, ebx
and edi, 0xffff
shr ebx, 0x10
cmp edi, ebp
jne 0x404ba2
mov edi, 1
mov eax, dword [0x42067c]
cmp ebx, edi
mov dword [eax + 0x80], ebp
jge 0x404bce
mov ecx, dword [0x42067c]
mov edx, edi
sub edx, ebx
mov eax, dword [ecx + 0x1e8]
push eax
push edx
push eax
call fcn.00404050
add esp, 0xc
cmp ebx, edi
jle 0x404bea
mov eax, dword [0x42067c]
mov ecx, ebx
sub ecx, edi
mov eax, dword [eax + 0x1ec]
push eax
push ecx
push eax
call fcn.00404050
add esp, 0xc
mov eax, dword [0x42067c]
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1e8]
mov eax, dword [eax + 0x1ec]
push edx
push eax
call fcn.00404200
add esp, 8
test eax, eax
jl 0x404c0d
dec esi
mov eax, dword [0x42067c]
mov ecx, dword [eax + 0x1d4]
mov edx, dword [eax + 0x1ec]
push ecx
push edx
call fcn.00403fc0
mov eax, dword [0x42067c]
add esp, 8
mov ecx, dword [eax + 0x1d4]
mov eax, dword [eax + 0x18]
shl eax, 1
mov edx, dword [ecx]
lea ebp, [edx + esi]
cmp ebp, eax
jle 0x404c45
sub eax, edx
mov esi, eax
push ecx
push esi
push ecx
call fcn.00404050
mov eax, dword [0x42067c]
mov ecx, dword [eax + 0x1ec]
mov edx, dword [eax + 0x1e8]
mov eax, dword [eax + 0x1d4]
push ecx
push edx
push eax
call fcn.00405090
mov ecx, dword [0x42067c]
sub esi, edi
add esi, ebx
add esp, 0x18
mov dword [ecx + 0x80], 1
mov eax, dword [0x42067c]
imul esi, dword [eax + 8]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
xor ebp, ebp
jmp 0x404c9d
mov eax, dword [0x42067c]
mov edx, dword [eax + 0x1ec]
mov edi, dword [esp + 0x10]
push edx
call fcn.00403e60
add esp, 4
cmp edi, eax
mov dword [esp + 0x14], eax
jle 0x404cba
mov eax, edi
cmp eax, ebp
mov edi, eax
jle 0x404e2e
mov ecx, dword [0x42067c]
mov eax, dword [ecx + 0x84]
cmp eax, ebp
jne 0x404cf3
mov edx, dword [esp + 0x28]
mov ebx, dword [ecx + 0x220]
cmp edx, ebx
jne 0x404cf3
mov edx, dword [ecx + 0x224]
sub edx, 5
cmp esi, edx
jge 0x404ec7
cmp edi, dword [esp + 0x10]
jne 0x404d25
cmp dword [ecx + 4], 0x3c
ja 0x404d25
cmp eax, ebp
jne 0x404d0d
mov eax, dword [esp + 0x28]
mov byte [esi + eax], 0x2e
jmp 0x404d1e
mov ecx, dword [ecx + 0x94]
push ecx
push 0x2e
call fcn.004097b5
add esp, 8
mov ecx, dword [0x42067c]
inc esi
cmp edi, dword [esp + 0x14]
jle 0x404d35
mov ebx, 0x30
jmp 0x404dd3
mov edx, dword [ecx + 0x1ec]
push edi
push edx
call fcn.00403e00
mov ebx, eax
mov eax, dword [0x42067c]
push edi
mov dword [eax + 0x80], ebp
mov ecx, dword [0x42067c]
mov edx, dword [ecx + 0x1ec]
push edx
push ebp
call fcn.00403eb0
mov eax, dword [0x42067c]
add esp, 0x14
mov dword [eax + 0x80], 1
mov ecx, dword [0x42067c]
mov eax, dword [ecx + 4]
cmp eax, 0x3c
ja 0x404d96
add ebx, 0x30
cmp ebx, 0x3a
jl 0x404d8e
add ebx, 7
cmp ebx, 0x5b
jl 0x404d96
add ebx, 6
cmp eax, 0x40
jne 0x404dd3
cmp ebx, 0x1a
jge 0x404da8
add ebx, 0x41
cmp ebx, 0x1a
jl 0x404db0
cmp ebx, 0x34
jge 0x404db5
add ebx, 0x47
cmp ebx, 0x34
jl 0x404dbd
cmp ebx, 0x3e
jge 0x404dc0
sub ebx, 4
cmp ebx, 0x3e
jne 0x404dc9
mov ebx, 0x2b
jmp 0x404dd3
cmp ebx, 0x3f
jne 0x404dd3
mov ebx, 0x2f
cmp edi, dword [esp + 0x10]
jge 0x404dfd
cmp dword [ecx + 4], 0x3c
ja 0x404dfd
cmp ebx, 0x30
jne 0x404dfd
mov ecx, dword [ecx + 0x1ec]
push ecx
call fcn.004041c0
add esp, 4
test eax, eax
je 0x404e2e
mov ecx, dword [0x42067c]
cmp dword [ecx + 0x84], ebp
jne 0x404e0e
mov edx, dword [esp + 0x28]
mov byte [esi + edx], bl
jmp 0x404e24
mov eax, dword [ecx + 0x94]
and ebx, 0xff
push eax
push ebx
call fcn.004097b5
add esp, 8
inc esi
dec edi
cmp edi, ebp
jg 0x404cc4
cmp dword [esp + 0x18], ebp
jne 0x404ee7
mov ecx, dword [0x42067c]
cmp dword [ecx + 0x23c], ebp
jne 0x404eed
mov ecx, dword [ecx + 0x1ec]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.00404520
mov eax, dword [0x42067c]
mov ecx, dword [eax + 0x1ec]
push ecx
call fcn.004041c0
add esp, 0xc
cmp eax, 1
je 0x404ee7
mov eax, dword [0x42067c]
cmp dword [eax + 4], 0x3c
ja 0x404eba
cmp dword [eax + 0x84], ebp
jne 0x404ea3
mov edx, dword [esp + 0x28]
inc esi
mov dword [esp + 0x18], 1
mov byte [esi + edx - 1], 0x2f
mov eax, dword [0x42067c]
jmp 0x404c9d
mov eax, dword [eax + 0x94]
push eax
push 0x2f
call fcn.004097b5
mov eax, dword [0x42067c]
add esp, 8
inc esi
mov dword [esp + 0x18], 1
jmp 0x404c9d
push 0x11
call fcn.00402f60
mov eax, dword [0x42067c]
add esp, 4
mov ecx, dword [eax + 0x1c]
pop edi
dec ecx
mov dword [eax + 0x1c], ecx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [0x42067c]
cmp dword [ecx + 4], 0x40
jne 0x404f3b
mov eax, esi
mov edi, 3
cdq
idiv edi
test edx, edx
je 0x404f3b
mov edi, dword [esp + 0x28]
mov eax, dword [ecx + 0x84]
test eax, eax
jne 0x404f15
mov byte [esi + edi], 0x3d
jmp 0x404f26
mov ecx, dword [ecx + 0x94]
push ecx
push 0x3d
call fcn.004097b5
add esp, 8
inc esi
mov ecx, 3
mov eax, esi
cdq
idiv ecx
mov ecx, dword [0x42067c]
test edx, edx
jne 0x404f05
mov eax, dword [ecx + 0x84]
test eax, eax
jne 0x404f4f
mov edx, dword [esp + 0x28]
mov byte [esi + edx], 0
jmp 0x404f6d
mov eax, dword [ecx + 4]
cmp eax, 0x3c
jbe 0x404f5c
cmp eax, 0x40
jne 0x404f6d
mov eax, dword [ecx + 0x94]
push eax
push 0xa
call fcn.004097b5
add esp, 8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.00403d90
mov eax, dword [0x42067c]
add esp, 8
mov ecx, dword [eax + 0x1c]
pop edi
dec ecx
mov dword [eax + 0x1c], ecx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 1
call fcn.00402f60
mov eax, dword [0x42067c]
add esp, 4
dec dword [eax + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret