Function at 0x401eb0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fcdb
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x3cc]
mov ecx, 0xf0
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4abc14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x279], 0
mov dword [ebp - 0x29c], 2
mov dword [ebp - 0x298], 0
mov eax, dword [0x4ad184]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 1
lea ecx, [ebp - 0x2b0]
call fcn.00402390
mov dword [ebp - 4], 0
mov byte [ebp - 0x2b9], 0
cmp dword [0x4ad184], 0
je 0x401fb6
cmp dword [0x4ad188], 0
jne 0x401fb6
mov esi, esp
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x29c]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x40
call fcn.00403a00
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xa4
call fcn.00431080
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp esi, esp
call fcn.004744d2
test eax, eax
je 0x401fb6
mov dword [ebp - 0x3cc], 1
jmp 0x401fc0
mov dword [ebp - 0x3cc], 0
mov dl, byte [ebp - 0x3cc]
mov byte [ebp - 0x2b9], dl
push 0x3c
push 0
lea eax, [ebp - 0x270]
push eax
call fcn.004746d0
add esp, 0xc
mov dword [ebp - 0x270], 0x3c
lea eax, [ebp - 0x220]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 0x100
mov dword [ebp - 0x240], 0xffffffff
mov dword [ebp - 0x268], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x40
call fcn.00403a00
push eax
push str.pwgg99rk6k8gsdwkfo6x5NW_g
push 0xe20
push 0xf4d
call fcn.004565f0
add esp, 0xc
push eax
call fcn.00454e30
add esp, 8
mov esi, esp
lea eax, [ebp - 0x270]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x40
call fcn.00403a00
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
cmp esi, esp
call fcn.004744d2
test eax, eax
jne 0x40206e
jmp 0x4022a8
mov esi, esp
push 0
movzx eax, word [ebp - 0x258]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xa4
call fcn.00431080
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
cmp esi, esp
call fcn.004744d2
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xa8
call fcn.00401df0
mov ecx, dword [ebp - 0x18]
add ecx, 0xa8
call fcn.00412e10
movzx eax, al
test eax, eax
je 0x4020c6
jmp 0x4022a8
xor eax, eax
cmp dword [ebp - 0x264], 2
setne al
sub eax, 1
and eax, 0x800000
mov dword [ebp - 0x22c], eax
mov esi, esp
mov eax, dword [ebp - 0x22c]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xa8
call fcn.00431080
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
cmp esi, esp
call fcn.004744d2
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xac
call fcn.00401df0
mov ecx, dword [ebp - 0x18]
add ecx, 0xac
call fcn.00431080
test eax, eax
jne 0x40213f
jmp 0x4022a8
movzx eax, byte [ebp - 0x2b9]
test eax, eax
je 0x402173
mov esi, esp
push 0xc
lea eax, [ebp - 0x2b0]
push eax
push 0x26
mov ecx, dword [ebp - 0x18]
add ecx, 0xac
call fcn.00431080
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp esi, esp
call fcn.004744d2
mov esi, esp
push 0
push 0x7e4000
push 0x402ed0
mov ecx, dword [ebp - 0x18]
add ecx, 0xac
call fcn.00431080
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0
je 0x4021b1
jmp 0x4022a8
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2f8], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x78
call fcn.00403660
movzx eax, al
test eax, eax
jne 0x402239
push 0x64ac
push str.tYgk9NrgKQansZgzqkvl8Zpneovk99qmqY2ysFyg6QoiMRo2fw8i9NrlYqgtI
push 0x7699
push 0x59e
call fcn.004566b0
add esp, 0x10
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2ec], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x78
call fcn.00403880
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x78
call fcn.00403630
mov dword [ebp - 0x2f8], eax
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2f8]
push ecx
mov edx, dword [ebp - 0x2f8]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
mov ecx, dword [ebp - 0x2ec]
push ecx
mov edx, dword [ebp - 0x2d4]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0xac
call fcn.00431080
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp esi, esp
call fcn.004744d2
test eax, eax
jne 0x402284
jmp 0x4022a8
mov byte [ebp - 0x279], 1
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x68], 1
push 0
call fcn.00454860
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], edx
movzx eax, byte [ebp - 0x279]
test eax, eax
jne 0x4022da
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004744d2
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x6c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x68], 3
mov ecx, dword [ebp - 0x18]
call fcn.00402b00
mov al, byte [ebp - 0x279]
mov byte [ebp - 0x3c1], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b0]
call fcn.00403470
mov al, byte [ebp - 0x3c1]
push edx
mov ecx, ebp
push eax
lea edx, [0x402338]
call fcn.004744f5
pop eax
pop edx
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.004744c3
add esp, 0x3cc
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret