Function at 0x430080
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [0x4611a8]
sub esp, 0x10
mov ecx, dword [eax + 0x22c]
push ebx
push ebp
xor ebp, ebp
push esi
cmp ecx, ebp
push edi
jne 0x430627
mov esi, dword [eax + 0x1c]
inc esi
mov dword [eax + 0x1c], esi
mov eax, dword [0x4611a8]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x18
jge 0x4300cf
mov dword [eax + ecx*4 + 0x20], 0x4b
mov eax, dword [0x4611a8]
cmp dword [eax + 0x240], ebp
je 0x4300cf
call fcn.0042d260
mov eax, dword [0x4611a8]
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x430615
cmp ecx, 0x100
ja 0x430615
cmp dword [eax + 0x8c], ebp
jne 0x4300f5
push 0x12
jmp 0x430617
mov edi, dword [esp + 0x24]
xor esi, esi
push edi
mov dword [esp + 0x18], esi
call fcn.0042de50
push edi
push 1
mov dword [esp + 0x28], eax
call fcn.0042de70
mov ebx, dword [edi]
mov eax, dword [0x4611a8]
add esp, 0xc
cmp ebx, ebp
mov ecx, 0x3c
jne 0x43017c
cmp dword [eax + 4], ecx
ja 0x43017c
cmp dword [eax + 0x84], ebp
jne 0x43013e
mov eax, dword [esp + 0x28]
mov byte [eax], 0x30
mov byte [eax + 1], 0
jmp 0x430163
mov eax, dword [eax + 0x94]
push eax
push 0x30
call fcn.004351fb
mov ecx, dword [0x4611a8]
mov edx, dword [ecx + 0x94]
push edx
push 0xa
call fcn.004351fb
add esp, 0x10
mov eax, dword [0x4611a8]
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 0x4301be
cmp dword [eax + 4], ecx
ja 0x4301be
cmp dword [eax + 0x84], ebp
jne 0x43019f
mov eax, dword [esp + 0x28]
mov byte [eax], 0x2d
jmp 0x4301b0
mov ecx, dword [eax + 0x94]
push ecx
push 0x2d
call fcn.004351fb
add esp, 8
mov eax, dword [0x4611a8]
mov esi, 1
mov dword [esp + 0x14], esi
mov edx, dword [eax + 0x1ec]
mov dword [esp + 0x18], ebp
push edx
push edi
call fcn.0042e530
mov eax, dword [0x4611a8]
add esp, 8
cmp dword [eax + 0x23c], ebp
je 0x43031d
mov eax, dword [eax + 0x1e8]
push eax
push edi
call fcn.0042e630
mov ecx, dword [0x4611a8]
mov edx, dword [ecx + 0x1e8]
push edx
call fcn.0042e2d0
add esp, 0xc
cmp eax, 1
jle 0x430318
mov edi, ebx
and edi, 0xffff
shr ebx, 0x10
cmp edi, ebp
jne 0x430222
mov edi, 1
mov eax, dword [0x4611a8]
cmp ebx, edi
mov dword [eax + 0x80], ebp
jge 0x43024e
mov ecx, dword [0x4611a8]
mov edx, edi
sub edx, ebx
mov eax, dword [ecx + 0x1e8]
push eax
push edx
push eax
call fcn.0042e160
add esp, 0xc
cmp ebx, edi
jle 0x43026a
mov eax, dword [0x4611a8]
mov ecx, ebx
sub ecx, edi
mov eax, dword [eax + 0x1ec]
push eax
push ecx
push eax
call fcn.0042e160
add esp, 0xc
mov eax, dword [0x4611a8]
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1e8]
mov eax, dword [eax + 0x1ec]
push edx
push eax
call fcn.0042e310
add esp, 8
test eax, eax
jl 0x43028d
dec esi
mov eax, dword [0x4611a8]
mov ecx, dword [eax + 0x1d4]
mov edx, dword [eax + 0x1ec]
push ecx
push edx
call fcn.0042e0a0
mov eax, dword [0x4611a8]
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 0x4302c5
sub eax, edx
mov esi, eax
push ecx
push esi
push ecx
call fcn.0042e160
mov eax, dword [0x4611a8]
mov ecx, dword [eax + 0x1ec]
mov edx, dword [eax + 0x1e8]
mov eax, dword [eax + 0x1d4]
push ecx
push edx
push eax
call fcn.004312d0
mov ecx, dword [0x4611a8]
sub esi, edi
add esi, ebx
add esp, 0x18
mov dword [ecx + 0x80], 1
mov eax, dword [0x4611a8]
imul esi, dword [eax + 8]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
xor ebp, ebp
jmp 0x43031d
mov eax, dword [0x4611a8]
mov edx, dword [eax + 0x1ec]
mov edi, dword [esp + 0x10]
push edx
call fcn.0042df40
add esp, 4
cmp edi, eax
mov dword [esp + 0x14], eax
jle 0x43033a
mov eax, edi
cmp eax, ebp
mov edi, eax
jle 0x4304ae
mov ecx, dword [0x4611a8]
mov eax, dword [ecx + 0x84]
cmp eax, ebp
jne 0x430373
mov edx, dword [esp + 0x28]
mov ebx, dword [ecx + 0x220]
cmp edx, ebx
jne 0x430373
mov edx, dword [ecx + 0x224]
sub edx, 5
cmp esi, edx
jge 0x430547
cmp edi, dword [esp + 0x10]
jne 0x4303a5
cmp dword [ecx + 4], 0x3c
ja 0x4303a5
cmp eax, ebp
jne 0x43038d
mov eax, dword [esp + 0x28]
mov byte [esi + eax], 0x2e
jmp 0x43039e
mov ecx, dword [ecx + 0x94]
push ecx
push 0x2e
call fcn.004351fb
add esp, 8
mov ecx, dword [0x4611a8]
inc esi
cmp edi, dword [esp + 0x14]
jle 0x4303b5
mov ebx, 0x30
jmp 0x430453
mov edx, dword [ecx + 0x1ec]
push edi
push edx
call fcn.0042dee0
mov ebx, eax
mov eax, dword [0x4611a8]
push edi
mov dword [eax + 0x80], ebp
mov ecx, dword [0x4611a8]
mov edx, dword [ecx + 0x1ec]
push edx
push ebp
call fcn.0042df90
mov eax, dword [0x4611a8]
add esp, 0x14
mov dword [eax + 0x80], 1
mov ecx, dword [0x4611a8]
mov eax, dword [ecx + 4]
cmp eax, 0x3c
ja 0x430416
add ebx, 0x30
cmp ebx, 0x3a
jl 0x43040e
add ebx, 7
cmp ebx, 0x5b
jl 0x430416
add ebx, 6
cmp eax, 0x40
jne 0x430453
cmp ebx, 0x1a
jge 0x430428
add ebx, 0x41
cmp ebx, 0x1a
jl 0x430430
cmp ebx, 0x34
jge 0x430435
add ebx, 0x47
cmp ebx, 0x34
jl 0x43043d
cmp ebx, 0x3e
jge 0x430440
sub ebx, 4
cmp ebx, 0x3e
jne 0x430449
mov ebx, 0x2b
jmp 0x430453
cmp ebx, 0x3f
jne 0x430453
mov ebx, 0x2f
cmp edi, dword [esp + 0x10]
jge 0x43047d
cmp dword [ecx + 4], 0x3c
ja 0x43047d
cmp ebx, 0x30
jne 0x43047d
mov ecx, dword [ecx + 0x1ec]
push ecx
call fcn.0042e2d0
add esp, 4
test eax, eax
je 0x4304ae
mov ecx, dword [0x4611a8]
cmp dword [ecx + 0x84], ebp
jne 0x43048e
mov edx, dword [esp + 0x28]
mov byte [esi + edx], bl
jmp 0x4304a4
mov eax, dword [ecx + 0x94]
and ebx, 0xff
push eax
push ebx
call fcn.004351fb
add esp, 8
inc esi
dec edi
cmp edi, ebp
jg 0x430344
cmp dword [esp + 0x18], ebp
jne 0x430567
mov ecx, dword [0x4611a8]
cmp dword [ecx + 0x23c], ebp
jne 0x43056d
mov ecx, dword [ecx + 0x1ec]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.0042e630
mov eax, dword [0x4611a8]
mov ecx, dword [eax + 0x1ec]
push ecx
call fcn.0042e2d0
add esp, 0xc
cmp eax, 1
je 0x430567
mov eax, dword [0x4611a8]
cmp dword [eax + 4], 0x3c
ja 0x43053a
cmp dword [eax + 0x84], ebp
jne 0x430523
mov edx, dword [esp + 0x28]
inc esi
mov dword [esp + 0x18], 1
mov byte [esi + edx - 1], 0x2f
mov eax, dword [0x4611a8]
jmp 0x43031d
mov eax, dword [eax + 0x94]
push eax
push 0x2f
call fcn.004351fb
mov eax, dword [0x4611a8]
add esp, 8
inc esi
mov dword [esp + 0x18], 1
jmp 0x43031d
push 0x11
call fcn.0042d020
mov eax, dword [0x4611a8]
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 [0x4611a8]
cmp dword [ecx + 4], 0x40
jne 0x4305bb
mov eax, esi
mov edi, 3
cdq
idiv edi
test edx, edx
je 0x4305bb
mov edi, dword [esp + 0x28]
mov eax, dword [ecx + 0x84]
test eax, eax
jne 0x430595
mov byte [esi + edi], 0x3d
jmp 0x4305a6
mov ecx, dword [ecx + 0x94]
push ecx
push 0x3d
call fcn.004351fb
add esp, 8
inc esi
mov ecx, 3
mov eax, esi
cdq
idiv ecx
mov ecx, dword [0x4611a8]
test edx, edx
jne 0x430585
mov eax, dword [ecx + 0x84]
test eax, eax
jne 0x4305cf
mov edx, dword [esp + 0x28]
mov byte [esi + edx], 0
jmp 0x4305ed
mov eax, dword [ecx + 4]
cmp eax, 0x3c
jbe 0x4305dc
cmp eax, 0x40
jne 0x4305ed
mov eax, dword [ecx + 0x94]
push eax
push 0xa
call fcn.004351fb
add esp, 8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.0042de70
mov eax, dword [0x4611a8]
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.0042d020
mov eax, dword [0x4611a8]
add esp, 4
dec dword [eax + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret