Function at 0x4111c0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ecd6
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x48b998]
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
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x40], ebx
test eax, eax
je 0x4116c5
cmp eax, 0xffffffff
je 0x4116c5
test edi, edi
je 0x411240
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x41122a
xor edi, edi
jmp 0x411240
lea eax, [esi + esi]
call fcn.00453210
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov edi, eax
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x41124b
xor esi, esi
jmp 0x41127a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x411261
xor esi, esi
jmp 0x41127a
lea eax, [esi + esi]
call fcn.00453210
mov ecx, dword [ebp - 0x3c]
mov eax, esp
push 3
push esi
push ecx
push eax
call fcn.00410160
mov esi, eax
xor edx, edx
cmp byte [ebx + 0xdc], dl
mov ecx, dword [ebx + 8]
setne dl
xor eax, eax
push 0
dec edx
and edx, 0x200000
cmp dword [ebx + 0xa0], 2
setne al
dec eax
and eax, 0x800000
or edx, eax
or edx, 0x4000000
push edx
push 0x48deb0
push edi
push str.HTTP_1.0
push esi
push 0x47ce24
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x4116b0
cmp eax, 0xffffffff
je 0x4116b0
push SysReAllocStringLen
push 0xd
push str.Accept:___r_n
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x411304
push 0x486048
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], str.additional_header_failed...
call fcn.0044aada
cmp dword [ebx + 0xf4], 0
je 0x411443
cmp byte [ebx + 0xfc], 0
lea edi, [ebx + 0xe0]
je 0x411348
cmp dword [edi + 0x18], 0x10
jb 0x411337
mov eax, dword [edi + 4]
push SysReAllocStringLen
push 0xffffffffffffffff
push eax
mov eax, dword [ebx + 0xc]
push eax
jmp 0x411362
push SysReAllocStringLen
lea eax, [edi + 4]
push 0xffffffffffffffff
push eax
mov eax, dword [ebx + 0xc]
push eax
jmp 0x411362
cmp dword [edi + 0x18], 0x10
jb 0x411353
mov eax, dword [edi + 4]
jmp 0x411356
lea eax, [edi + 4]
mov ecx, dword [ebx + 0xc]
push 0x10000000
push 0xffffffffffffffff
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x41143c
call fcn.0040fe50
cmp dword [eax + 4], 0
jg 0x41143c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea esi, [ebp - 0xa0]
call fcn.0040e000
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], esp
push eax
push str._errorCode
sub esp, 0x1c
mov dword [ebp - 0x44], ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.00402760
lea esi, [ebp - 0x84]
call fcn.00402650
push eax
mov edx, 0x47ce90
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.0040d250
add esp, 0x20
push eax
lea edx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 2
call fcn.0040b830
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, eax
mov eax, dword [ebp - 0x44]
mov esi, eax
call fcn.0040b900
add esp, 4
mov byte [ebp - 4], 4
call fcn.0040fe50
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0040fbf0
lea ecx, [ebp - 0x38]
call fcn.00402d40
lea ecx, [ebp - 0x68]
call fcn.00402d40
lea ecx, [ebp - 0x84]
call fcn.00402d40
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.00402d40
mov esi, edi
call fcn.00413ff0
cmp dword [ebx + 0xd8], 0
jbe 0x41165f
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 5
mov eax, dword [ebx + 0xa0]
sub eax, 1
je 0x411480
sub eax, 1
jne 0x41148d
push str.https:__
jmp 0x411485
push str.http:__
lea ecx, [ebp - 0x38]
call fcn.00408ee0
cmp dword [ebx + 0x28], 0x10
jb 0x411498
mov eax, dword [ebx + 0x14]
jmp 0x41149b
lea eax, [ebx + 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040e0d0
mov eax, dword [ebx + 0xa0]
cmp eax, 1
jne 0x4114b8
cmp dword [ebx + 0x9c], 0x50
je 0x4114fb
cmp eax, 2
jne 0x4114c9
cmp dword [ebx + 0x9c], 0x1bb
je 0x4114fb
mov ecx, dword [ebx + 0x9c]
push ecx
push 0x47ced4
xor eax, eax
lea edx, [ebp - 0x1c]
push 0xa
push edx
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
call fcn.0044d461
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040e0d0
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040e0d0
mov eax, dword [ebx + 0xd4]
mov edx, dword [eax]
mov eax, dword [ebx + 0xc0]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], eax
jmp 0x411520
mov esi, dword [ebx + 0xd4]
mov ecx, dword [ebx + 0xc0]
test eax, eax
je 0x411534
cmp eax, ecx
je 0x411539
call fcn.0044c44a
cmp dword [ebp - 0x18], esi
je 0x411650
lea esi, [ebp - 0x1c]
call fcn.00414070
mov ebx, dword [eax]
cmp dword [ebx + 0x34], 0x10
jb 0x411557
mov edi, dword [ebx + 0x20]
jmp 0x41155a
lea edi, [ebx + 0x20]
test edi, edi
jne 0x411563
mov dword [ebp - 0x3c], edi
jmp 0x411595
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x41157e
mov dword [ebp - 0x3c], 0
jmp 0x411595
lea eax, [esi + esi]
call fcn.00453210
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov dword [ebp - 0x3c], eax
cmp dword [ebx + 0x18], 0x10
jb 0x4115a0
mov edi, dword [ebx + 4]
jmp 0x4115a3
lea edi, [ebx + 4]
test edi, edi
jne 0x4115ab
xor ebx, ebx
jmp 0x4115d7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4115c1
xor ebx, ebx
jmp 0x4115d7
lea eax, [esi + esi]
call fcn.00453210
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov ebx, eax
cmp dword [ebp - 0x20], 0x10
jb 0x4115e8
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x4115eb
xor eax, eax
jmp 0x411615
lea edi, [ebp - 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x411601
xor eax, eax
jmp 0x411615
lea eax, [esi + esi]
call fcn.00453210
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410160
mov ecx, dword [ebp - 0x3c]
push ecx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieW]
test eax, eax
je 0x41163b
lea edi, [ebp - 0x4c]
lea esi, [ebp - 0x1c]
call fcn.004140a0
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x40]
jmp 0x411520
push 0x486048
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x40], str.add_cookie_failed...
call fcn.0044aada
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.00402790
mov eax, dword [ebx + 0xc]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x41168a
push 0x486048
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x40], str.request_failed...
call fcn.0044aada
mov al, 1
lea esp, [ebp - 0xb0]
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.0044b1f7
mov esp, ebp
pop ebp
ret 8
push 0x486048
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], str.request_failed...
call fcn.0044aada
push 0x486048
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], str.handle_not_opened...
call fcn.0044aada
int3