Function at 0x4030e0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422fab
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x42b314]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x245], 0
mov dword [ebp - 0x23c], 2
mov dword [ebp - 0x238], 0
mov eax, dword [0x42c8f4]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 1
lea ecx, [ebp - 0x294]
call fcn.00403500
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
cmp dword [0x42c8f4], 0
je 0x4031c9
cmp dword [0x42c8f8], 0
jne 0x4031c9
lea ecx, [ebp - 0x294]
push ecx
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0x40
call fcn.00404110
push eax
mov ecx, dword [ebp - 0x29c]
add ecx, 0x98
call fcn.00403050
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x4031c9
mov dword [ebp - 0x2a0], 1
jmp 0x4031d3
mov dword [ebp - 0x2a0], 0
mov al, byte [ebp - 0x2a0]
mov byte [ebp - 0xd], al
push 0x3c
push 0
lea ecx, [ebp - 0x288]
push ecx
call fcn.00410a10
add esp, 0xc
mov dword [ebp - 0x288], 0x3c
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x274], 0x100
mov dword [ebp - 0x258], 0xffffffff
mov dword [ebp - 0x280], 0xffffffff
lea eax, [ebp - 0x288]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x29c]
add ecx, 0x40
call fcn.00404110
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x40324c
jmp 0x40348b
push 0
movzx ecx, word [ebp - 0x270]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0x98
call fcn.00403050
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push eax
mov ecx, dword [ebp - 0x29c]
add ecx, 0x9c
call fcn.00403080
mov ecx, dword [ebp - 0x29c]
add ecx, 0x9c
call fcn.00403060
movzx eax, al
test eax, eax
je 0x4032a4
jmp 0x40348b
xor ecx, ecx
cmp dword [ebp - 0x27c], 2
setne cl
sub ecx, 1
and ecx, 0x800000
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 0x74]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0x9c
call fcn.00403050
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
push eax
mov ecx, dword [ebp - 0x29c]
add ecx, 0xa0
call fcn.00403080
mov ecx, dword [ebp - 0x29c]
add ecx, 0xa0
call fcn.00403050
test eax, eax
jne 0x40331b
jmp 0x40348b
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x403346
push 0xc
lea ecx, [ebp - 0x294]
push ecx
push 0x26
mov ecx, dword [ebp - 0x29c]
add ecx, 0xa0
call fcn.00403050
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push 0
push 0x7e4000
push 0x403cf0
mov ecx, dword [ebp - 0x29c]
add ecx, 0xa0
call fcn.00403050
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x40337e
jmp 0x40348b
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x220], 0
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
call fcn.00403f20
movzx edx, al
test edx, edx
jne 0x403419
push 0x5bf7
push 0x4a9d
push str.Bqy112N7g9LuoAvep2Wiq9NqfJSezrAU1bI97qzUcTiRkMi0Vs7vKaa1wGlxkps
push 0x75d6
push 0x8e5
push 0x1509
call fcn.00405240
add esp, 0x18
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], 0xffffffff
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
call fcn.00401a60
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
call fcn.00403f00
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x29c]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x244]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0xa0
call fcn.00403050
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x403461
jmp 0x40348b
mov byte [ebp - 0x245], 1
mov eax, dword [ebp - 0x29c]
mov dword [eax + 0x68], 1
push 0
call fcn.00404010
add esp, 4
mov ecx, dword [ebp - 0x29c]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], edx
movzx edx, byte [ebp - 0x245]
test edx, edx
jne 0x4034bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x29c]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp - 0x29c]
mov dword [edx + 0x68], 3
mov ecx, dword [ebp - 0x29c]
call fcn.00403a00
mov al, byte [ebp - 0x245]
mov byte [ebp - 0x295], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.00403530
mov al, byte [ebp - 0x295]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040fee0
mov esp, ebp
pop ebp
ret