Function at 0x40c53d
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x20], ecx
inc edx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x38], edx
mov esi, dword [ecx + 8]
and dword [esp + 0x10], ebx
and dword [esp + 0x34], ebx
push edi
mov dword [esp + 0x10], esi
xor edi, edi
or esi, 0xffffffff
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], esi
cmp eax, 0x15
je 0x444624
cmp eax, 0x1d
ja case.0x40c59d.13
movzx eax, byte [eax + 0x40c701]
jmp dword [eax*4 + 0x40c6cd]
or edi, 5
or edi, 4
mov ebx, esi
mov eax, dword [esp + 0x10]
lea edx, [ebx + 6]
cmp eax, edx
ja 0x4446df
lea edx, [ebx + 5]
cmp eax, edx
ja 0x4446f7
lea edx, [ebx + 4]
cmp eax, edx
jbe 0x40c5e3
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + edx*4]
call fcn.0040502b
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
lea edx, [ebx + 3]
cmp eax, edx
jbe 0x40c5fe
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + edx*4]
call fcn.0040502b
mov esi, eax
mov eax, dword [esp + 0x10]
lea ecx, [ebx + 2]
cmp eax, ecx
jbe 0x40c61b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx*4]
call fcn.0040502b
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
lea ecx, [ebx + 1]
cmp eax, ecx
jbe 0x40c635
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + ebx*4 + 4]
call fcn.0040502b
mov dword [esp + 0x28], eax
sub esp, 0x10
lea eax, [esp + 0x40]
mov ecx, esp
push eax
and dword [ecx + 8], 0
call fcn.00404e60
mov ebx, dword [esp + 0x24]
push edi
push dword [esp + 0x2c]
push dword [esp + 0x34]
push dword [esp + 0x3c]
push esi
push dword [esp + 0x48]
push dword [esp + 0x50]
push ebx
push dword [ebp + 8]
call fcn.004030ea
mov edi, dword [ebp + 0x10]
mov esi, eax
mov ecx, edi
call fcn.00404dc0
mov ecx, edi
mov dword [edi + 0xc], 1
mov dword [edi], esi
call fcn.0040502b
test eax, eax
je 0x444712
cmp dword [ebp + 8], 0x1d
je 0x40c69c
push ebx
call fcn.0042105c
pop ecx
xor esi, esi
lea ecx, [esp + 0x30]
call fcn.00404dc0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 7
pop edi
jmp case.0x40c59d.23
push 7
pop edi
xor ebx, ebx
jmp case.0x40c59d.13
push 7
pop edi
jmp case.0x40c59d.8
add byte [eax], al
push ebx
push esi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x60]
push edi
call fcn.004110c3
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov ecx, esi
call fcn.00404d37
mov eax, dword [edi + 4]
mov ebx, dword [esi + 8]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.00404d37
mov ecx, dword [esi + 8]
mov eax, 1
dec dword [ebx + 0x1b8084e]
add byte [eax], al
add byte [ebx], dh
test byte [ecx - 0x7cebdbb4], 0x7f
or byte [ebx], al
mov eax, ebx
mov dword [ebp - 0x18], ebx
and eax, ecx
cmp eax, edx
jne 0x40e6fa
add esi, 2
mov ecx, 0x3ff
and ebx, ecx
shl ebx, 0xa
movzx eax, word [esi]
and eax, ecx
mov dword [ebp - 4], esi
or ebx, eax
add ebx, 0x10000
mov dword [ebp - 0x18], ebx
jmp 0x40e6fa
mov eax, dword [ebp - 0xc]
sub edi, ecx
sar edi, 1
add dword [edx], edi
invalid
mov edi, ecx
cmp cl, byte [ebx - 0x67ba7607]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
jge 0x444658
jge 0x444658
jmp 0x40e70c
cmp di, ax
je 0x4446b8
push 0x2e
pop eax
cmp di, ax
je 0x4446b8
push 0x3d
pop eax
cmp di, ax
jne 0x40e72a
lea edx, [ebp - 0x70]
mov ecx, esi
call fcn.0047ec02
test eax, eax
je 0x40e72a
xor eax, eax
mov dword [ebp - 0x18], eax
inc ebp
call 0x6a6c8c5e
cmp cl, byte [ebx + 0x66580858]
cmp edi, eax
inc ebp
call 0x6a6c8c5e
cmp cl, byte [ebx + 0x66580858]
cmp edi, eax
jne 0x444fd4
add byte [eax], al
push 4
pop eax
add esi, eax
push 0x5e
pop eax
mov dword [ebp - 4], esi
cmp word [esi], ax
jne 0x444706
mov eax, dword [ebp - 0xc]
mov edi, eax
push 2
mov dword [ebp - 0x28], eax
pop eax
add esi, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], esi
jmp 0x444709
add cl, byte [ecx + 0x358d845]
invalid
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x70]
mov ecx, esi
sub edx, esi
sar edx, 1
call fcn.0047ebb5
mov ecx, eax
test ecx, ecx
js 0x444fd0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
test dl, al
push 2
pop edx
je 0x444734
cmp ecx, edx
jg 0x444734
xor ecx, ecx
push 0x1e
jmp fcn.00444fd6
push 0x1f