Function at 0x4017c3
Capabilities:
Check if file exists
Encode data using base64 via winapi
Enumerate files on windows
Initialize winsock library

Disassembly:
push ebx
push ecx
push edx
push esi
push ebp
sub esp, 0x714
mov dword [esp + 0x700], 0xa
lea eax, [esp + 0x6ac]
push eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
lea eax, [esp + 0x6ac]
push eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0x684], eax
xor edx, edx
mov dword [esp + 0x688], eax
mov dword [esp + 0x694], eax
mov ebx, 6
mov dword [esp + 0x6a0], ebx
xor esi, esi
mov dword [esp + 0x6a8], eax
mov dword [esp + 0x6a4], eax
xor edx, edx
mov word [esp + 0x6c4], dx
mov byte [esp + 0x710], 0
push 0x7f00
push edx
call dword [sym.imp.USER32.DLL_LoadCursorW]
mov dword [esp + 0x69c], eax
mov byte [esp + 0x6e0], 0
mov byte [esp + 0x6e8], 0
push 0x104
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov byte [esp + 0x4d8], 0
lea eax, [esp + 0x700]
push eax
lea eax, [esp + 0x6d8]
push eax
push 1
push 1
lea eax, [esp + 0x4e8]
push eax
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
lea eax, [esp + 0x6c4]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push 0x7f00
push esi
call dword [sym.imp.USER32.DLL_LoadIconW]
mov dword [esp + 0x698], eax
push 0
push 0
call dword [sym.imp.USER32.DLL_GetWindow]
mov dword [esp + 0x704], eax
lea eax, [esp + 0x6f8]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
lea eax, [esp + 0x6e8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
movzx eax, byte [esp + 0x6d4]
sub eax, 0x47
mov dword [esp + 0x70c], eax
xor ebp, ebp
mov dword [esp + 0x65c], ebp
mov dword [esp + 0x660], ebp
mov dword [esp + 0x66c], ebp
mov dword [esp + 0x678], ebx
mov dword [esp + 0x680], ebp
mov dword [esp + 0x67c], ebp
push 0x7f00
push ebp
call dword [sym.imp.USER32.DLL_LoadCursorA]
mov dword [esp + 0x674], eax
mov byte [esp + 0x6f0], 0
push 0x7f00
push ebp
call dword [sym.imp.USER32.DLL_LoadIconA]
mov dword [esp + 0x670], eax
mov eax, esp
push eax
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
lea eax, [esp + 0x6f0]
push eax
lea eax, [esp + 0x6e4]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [esp + 0x6ac]
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0
mov eax, dword [esp + 0x708]
push eax
call dword [sym.imp.USER32.DLL_GetSystemMenu]
lea eax, [esp + 0x684]
push eax
call dword [sym.imp.USER32.DLL_RegisterClassW]
lea eax, [esp + 0x398]
push eax
lea eax, [esp + 0x714]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [esp + 0x708], eax
mov eax, dword [esp + 0x700]
add dword [esp + 0x70c], eax
lea eax, [esp + 0x398]
push eax
mov eax, dword [esp + 0x70c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
xor eax, eax
mov word [esp + 0x5dc], ax
lea eax, [esp + 0x5dc]
push eax
push eax
call dword [sym.imp.SHLWAPI.DLL_PathAddExtensionW]
mov eax, dword [esp + 0x708]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
lea eax, [esp + 0x65c]
push eax
call dword [sym.imp.USER32.DLL_RegisterClassA]
lea eax, [esp + 0x208]
push eax
push 2
call dword [sym.imp.WS2_32.DLL_WSAStartup]
call dword [sym.imp.WS2_32.DLL_WSACleanup]
mov eax, dword [esp + 0x70c]
add esp, 0x714
pop ebp
pop esi
pop edx
pop ecx
pop ebx
ret