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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x42f3fa
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42f3fa
push 1
push 0x4000
push ebx
call fcn.0049a330
mov edi, eax
test edi, edi
jne 0x42f404
mov word [ebx], ax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp word [ebx + edi*2 - 2], 0xa
jne 0x42f40d
dec edi
xor eax, eax
mov word [ebx + edi*2], ax
cmp dword [0x4e5a54], eax
je 0x42f4a5
push 0x8002
mov dword [esp + 0x18], 0x8002
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x14]
push 0
push 0
push eax
push ebp
push 1
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
cmp dword [ebp], 0x4034b50
jne 0x42f49b
push 0x4e4234
push dword [esp + 0x18]
lea edx, [esp + 0x28]
mov ecx, ebp
call fcn.0049fd70
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x42f3fa
mov esi, dword [esp + 0x20]
mov ecx, ebx
push eax
push esi
call fcn.0042f290
push dword [esp + 0x1c]
xor edx, edx
mov ecx, esi
lea edi, [eax - 1]
call fcn.00405e80
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x10
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x42f521
mov esi, ebx
nop
movzx eax, word [esi]
cmp eax, 0x20
je 0x42f4bd
cmp eax, 9
jne 0x42f4c2
add esi, 2
jmp 0x42f4b0
cmp ebp, 1
jne 0x42f4d5
cmp eax, 0x29
je 0x42f526
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
push dword [0x4e4b7c]
push 0x4e4b5c
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x42f4fd
mov word [ebx], ax
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp word [esi], 0x29
jne 0x42f521
or edx, 0xffffffff
mov ecx, ebx
call fcn.004276d0
mov edi, ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x42f512
sub edi, ecx
sar edi, 1
cmp ebp, 2
je 0x42f558
or edx, 0xffffffff
mov ecx, ebx
call fcn.004276d0
mov edx, eax
mov ecx, ebx
call fcn.00427740
push dword [0x4e4b7c]
mov edi, eax
push 0x4e4b5c
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x42f684
push 0x4e4b5c
push ebx
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov esi, eax
add esp, 8
test esi, esi
je 0x42f4cc
lea edx, [esi - 2]
cmp edx, ebx
jb 0x42f684
movzx eax, word [edx]
cmp eax, 0x20
je 0x42f60c
cmp eax, 9
je 0x42f60c
mov cx, word [0x4e4340]
mov eax, edx
cmp edx, ebx
jbe 0x42f5b2
nop
cmp word [eax], cx
jne 0x42f5b2
cmp word [eax - 2], cx
jne 0x42f5b2
sub eax, 4
cmp eax, ebx
ja 0x42f5a0
cmp eax, ebx
jb 0x42f5e2
cmp word [eax], cx
jne 0x42f5e2
mov ecx, esi
lea ebp, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f5c0
sub ecx, ebp
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
dec edi
mov eax, dword [0x4e4b7c]
push 0x4e4b5c
lea eax, [esi + eax*2]
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x42f571
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov edi, edx
xor eax, eax
sub edi, ebx
mov word [edx], ax
sar edi, 1
cmp word [ebx], ax
je 0x42f679
cmp edi, 0xffffffff
jne 0x42f635
mov edi, ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x42f626
sub edi, ecx
sar edi, 1
lea eax, [ebx - 2]
lea eax, [eax + edi*2]
nop dword [eax + eax]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x42f64d
cmp ecx, 9
jne 0x42f657
cmp eax, ebx
je 0x42f666
sub eax, 2
dec edi
jmp 0x42f640
xor ecx, ecx
mov word [eax + 2], cx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp ecx, 0x20
je 0x42f674
cmp ecx, 9
jne 0x42f4cc
xor ecx, ecx
mov word [eax], cx
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
pop edi
pop esi
xor eax, eax
pop ebp
mov word [ebx], ax
pop ebx
ret 0x10