Function at 0x4019f0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449c40
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x45d274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.start_CAffid::InitializeData__
mov esi, 1
push esi
push 3
push 0x8b
push str.CAffid::InitializeData
push str.Affid.cpp
lea ecx, [ebp - 0x3c]
call fcn.0042d360
push eax
call fcn.0042d580
add esp, 0x10
mov ecx, ebx
call fcn.00401df0
test eax, eax
je 0x401a64
lea eax, [ebx + 0xc]
push eax
mov ecx, ebx
call fcn.004020b0
mov dword [ebp - 0x10], esi
test eax, eax
jne 0x401a6b
mov dword [ebp - 0x10], 0
mov ecx, ebx
call fcn.00401e60
test eax, eax
je 0x401a88
lea eax, [ebx + 0x10]
push eax
mov ecx, ebx
call fcn.00402260
mov dword [ebp - 0x18], esi
test eax, eax
jne 0x401a8f
mov dword [ebp - 0x18], 0
mov ecx, ebx
call fcn.00401ed0
test eax, eax
je 0x401aac
lea eax, [ebx + 0x14]
push eax
mov ecx, ebx
call fcn.00402410
mov dword [ebp - 0x20], esi
test eax, eax
jne 0x401ab3
mov dword [ebp - 0x20], 0
mov ecx, ebx
call fcn.00401fb0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x401b0c
lea edi, [ebx + 0x24]
push edi
push 0
mov eax, ebx
call fcn.00402020
test eax, eax
je 0x401b0c
mov eax, dword [edi]
push eax
lea ecx, [ebx + 0x20]
call fcn.00402da0
test al, al
je 0x401b0c
mov eax, dword [ebx + 0x20]
push edi
push eax
mov eax, ebx
call fcn.00402020
test eax, eax
je 0x401b0c
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx]
mov edi, dword [edi]
test ecx, ecx
je 0x401b0c
mov eax, edi
mov edi, ecx
call fcn.00401060
test eax, eax
je 0x401b0c
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x10], 0
je 0x401b28
cmp dword [ebp - 0x14], 0
je 0x401b28
cmp dword [ebp - 0x18], 0
je 0x401b28
cmp dword [ebp - 0x20], 0
jne 0x401cf2
mov edx, dword [0x45d020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d020
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov edx, dword [0x45d020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d020
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
mov edx, dword [0x45d020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d020
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
mov edx, dword [0x45d020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d020
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402900
test eax, eax
je 0x401c63
xor esi, esi
cmp dword [ebp - 0x10], esi
jne 0x401bcc
lea edi, [ebx + 0xc]
lea eax, [ebp - 0x2c]
call fcn.00402e10
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x18], esi
jne 0x401be3
lea edi, [ebx + 0x10]
lea eax, [ebp - 0x28]
call fcn.00402e10
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x20], esi
jne 0x401bf3
lea edi, [ebx + 0x14]
lea eax, [ebp - 0x24]
call fcn.00402e10
cmp dword [ebp - 0x14], esi
jne 0x401c63
mov eax, dword [ebp - 0x1c]
lea edi, [ebx + 0x24]
cmp eax, esi
je 0x401c63
cmp edi, esi
je 0x401c63
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x30]
push ecx
push edi
push esi
push 1
push esi
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
cmp eax, esi
je 0x401c63
mov edx, dword [edi]
push edx
lea ecx, [ebx + 0x20]
call fcn.00402da0
test al, al
je 0x401c63
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, edi
call fcn.00401000
test eax, eax
je 0x401c63
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx]
mov edi, dword [edi]
test ecx, ecx
je 0x401c63
mov eax, edi
mov edi, ecx
call fcn.00401060
test eax, eax
je 0x401c63
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401ca9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401ccc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401cf2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push edx
push str.trt_retrieving_finished__trtNum___d
push 1
push 3
push 0xc6
push str.CAffid::InitializeData
push str.Affid.cpp
lea ecx, [ebp - 0x48]
call fcn.0042d360
push eax
call fcn.0042d580
add esp, 0x14
cmp dword [ebp - 0x10], 0
je 0x401d3a
cmp dword [ebp - 0x14], 0
je 0x401d3a
cmp dword [ebp - 0x18], 0
je 0x401d3a
mov eax, 1
jmp 0x401d3c
xor eax, eax
mov dword [ebx + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret