Function at 0x425b10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483f3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 1
push 1
push 1
push 0x132
push str.._tvt_base64encoder.cpp
push str.Base64_Encode
mov dword [ebp - 0x2c], ecx
push 0x491914
lea ecx, [ebp - 0x40]
call fcn.0040e269
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x11], 0
xor esi, esi
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 1
call fcn.004132a0
mov ebx, dword [ebp - 0x34]
cmp ebx, 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], ebx
jae 0x425bbb
push esi
push 1
push 1
push 0x142
push str.._tvt_base64encoder.cpp
push str.Parameter_is_0
push str.CTVTBuffer___TVT_BYTE___Data
lea ecx, [ebp - 0x448]
call fcn.00411320
push 0x4b2184
lea ecx, [ebp - 0x448]
push ecx
call sub.MSVCR71.dll__CxxThrowException
lea edx, [ebx + 2]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
shl edx, 2
push edx
lea ecx, [ebp - 0x28]
call fcn.00413eb0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00412770
nop
lea eax, [esi + 3]
cmp eax, ebx
mov dword [ebp + 8], eax
ja 0x42631e
mov ecx, dword [ebp - 0x34]
cmp esi, ecx
jb 0x425caa
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
mov dword [ebp - 0x248], 0x48aee4
call fcn.00410e60
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x248]
call fcn.00410b20
test al, al
je 0x425c84
mov edx, dword [ebp - 0x242]
lea ecx, [ebp - 0x234]
push ecx
push edx
lea ecx, [ebp - 0x23c]
call fcn.004107c0
test al, al
je 0x425c84
mov byte [ebp - 0x23e], 1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4b2544
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x248], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [ebp - 0x38]
mov dl, byte [eax + esi]
shr dl, 2
lea edi, [esi + 1]
cmp edi, ecx
mov byte [ebp - 0x1c], dl
jb 0x425d72
push 0
push 1
lea ecx, [ebp - 0x288]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 8
mov dword [ebp - 0x288], 0x48aee4
call fcn.00410e60
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x288]
call fcn.00410b20
test al, al
je 0x425d4c
mov edx, dword [ebp - 0x282]
lea ecx, [ebp - 0x274]
push ecx
push edx
lea ecx, [ebp - 0x27c]
call fcn.004107c0
test al, al
je 0x425d4c
mov byte [ebp - 0x27e], 1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4b2544
lea eax, [ebp - 0x288]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x288], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov dl, byte [eax + edi]
mov bl, byte [eax + esi]
shr dl, 4
shl bl, 4
or dl, bl
and dl, 0x3f
cmp edi, ecx
mov byte [ebp - 0x1b], dl
jb 0x425e3f
push 0
push 1
lea ecx, [ebp - 0x148]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x148], 0x48aee4
call fcn.00410e60
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x148]
call fcn.00410b20
test al, al
je 0x425e19
mov edx, dword [ebp - 0x142]
lea ecx, [ebp - 0x134]
push ecx
push edx
lea ecx, [ebp - 0x13c]
call fcn.004107c0
test al, al
je 0x425e19
mov byte [ebp - 0x13e], 1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4b2544
lea eax, [ebp - 0x148]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x148], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
add esi, 2
cmp esi, ecx
jb 0x425eec
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x88], 0x48aee4
call fcn.00410e60
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.00410b20
test al, al
je 0x425ec6
mov eax, dword [ebp - 0x82]
lea edx, [ebp - 0x74]
push edx
push eax
lea ecx, [ebp - 0x7c]
call fcn.004107c0
test al, al
je 0x425ec6
mov byte [ebp - 0x7e], 1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4b2544
lea ecx, [ebp - 0x88]
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x88], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov dl, byte [eax + esi]
mov bl, byte [eax + edi]
shr dl, 6
shl bl, 2
or dl, bl
and dl, 0x3f
cmp esi, ecx
mov byte [ebp - 0x1a], dl
jb 0x425fb9
push 0
push 1
lea ecx, [ebp - 0x1c8]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x1c8], 0x48aee4
call fcn.00410e60
mov byte [ebp - 4], 0xf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00410b20
test al, al
je 0x425f93
mov edx, dword [ebp - 0x1c2]
lea ecx, [ebp - 0x1b4]
push ecx
push edx
lea ecx, [ebp - 0x1bc]
call fcn.004107c0
test al, al
je 0x425f93
mov byte [ebp - 0x1be], 1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4b2544
lea eax, [ebp - 0x1c8]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c8], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov cl, byte [eax + esi]
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
and cl, 0x3f
cmp edi, eax
mov byte [ebp - 0x19], cl
jb 0x426081
push 0
push 1
lea ecx, [ebp - 0x108]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x108], 0x48aee4
call fcn.00410e60
mov byte [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x108]
mov esi, eax
call fcn.00410b20
test al, al
je 0x42605b
mov ecx, dword [ebp - 0x102]
lea eax, [ebp - 0xf4]
push eax
push ecx
lea ecx, [ebp - 0xfc]
call fcn.004107c0
test al, al
je 0x42605b
mov byte [ebp - 0xfe], 1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4b2544
lea edx, [ebp - 0x108]
push edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x108], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
push ecx
mov ecx, ebx
lea esi, [eax + edi]
call fcn.00425460
mov byte [esi], al
mov ecx, dword [ebp - 0x20]
lea eax, [edi + 1]
cmp eax, ecx
jb 0x426156
push 0
push 1
lea ecx, [ebp - 0x188]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x188], 0x48aee4
call fcn.00410e60
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x174]
push edx
lea ecx, [ebp - 0x188]
mov esi, eax
call fcn.00410b20
test al, al
je 0x426130
mov ecx, dword [ebp - 0x182]
lea eax, [ebp - 0x174]
push eax
push ecx
lea ecx, [ebp - 0x17c]
call fcn.004107c0
test al, al
je 0x426130
mov byte [ebp - 0x17e], 1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4b2544
lea edx, [ebp - 0x188]
push edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x188], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1b]
lea esi, [ecx + eax]
push edx
mov ecx, ebx
call fcn.00425460
mov byte [esi], al
mov ecx, dword [ebp - 0x20]
lea eax, [edi + 2]
cmp eax, ecx
jb 0x426228
push 0
push 1
lea ecx, [ebp - 0x208]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x208], 0x48aee4
call fcn.00410e60
mov byte [ebp - 4], 0x15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x208]
call fcn.00410b20
test al, al
je 0x426202
mov edx, dword [ebp - 0x202]
lea ecx, [ebp - 0x1f4]
push ecx
push edx
lea ecx, [ebp - 0x1fc]
call fcn.004107c0
test al, al
je 0x426202
mov byte [ebp - 0x1fe], 1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4b2544
lea eax, [ebp - 0x208]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x208], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1a]
lea esi, [ecx + eax]
push edx
mov ecx, ebx
call fcn.00425460
mov byte [esi], al
mov ecx, dword [ebp - 0x20]
lea eax, [edi + 3]
cmp eax, ecx
jb 0x4262fa
push 0
push 1
lea ecx, [ebp - 0xc8]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0xc8], 0x48aee4
call fcn.00410e60
mov byte [ebp - 4], 0x17
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00410b20
test al, al
je 0x4262d4
mov edx, dword [ebp - 0xc2]
lea ecx, [ebp - 0xb4]
push ecx
push edx
lea ecx, [ebp - 0xbc]
call fcn.004107c0
test al, al
je 0x4262d4
mov byte [ebp - 0xbe], 1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4b2544
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0xc8], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x19]
lea esi, [ecx + eax]
push edx
mov ecx, ebx
call fcn.00425460
mov ebx, dword [ebp - 0x44]
add edi, 4
mov byte [esi], al
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], edi
jmp 0x425be0
cmp esi, ebx
jae 0x42668b
mov edx, dword [ebp - 0x34]
cmp esi, edx
jb 0x4263a0
push 0
push 1
lea ecx, [ebp - 0x2c8]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x2c8], 0x48aee4
call fcn.00410e60
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0x19
call fcn.00402681
push 0x4b2544
lea eax, [ebp - 0x2c8]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c8], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [ebp - 0x38]
mov cl, byte [eax + esi]
inc esi
cmp esi, ebx
jae 0x426427
cmp esi, edx
jb 0x426422
push 0
push 1
lea ecx, [ebp - 0x348]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x348], 0x48aee4
call fcn.00410e60
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 0x1b
call fcn.00402681
push 0x4b2544
lea ecx, [ebp - 0x348]
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x348], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov al, byte [eax + esi]
jmp 0x426429
xor al, al
cmp esi, ebx
sbb bl, bl
mov dl, cl
shr dl, 2
mov byte [ebp - 0x1c], dl
mov dl, al
and al, 0xf
shr dl, 4
shl al, 2
shl cl, 4
or dl, cl
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x20]
and dl, 0x3f
inc bl
cmp edi, eax
mov byte [ebp - 0x1b], dl
jb 0x4264c9
push 0
push 1
lea ecx, [ebp - 0x408]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x408], 0x48aee4
call fcn.00410e60
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 0x1d
call fcn.00402681
push 0x4b2544
lea eax, [ebp - 0x408]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x408], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
lea esi, [ecx + edi]
mov ecx, dword [ebp - 0x2c]
push edx
call fcn.00425460
mov byte [esi], al
mov ecx, dword [ebp - 0x20]
lea eax, [edi + 1]
cmp eax, ecx
jb 0x42655a
push 0
push 1
lea ecx, [ebp - 0x3c8]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x3c8], 0x48aee4
call fcn.00410e60
lea ecx, [ebp - 0x3c8]
mov byte [ebp - 4], 0x1f
call fcn.00402681
push 0x4b2544
lea eax, [ebp - 0x3c8]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c8], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1b]
lea esi, [ecx + eax]
mov ecx, dword [ebp - 0x2c]
push edx
call fcn.00425460
test bl, bl
mov byte [esi], al
je 0x426576
mov cl, 0x3d
jmp 0x426584
mov eax, dword [ebp - 0x1a]
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.00425460
mov cl, al
mov edx, dword [ebp - 0x20]
lea eax, [edi + 2]
cmp eax, edx
jb 0x426601
push 0
push 1
lea ecx, [ebp - 0x308]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x308], 0x48aee4
call fcn.00410e60
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0x21
call fcn.00402681
push 0x4b2544
lea ecx, [ebp - 0x308]
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x308], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov edx, dword [ebp - 0x24]
mov byte [edx + eax], cl
mov ecx, dword [ebp - 0x20]
lea eax, [edi + 3]
cmp eax, ecx
jb 0x426684
push 0
push 1
lea ecx, [ebp - 0x388]
call fcn.00402612
push 0
push 0
push 0x513
push str.....include_tvt_buffer.h
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x388], 0x48aee4
call fcn.00410e60
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0x23
call fcn.00402681
push 0x4b2544
lea eax, [ebp - 0x388]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x388], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0x3d
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x28]
push edx
call fcn.00412680
mov bl, 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x11], bl
mov byte [ebp - 4], 2
call fcn.00413f00
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00413880
jmp 0x4266fb
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x42670c
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], bl
test ecx, ecx
mov dword [ebp - 4], 0xffffffff
je 0x42671d
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8