Function at 0x48ccc0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x48cdea
cmp word [ebx], 0
mov edi, ecx
jne 0x48cdc0
lea eax, [ebp - 0x3c]
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.00472910
lea ecx, [ebp - 0x30]
call fcn.00472910
mov dword [esp + 4], 0x3d
mov eax, dword [esi]
mov dword [esp], eax
call fcn.004706a0
test eax, eax
mov ebx, eax
jns 0x48cf41
mov ecx, dword [esi + 4]
mov edx, dword [esi]
test ecx, ecx
je 0x48d078
movzx eax, word [edx]
xor ebx, ebx
sub eax, 0x30
cmp ax, 9
ja 0x48cd4d
jmp 0x48d082
movzx eax, word [edx + ebx*2]
sub eax, 0x30
cmp ax, 9
jbe 0x48cd54
add ebx, 1
cmp ebx, ecx
jne 0x48cd40
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.00473050
mov eax, dword [esi]
sub esp, 8
lea ecx, [ebp - 0x30]
lea eax, [eax + ebx*2]
mov dword [esp], eax
call fcn.00472ad0
lea eax, [ebp - 0x30]
sub esp, 4
mov ecx, edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.0048c4c0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
sub esp, 8
test eax, eax
je 0x48cda4
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x48cdf1
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebp - 0x4c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [eax*8 + 0x731944]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00470a60
test al, al
jne 0x48ce00
add dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x4c]
cmp eax, 0x11
jne 0x48cdc5
mov dword [ebp - 0x4c], 0x80070057
mov eax, dword [ebp - 0x4c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov esi, eax
mov dword [ebp - 0x30], eax
mov eax, 1
mov edx, eax
mov ecx, esi
shl edx, cl
and edx, 0x10016
je 0x48ced0
movzx edx, word [ebx]
cmp dx, 0x13
je 0x48cf15
cmp dx, 8
jne 0x48d033
lea eax, [ebp - 0x3c]
lea esi, [ebp - 0x28]
mov edx, eax
mov eax, dword [ebx + 8]
mov ecx, edx
mov ebx, edx
mov dword [esp], eax
call fcn.00472990
sub esp, 4
mov edx, esi
mov eax, ebx
call fcn.0048bbb0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x48ce7d
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x48cf01
mov dword [esp], 0x18
call fcn.006e98d0
mov ebx, eax
mov eax, dword [ebp - 0x30]
lea ecx, [ebx + 8]
mov dword [ebx], eax
movzx eax, byte [ebp - 0x2c]
mov byte [ebx + 4], al
mov dword [esp], esi
call fcn.004b8990
sub esp, 4
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x48cf70
mov edx, dword [edi]
mov dword [edx + eax*4], ebx
add eax, 1
mov dword [ebp - 0x4c], 0
mov dword [edi + 4], eax
jmp 0x48cf01
movzx eax, word [esi*8 + 0x731940]
movzx edx, word [ebx]
cmp ax, dx
je 0x48d066
cmp ax, 0xb
je 0x48cffc
test dx, dx
mov dword [ebp - 0x4c], 0x80070057
lea esi, [ebp - 0x28]
je 0x48cfc3
mov ecx, esi
call fcn.004b94e0
mov eax, dword [ebp - 0x4c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov ecx, dword [ebx + 8]
cmp ecx, 0x3f
ja 0x48d033
cmp ecx, 0x1f
lea esi, [ebp - 0x28]
ja 0x48cfd5
shl eax, cl
mov ecx, esi
mov dword [esp], eax
call fcn.004b9230
sub esp, 4
jmp 0x48ce84
mov dword [esp + 4], eax
mov eax, dword [esi]
mov ecx, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.00473050
mov eax, dword [esi]
sub esp, 8
lea ecx, [ebp - 0x30]
lea eax, [eax + ebx*2 + 2]
mov dword [esp], eax
call fcn.00472ad0
jmp 0x48cd78
mov edx, eax
shr edx, 2
lea eax, [eax + edx + 1]
cmp eax, 0x1fffffff
mov dword [ebp - 0x4c], eax
ja 0x48d0af
shl eax, 2
mov dword [esp], eax
call fcn.006e98b0
mov edx, eax
mov eax, dword [edi + 4]
mov ecx, dword [edi]
test eax, eax
jne 0x48d042
test ecx, ecx
je 0x48cfb6
mov dword [esp], ecx
mov dword [ebp - 0x50], edx
call fcn.006e9860
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov dword [edi], edx
mov dword [edi + 8], ecx
jmp 0x48ceba
mov dword [esp], ebx
mov ecx, esi
call fcn.004b8b10
sub esp, 4
jmp 0x48ce84
xor eax, eax
xor edx, edx
test cl, 0x20
sete al
setne dl
shl edx, cl
shl eax, cl
mov ecx, esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004b92c0
sub esp, 8
jmp 0x48ce84
lea eax, [ebp - 0x3d]
mov dword [esp], ebx
lea esi, [ebp - 0x28]
mov dword [esp + 4], eax
call fcn.0048bd90
test eax, eax
mov dword [ebp - 0x4c], 0x80070057
jne 0x48cf01
movzx eax, byte [ebp - 0x3d]
mov ecx, esi
mov dword [esp], eax
call fcn.004b8fa0
sub esp, 4
jmp 0x48ce84
mov dword [ebp - 0x4c], 0x80070057
lea esi, [ebp - 0x28]
jmp 0x48cf01
shl eax, 2
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
jmp 0x48cfa5
lea esi, [ebp - 0x28]
mov dword [esp], ebx
mov ecx, esi
call fcn.004b8b10
jmp 0x48cfcd
xor ebx, ebx
mov ecx, dword [ebp - 0x4c]
jmp 0x48cd59
mov ecx, dword [ebp - 0x4c]
jmp 0x48cd59
call fcn.006ea1c0
mov ebx, eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x48d0c5
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x48d0d4
mov dword [esp], eax
call fcn.006e9860
mov dword [esp], ebx
call fcn.005d5ce0
mov ebx, eax
jmp 0x48d0c5