Function at 0x411130
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448cc3
mov eax, dword fs:[0]
push eax
mov eax, 0x21b0
call fcn.004302b0
mov eax, dword [0x45ff68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20ec], ecx
mov eax, dword [ebp - 0x20ec]
movzx ecx, byte [eax + 0x78]
test ecx, ecx
je 0x411180
mov dword [ebp - 0x20f0], 0x10000000
jmp 0x41118a
mov dword [ebp - 0x20f0], 0
mov edx, dword [ebp - 0x20ec]
add edx, 0x30
push edx
lea ecx, [ebp - 0x2144]
call fcn.0040f300
mov eax, dword [ebp - 0x20f0]
push eax
push 0
push 0
push 0
push str.CashNBack_Application
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 0x20ec]
mov dword [ecx + 0xac], eax
lea ecx, [ebp - 0x2144]
call fcn.0040f4a0
mov edx, dword [ebp - 0x20ec]
cmp dword [edx + 0xac], 0
jne 0x41120a
push 0xffffffffffffffff
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2158], esp
push str.CHttpRequest:_WinHttpOpen___failed__couldnt_connect_to_internet
call fcn.00404d20
mov dword [ebp - 0x2180], eax
mov ecx, dword [ebp - 0x20ec]
call fcn.004117f0
jmp 0x4117d4
mov dword [ebp - 0x2174], 0x400
push 0x3c
push 0
lea eax, [ebp - 0x21bc]
push eax
call fcn.0042e230
add esp, 0xc
mov dword [ebp - 0x21bc], 0x3c
mov dword [ebp - 0x21a8], 0x400
mov ecx, 2
imul ecx, ecx, 0
lea edx, [ebp + ecx - 0x1010]
mov dword [ebp - 0x21ac], edx
mov dword [ebp - 0x219c], 0x400
mov eax, 2
imul eax, eax, 0
lea ecx, [ebp + eax - 0x2010]
mov dword [ebp - 0x21a0], ecx
mov dword [ebp - 0x2194], 0x400
mov edx, 2
imul edx, edx, 0
lea eax, [ebp + edx - 0x1810]
mov dword [ebp - 0x2198], eax
mov dword [ebp - 0x218c], 0x400
mov ecx, 2
imul ecx, ecx, 0
lea edx, [ebp + ecx - 0x810]
mov dword [ebp - 0x2190], edx
lea eax, [ebp - 0x21bc]
push eax
push 0
mov ecx, dword [ebp - 0x20ec]
add ecx, 0x60
call fcn.0040b170
push eax
mov ecx, dword [ebp - 0x20ec]
add ecx, 0x60
call fcn.004087e0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
mov dword [ebp - 0x20fc], eax
cmp dword [ebp - 0x20fc], 0
jne 0x4113dc
push 0xffffffffffffffff
push 0x44c2f4
lea ecx, [ebp - 0x2088]
call fcn.00404d20
mov dword [ebp - 0x2100], eax
mov ecx, dword [ebp - 0x2100]
mov dword [ebp - 0x2108], ecx
mov dword [ebp - 4], 0
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x217c], esp
mov edx, dword [ebp - 0x2108]
push edx
mov eax, dword [ebp - 0x20ec]
add eax, 0x60
push eax
push 0x44c2f8
lea ecx, [ebp - 0x2058]
call fcn.00404d20
mov dword [ebp - 0x2110], eax
mov ecx, dword [ebp - 0x2110]
mov dword [ebp - 0x2118], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2118]
push edx
lea eax, [ebp - 0x20e8]
push eax
call fcn.0040f070
add esp, 0xc
mov dword [ebp - 0x2120], eax
mov ecx, dword [ebp - 0x2120]
mov dword [ebp - 0x2128], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2128]
push edx
push esi
call fcn.0040efc0
add esp, 0xc
mov dword [ebp - 0x2160], eax
mov ecx, dword [ebp - 0x20ec]
call fcn.004117f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20e8]
call fcn.00405790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2058]
call fcn.00405790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2088]
call fcn.00405790
jmp 0x4117d4
mov eax, dword [ebp - 0x20ec]
add eax, 0x30
push eax
lea ecx, [ebp - 0x2130]
call fcn.0040f300
push 0
movzx ecx, word [ebp - 0x21a4]
push ecx
lea edx, [ebp - 0x1010]
push edx
mov eax, dword [ebp - 0x20ec]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edx, dword [ebp - 0x20ec]
mov dword [edx + 0xb0], eax
lea ecx, [ebp - 0x2130]
call fcn.0040f4a0
mov eax, dword [ebp - 0x20ec]
cmp dword [eax + 0xb0], 0
jne 0x411544
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
je 0x411544
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x44c324
lea ecx, [ebp - 0x20b8]
call fcn.00404d20
mov dword [ebp - 0x2138], eax
mov ecx, dword [ebp - 0x2138]
mov dword [ebp - 0x2140], ecx
mov dword [ebp - 4], 3
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x2164], esp
mov edx, dword [ebp - 0x2140]
push edx
mov eax, dword [ebp - 0x20ec]
add eax, 0x60
push eax
push 0x44c328
lea ecx, [ebp - 0x20a0]
call fcn.00404d20
mov dword [ebp - 0x2148], eax
mov ecx, dword [ebp - 0x2148]
mov dword [ebp - 0x2150], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2150]
push edx
lea eax, [ebp - 0x2028]
push eax
call fcn.0040f070
add esp, 0xc
mov dword [ebp - 0x213c], eax
mov ecx, dword [ebp - 0x213c]
mov dword [ebp - 0x2124], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2124]
push edx
push esi
call fcn.0040efc0
add esp, 0xc
mov dword [ebp - 0x2168], eax
mov ecx, dword [ebp - 0x20ec]
call fcn.004117f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2028]
call fcn.00405790
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20a0]
call fcn.00405790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20b8]
call fcn.00405790
jmp 0x4117d4
cmp dword [ebp - 0x21b0], 2
jne 0x411559
mov dword [ebp - 0x20f4], 0x800000
jmp 0x411563
mov dword [ebp - 0x20f4], 0
mov eax, dword [ebp - 0x20ec]
add eax, 0x30
push eax
lea ecx, [ebp - 0x2104]
call fcn.0040f300
mov ecx, dword [ebp - 0x20f4]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x2190]
push edx
mov ecx, dword [ebp - 0x20ec]
add ecx, 0x48
call fcn.004087e0
push eax
mov eax, dword [ebp - 0x20ec]
mov ecx, dword [eax + 0xb0]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, dword [ebp - 0x20ec]
mov dword [edx + 0xb4], eax
lea ecx, [ebp - 0x2104]
call fcn.0040f4a0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x216c], eax
mov eax, dword [ebp - 0x20ec]
cmp dword [eax + 0xb4], 0
jne 0x4116e9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
je 0x4116e9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x44c3a0
lea ecx, [ebp - 0x20d0]
call fcn.00404d20
mov dword [ebp - 0x212c], eax
mov ecx, dword [ebp - 0x212c]
mov dword [ebp - 0x210c], ecx
mov dword [ebp - 4], 6
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x2154], esp
mov edx, dword [ebp - 0x210c]
push edx
mov eax, dword [ebp - 0x20ec]
add eax, 0x60
push eax
push 0x44c3a8
lea ecx, [ebp - 0x2070]
call fcn.00404d20
mov dword [ebp - 0x214c], eax
mov ecx, dword [ebp - 0x214c]
mov dword [ebp - 0x2114], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2114]
push edx
lea eax, [ebp - 0x2040]
push eax
call fcn.0040f070
add esp, 0xc
mov dword [ebp - 0x2134], eax
mov ecx, dword [ebp - 0x2134]
mov dword [ebp - 0x211c], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x211c]
push edx
push esi
call fcn.0040efc0
add esp, 0xc
mov dword [ebp - 0x215c], eax
mov ecx, dword [ebp - 0x20ec]
call fcn.004117f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2040]
call fcn.00405790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2070]
call fcn.00405790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20d0]
call fcn.00405790
jmp 0x4117d4
mov eax, dword [ebp - 0x20ec]
movzx ecx, byte [eax + 0x78]
test ecx, ecx
je 0x41171c
push 0
push 0x7e4000
push 0x40fcf0
mov edx, dword [ebp - 0x20ec]
mov eax, dword [edx + 0xb4]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov dword [ebp - 0x2170], eax
mov ecx, dword [ebp - 0x20ec]
add ecx, 0x30
push ecx
lea ecx, [ebp - 0x20f8]
call fcn.0040f300
mov edx, dword [ebp - 0x20ec]
push edx
push 0
push 0
push 0
mov ecx, dword [ebp - 0x20ec]
add ecx, 0x7c
call fcn.0040b170
push eax
mov ecx, dword [ebp - 0x20ec]
add ecx, 0x7c
call fcn.004087e0
push eax
mov eax, dword [ebp - 0x20ec]
mov ecx, dword [eax + 0xb4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x2178], eax
lea ecx, [ebp - 0x20f8]
call fcn.0040f4a0
push 2
mov ecx, dword [ebp - 0x20ec]
call fcn.004118c0
mov edx, dword [ebp - 0x20ec]
movzx eax, byte [edx + 0x78]
test eax, eax
jne 0x4117d4
mov ecx, dword [ebp - 0x20ec]
call fcn.0040f7e0
mov ecx, dword [ebp - 0x20ec]
call fcn.00410310
mov ecx, dword [ebp - 0x20ec]
call fcn.0040fe20
mov ecx, dword [ebp - 0x20ec]
call fcn.0040fec0
push 4
mov ecx, dword [ebp - 0x20ec]
call fcn.004118c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ec10
mov esp, ebp
pop ebp
ret