Function at 0x403c60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ax, word [0x4522bc]
movsx ecx, ax
sub ecx, 0x35df0121
sub esp, 0x20
cmp ecx, 0x7f1a4dd
je 0x403ca1
fld dword [0x4521e0]
fadd qword [0x4524d8]
fstp qword [0x4524d8]
fld dword [0x4521e0]
fadd qword [0x44c0e8]
fstp dword [0x4521e0]
movzx edx, word [0x4523bc]
add edx, 0x211f25ea
mov word [0x4523bc], dx
push ebx
fld dword [0x4520d0]
mov eax, dword [0x452020]
mov dword [ebp - 0xc], eax
push esi
push edi
fild dword [ebp - 0xc]
push 0x41
push 0x1f3d
xor esi, esi
fadd dword [0x452210]
fsubp st(1)
fstp dword [0x4520d0]
dec dword [0x452020]
fld qword [0x452458]
fadd qword [0x44d190]
fstp qword [0x452458]
call fcn.0041d590
mov ebx, eax
push 5
push 0x35f2
mov dword [ebp - 0xc], ebx
call fcn.0041d590
movsx ecx, byte [ebx + 0x3e]
push ecx
mov edi, eax
push edi
lea edx, [ebp - 0x10]
push 4
push edx
call fcn.0042081f
push 5
push 0x35f2
call fcn.0041d590
push edi
push 5
mov ebx, eax
call fcn.0041d150
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x3f]
push ecx
push ebx
lea edx, [ebp - 0x14]
push 4
push edx
call fcn.0042081f
add esp, 0x40
push 5
push 0x35f2
call fcn.0041d590
fld qword [0x452128]
add esp, 8
fsub dword [0x452028]
mov edi, eax
fld qword [0x44d188]
fld dword [0x452028]
fadd qword [0x44c0e8]
fstp dword [0x452028]
fxch st(1)
fucompi st(1)
fstp st(0)
lahf
test ah, 0x44
jnp 0x403daa
mov ax, word [0x4523c4]
movsx ecx, ax
add ecx, 0x38e2cf38
cvtsi2ss xmm0, ecx
movss dword [0x452360], xmm0
push ebx
push 5
call fcn.0041d150
mov dx, word [0x45203c]
movsx eax, dx
add eax, 0x233b3847
mov dword [ebp - 0x18], eax
add esp, 8
fild dword [ebp - 0x18]
fld dword [0x4521b8]
fsub qword [0x44d180]
fsub qword [0x44d178]
fcompi st(1)
fstp st(0)
jb 0x403e56
fld dword [str.N_l]
fsubr qword [0x44d170]
fld qword [0x44d168]
fcompi st(1)
fstp st(0)
jb 0x403e3a
fld dword [0x452170]
mov cx, word [0x4524ec]
fadd qword [0x44d160]
movsx edx, cx
cvtsi2sd xmm0, edx
fstp qword [ebp - 0x1c]
mulsd xmm0, qword [ebp - 0x1c]
cvttsd2si eax, xmm0
mov word [0x4524ec], ax
fld dword [0x452170]
fsub qword [0x44c0e8]
fstp dword [0x452170]
jmp 0x403e56
mov cx, word [0x452440]
movsx edx, cx
mov dword [ebp - 0x18], edx
fild dword [ebp - 0x18]
fmul dword [0x4524e4]
fstp dword [0x4524e4]
push 0x3d
push edi
lea eax, [ebp - 0x20]
push 4
push eax
call fcn.0042081f
push edi
push 5
call fcn.0041d150
mov ebx, dword [ebp + 0xc]
add esp, 0x18
test ebx, ebx
je 0x404318
mov edi, dword [ebp + 8]
fld1
fld dword [0x4522a8]
dec ebx
fld qword [0x452260]
fadd qword [0x44d158]
fadd dword [0x452084]
fsubp st(1)
fstp dword [0x4522a8]
fld qword [0x452260]
fsub st(1)
fstp qword [0x452260]
mov dx, word [0x452490]
mov cl, byte [edi]
movsx eax, dx
mov dword [ebp + 0xc], eax
mov byte [ebp + esi - 4], cl
fild dword [ebp + 0xc]
fadd qword [0x452190]
call fcn.0041ecd0
mov word [0x452490], ax
fld qword [0x452190]
fadd st(1)
inc esi
inc edi
fstp qword [0x452190]
cmp esi, 3
jne 0x404013
mov al, byte [ebp - 4]
fld qword [0x452308]
fmul qword [0x44d150]
mov cl, al
and al, 3
shl al, 4
mov byte [ebp - 7], al
mov al, byte [ebp - 3]
shr cl, 2
mov dl, al
shr dl, 4
add byte [ebp - 7], dl
mov byte [ebp - 8], cl
fstp qword [0x452308]
mov cl, byte [ebp - 2]
fld dword [0x45233c]
and al, 0xf
fsub st(1)
add al, al
mov dl, cl
add al, al
shr dl, 6
add al, dl
and cl, 0x3f
mov byte [ebp - 6], al
mov byte [ebp - 5], cl
fstp dword [0x45233c]
fld dword [0x45233c]
fadd qword [0x44d148]
fld qword [0x44d140]
fxch st(1)
fucompi st(1)
fstp st(0)
lahf
test ah, 0x44
jnp 0x403f6e
mov eax, 0xffff988d
mov word [0x4521b4], ax
xor esi, esi
cmp byte [ebp + 0x10], 0
je 0x403fee
mov al, byte [ebp + esi - 8]
cmp al, 0x3d
jbe 0x403fee
fld qword [0x452120]
fsub qword [0x44d138]
fsub qword [0x44d130]
fmul dword [0x45202c]
fstp dword [0x45202c]
cmp al, 0x3e
jne 0x403fb0
lea ecx, [ebp - 0x10]
fstp st(0)
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00417cb0
jmp 0x404005
fld dword [0x4520cc]
mov ecx, dword [ebp + 0x14]
fadd dword [0x4523a0]
lea edx, [ebp - 0x14]
push edx
fstp dword [0x4523a0]
fsubr dword [0x4520cc]
fstp dword [0x4520cc]
call fcn.00417cb0
fld dword [0x452328]
fsub dword [0x4521bc]
fstp dword [0x452328]
jmp 0x404005
movzx eax, byte [ebp + esi - 8]
fstp st(0)
mov ecx, dword [ebp - 0xc]
movzx edx, byte [eax + ecx]
mov ecx, dword [ebp + 0x14]
push edx
call fcn.00417270
fld1
inc esi
cmp esi, 4
jne 0x403f70
xor esi, esi
test ebx, ebx
jne 0x403e7f
test esi, esi
je 0x404316
cmp esi, 3
mov eax, dword [0x4523b8]
cvtsi2sd xmm0, eax
movsd qword [0x4521e8], xmm0
jge 0x404082
mov edi, 3
fstp st(0)
sub edi, esi
push edi
lea eax, [ebp + esi - 4]
push ebx
push eax
call fcn.0041eb20
fld qword [0x44d128]
fld1
add esp, 0xc
sub edi, 1
fld dword [0x452224]
fsub st(2)
fadd dword [0x4523f8]
fstp dword [0x4523f8]
fld dword [0x452224]
fsub st(1)
fstp dword [0x452224]
jne 0x404059
fstp st(1)
mov al, byte [ebp - 4]
mov cl, al
and al, 3
shl al, 4
mov byte [ebp - 7], al
shr cl, 2
mov byte [ebp - 8], cl
add dword [0x452514], 0xc72a5e71
fld dword [0x452138]
mov al, byte [ebp - 3]
fsub qword [0x44d120]
mov cl, byte [ebp - 2]
mov dl, al
fadd qword [0x452098]
shr dl, 4
add byte [ebp - 7], dl
and al, 0xf
add al, al
fstp qword [ebp - 0x1c]
mov dl, cl
add al, al
shr dl, 6
add al, dl
mov byte [ebp - 6], al
mov eax, dword [0x452024]
and cl, 0x3f
mov byte [ebp - 5], cl
cvtsi2sd xmm0, eax
addsd xmm0, qword [ebp - 0x1c]
cvttsd2si ecx, xmm0
mov dword [0x452024], ecx
fld dword [0x452138]
fsub st(1)
xor edi, edi
fstp dword [0x452138]
test esi, esi
jl 0x40429c
mov ebx, 0xdb851517
lea ecx, [ecx]
cmp byte [ebp + 0x10], 0
fstp st(0)
je 0x404264
mov al, byte [ebp + edi - 8]
cmp al, 0x3d
jbe 0x404264
cmp al, 0x3e
jne 0x404205
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x10]
push edx
call fcn.00417cb0
fld dword [0x4524c0]
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [0x4524c0]
inc word [0x4522a0]
fld dword [0x4524c0]
fadd qword [0x452060]
mov ax, word [0x4522a0]
movsx ecx, ax
mov dword [ebp + 0xc], ecx
fild dword [ebp + 0xc]
faddp st(1)
fld qword [0x44d118]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x404293
mov dx, word [0x4523c4]
movsx eax, dx
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fsub qword [0x4523c8]
fsub dword [0x4524f4]
fld dword [0x4520d4]
fadd qword [0x452068]
fsub qword [0x44d110]
fld qword [0x452068]
fsub st(3)
fstp qword [0x452068]
fld dword [0x4520d4]
fsub st(3)
fstp dword [0x4520d4]
fld dword [0x4524f4]
fsub st(3)
fstp dword [0x4524f4]
fld qword [0x4523c8]
fadd st(3)
fstp qword [0x4523c8]
fxch st(1)
fucompi st(1)
fstp st(0)
lahf
test ah, 0x44
jnp 0x404293
add dword [0x452004], ebx
jmp 0x404293
mov cx, word [0x452144]
movsx edx, cx
mov ecx, 0xffffffff
add word [0x452144], cx
cmp edx, 0xd08a351b
jge 0x404256
mov ax, word [0x4522f0]
mov dx, word [0x4522bc]
cwde
movsx edx, dx
add edx, eax
mov dword [ebp + 0xc], edx
fild dword [ebp + 0xc]
fmul qword [0x452278]
fstp qword [0x452278]
add word [0x4522f0], cx
inc word [0x4522bc]
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.00417cb0
jmp 0x404291
fld qword [0x452260]
mov edx, dword [ebp - 0xc]
fsub qword [0x44d108]
fadd qword [0x4521e8]
movzx ecx, byte [ebp + edi - 8]
fstp qword [0x4521e8]
movzx eax, byte [ecx + edx]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.00417270
fld1
inc edi
cmp edi, esi
jle 0x404110
cmp esi, 3
fld qword [0x452288]
fmul qword [0x452098]
fstp qword [0x452098]
fsubr qword [0x452288]
fstp qword [0x452288]
jge 0x404318
mov edi, 3
sub edi, esi
jmp 0x4042d0
mov ecx, dword [0x4522ac]
add ecx, 0x2c8a8682
mov dword [ebp + 0xc], ecx
fild dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
fmul qword [0x452508]
fstp qword [0x452508]
dec dword [0x4522ac]
cmp byte [ebp + 0x10], 0
je 0x404308
lea edx, [ebp - 0x20]
push edx
call fcn.00417cb0
jmp 0x40430f
push 0x3d
call fcn.00417270
sub edi, 1
jne 0x4042d0
jmp 0x404318
fstp st(0)
mov eax, dword [ebp - 0xc]
push eax
push 0x41
call fcn.0041d150
add esp, 8
mov dword [ebp - 0x10], 0
dec word [0x4522f0]
mov cx, word [0x4522f0]
pop edi
pop esi
mov word [0x452440], cx
pop ebx
mov esp, ebp
pop ebp
ret