Function at 0x401440
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x632a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x20
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
push str.be3968f21acf789f51434846125dbf19
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00408580
cmp dword [ebp - 0xc], 0x100
mov eax, dword [ebp - 8]
jbe 0x4014bc
cmp eax, 0x10
jb 0x4014a4
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00408a70
pop ecx
pop esp
push eax
push esp
push ebx
push ecx
push esp
push ebx
pop esi
pop edi
pop ebp
pop edi
pop edi
pop ebx
push edi
pop edx
pop ebx
pop eax
pop esi
pop esi
push ecx
push ebx
jmp 0x4014ce
cmp eax, 0x10
jb 0x4014ce
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00408a70
push 0x20
push str.fa4d02d7ccd654f812d9b62ba632350d
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00408580
cmp dword [ebp - 0xc], 0x100
mov eax, dword [ebp - 8]
jbe 0x401525
cmp eax, 0x10
jb 0x40150d
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00408a70
pop esi
push ebp
pop ecx
pop eax
pop esi
push edx
pop edi
push ecx
push edx
pop esp
push esp
pop esi
pop esp
push edi
push eax
pop ecx
push ebx
pop ebx
pop esi
push edi
pop ebx
pop esi
jmp 0x401537
cmp eax, 0x10
jb 0x401537
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00408a70
push 0x20
push str.63cfa3a725ff457b4a4fe8d101344adc
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00408580
cmp dword [ebp - 0xc], 0x100
mov eax, dword [ebp - 8]
jbe 0x401592
cmp eax, 0x10
jb 0x401576
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00408a70
push ebp
push eax
push esp
pop edx
pop edx
pop eax
pop esi
pop edi
pop edi
push ebx
push edx
pop ebp
pop ecx
push esi
push eax
push esp
pop ecx
pop ebx
pop ebp
pop ebx
pop edx
pop esi
pop esi
pop esp
push esi
pop ebx
jmp 0x4015a4
cmp eax, 0x10
jb 0x4015a4
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00408a70
push 0x20
push str.57d0fe31bdd0193168aeb025444b8d6f
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00408580
cmp dword [ebp - 0xc], 0x100
mov eax, dword [ebp - 8]
jbe 0x4015fa
cmp eax, 0x10
jb 0x4015e3
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00408a70
pop ebx
pop ebp
pop edi
pop eax
pop ebp
pop edx
pop ebp
push eax
push esp
push eax
push ebx
push esp
pop esp
pop edi
pop ebp
pop edx
push esp
push ebx
push eax
pop esi
pop esi
jmp 0x40160c
cmp eax, 0x10
jb 0x40160c
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00408a70
call fcn.0043ba50
test al, al
je 0x401634
pop edx
pop ebp
pop edx
pop edx
pop esp
pop ebx
push esi
push ebx
push edx
pop esi
push eax
pop edx
pop esp
push edi
pop ebx
pop esi
pop esp
pop edx
pop ecx
push esp
pop ebp
push edx
push edx
push ecx
pop edi
push ebp
push edx
push ecx
pop eax
push esi
pop ebx
mov edi, dword [ebp - 0x20]
xor edx, edx
xor ecx, ecx
xor ebx, ebx
test edi, edi
jle 0x401793
mov esi, dword [ebp - 0x24]
mov al, byte [ebx + esi]
cmp al, 0x3d
jne 0x401655
inc ecx
cmp ecx, 2
jg 0x4016ab
cmp al, 0x7f
ja 0x4016ab
movzx eax, al
mov al, byte [eax + 0x622d00]
cmp al, 0x7f
je 0x4016ab
cmp al, 0x40
jae 0x40166e
test ecx, ecx
jne 0x4016ab
inc ebx
inc edx
mov dword [ebp - 0x20], ebx
cmp ebx, edi
jl 0x401648
test edx, edx
je 0x401793
mov ecx, dword [ebp - 0x2c]
lea eax, [edx + edx*2]
lea eax, [eax*2 + 7]
sar eax, 3
cmp dword [ecx], eax
jge 0x4016c1
mov dword [ecx], eax
mov eax, 0xfffffff0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00579ec9
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffee
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00579ec9
mov esp, ebp
pop ebp
ret
call fcn.0043bb30
test al, al
je 0x4016e9
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.0043bac0
test al, al
je 0x401710
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x20], 0
mov esi, 3
mov edx, eax
test ebx, ebx
jle 0x40178c
mov eax, dword [ebp - 0x24]
nop word [eax + eax]
movzx eax, byte [eax]
mov cl, byte [eax + 0x622d00]
xor eax, eax
cmp cl, 0x40
sete al
inc edi
sub esi, eax
movzx eax, cl
mov ecx, dword [ebp - 0x20]
and eax, 0x3f
shl ecx, 6
or ecx, eax
mov dword [ebp - 0x20], ecx
cmp edi, 4
jne 0x40177d
xor edi, edi
test esi, esi
jle 0x401768
mov eax, ecx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp esi, 1
jle 0x401775
mov eax, ecx
shr eax, 8
mov byte [edx], al
inc edx
cmp esi, 2
jle 0x40177d
mov byte [edx], cl
inc edx
mov eax, dword [ebp - 0x24]
dec ebx
inc eax
mov dword [ebp - 0x24], eax
test ebx, ebx
jg 0x401730
mov eax, dword [ebp - 0x28]
sub edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00579ec9
mov esp, ebp
pop ebp
ret