Function at 0x5c5a20
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xcc]
cmp eax, dword [ecx + 8]
jbe 0x5c6191
sub esp, 0x14c
movzx eax, byte [esp + 0x150]
cmp al, 0x13
ja 0x5c5b64
cmp al, 0xc
je 0x5c5a8f
cmp al, 0x12
jne 0x5c5a71
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
xor edx, edx
jmp 0x5c60e1
cmp al, 0x13
jne 0x5c5c4e
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
xor edx, edx
jmp 0x5c5feb
mov eax, dword [esp + 0x154]
mov dword [esp], eax
mov ecx, dword [esp + 0x158]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x15c]
mov dword [esp + 8], edx
call fcn.00475eb0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5c5b12
mov dword [esp], 0
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
call fcn.00451f10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
lea eax, [0x6f2340]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x14
lea ecx, [0x739f05]
mov dword [eax], ecx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea ecx, [0x7aaeb4]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x14c
ret
cmp al, 0x14
je 0x5c5d21
cmp al, 0x16
je 0x5c5ce8
cmp al, 0x1e
jne 0x5c5c4e
mov eax, dword [esp + 0x158]
test eax, 1
jne 0x5c5bfc
cmp eax, 2
jl 0x5c5bb0
mov ecx, dword [esp + 0x154]
movzx edx, byte [eax + ecx - 1]
test dl, dl
jne 0x5c5bb7
movzx edx, byte [eax + ecx - 2]
test dl, dl
jne 0x5c5bb7
add eax, 0xfffffffe
jmp 0x5c5bb7
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x38], eax
lea ecx, [0x6e4640]
mov dword [esp], ecx
mov dword [esp + 4], 0
shr eax, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 8], eax
call fcn.0044e0b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x15c]
mov ebx, dword [esp + 0x154]
mov ebp, dword [esp + 0x38]
xor esi, esi
jmp 0x5c5ed5
lea eax, [0x6f2340]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x738135]
mov dword [eax], ecx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea ecx, [0x7aaeb4]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x14c
ret
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
lea ecx, [0x6f49c0]
mov dword [esp + 0x144], ecx
movzx eax, al
lea ecx, [0x981e80]
lea eax, [ecx + eax*8]
mov dword [esp + 0x148], eax
lea eax, [0x73e383]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x144]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c3fd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
add esp, 0x14c
ret
mov dword [esp], 0
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
call fcn.00451f10
mov eax, dword [esp + 0xc]
mov dword [esp + 0x13c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x5c5d76
mov dword [esp], 0
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
call fcn.00451f10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
cmp edx, ecx
jge 0x5c5e33
movzx ebx, byte [eax + edx]
cmp ebx, 0x80
jge 0x5c5d8d
inc edx
jmp 0x5c5db0
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0045fc00
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x28]
cmp ebx, 0x7f
jle 0x5c5d76
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409df0
mov eax, dword [esp + 8]
lea ecx, [0x6e41c0]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], eax
lea eax, [0x746ee7]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
lea eax, [esp + 0x144]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c3fd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x13c]
jmp 0x5c5e35
xor edx, edx
test edx, edx
je 0x5c5e8b
lea eax, [0x6f2340]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x738146]
mov dword [eax], ecx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea ecx, [0x7aaeb4]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x14c
ret
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
mov word [eax + esi*2 - 2], bp
add edx, 0xfffffffe
mov ebp, edx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebx, ebp
mov ebp, dword [esp + 0x38]
add ebp, 0xfffffffe
test ebp, ebp
je 0x5c5f4a
cmp ebp, 1
jbe 0x5c5fde
mov dword [esp + 0x38], ebp
inc esi
movzx edi, byte [ebx]
shl edi, 8
movzx ebp, byte [ebx + 1]
add ebp, edi
cmp ecx, esi
jae 0x5c5eb6
mov word [esp + 0x26], bp
mov dword [esp + 0x34], edx
mov dword [esp + 0x140], ebx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6e4640]
mov dword [esp + 0x10], eax
call fcn.0044e230
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x140]
movzx ebp, word [esp + 0x26]
jmp 0x5c5eb6
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x3c]
mov edx, eax
xor eax, eax
call fcn.004686c0
mov dword [esp], edx
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x40
call fcn.0047c1d0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004522a0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
mov eax, 1
mov ecx, eax
call fcn.004684c0
inc edx
cmp eax, edx
jle 0x5c6099
movzx ebx, byte [edx + ecx]
lea ebp, [ebx - 0x61]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
jbe 0x5c5fea
lea ebp, [ebx - 0x41]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
jbe 0x5c5fea
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x5c5fea
lea ebp, [ebx - 0x27]
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jbe 0x5c5fea
lea ebp, [ebx - 0x2b]
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jbe 0x5c5fea
cmp bl, 0x20
je 0x5c5fea
cmp bl, 0x3a
je 0x5c5fea
cmp bl, 0x3d
je 0x5c5fea
cmp bl, 0x3f
je 0x5c5fea
cmp bl, 0x2a
je 0x5c5fea
cmp bl, 0x26
je 0x5c5fea
lea eax, [0x6f2340]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x73bd00]
mov dword [eax], ecx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea ecx, [0x7aaeb4]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x14c
ret
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00451f10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
inc edx
cmp eax, edx
jle 0x5c614a
movzx ebx, byte [edx + ecx]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x5c60e0
cmp bl, 0x20
je 0x5c60e0
lea eax, [0x6f2340]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x73a8b4]
mov dword [eax], ecx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
lea ecx, [0x7aaeb4]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x14c
ret
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00451f10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x14c
ret
call fcn.00467050
jmp fcn.005c5a20