Function at 0x454ee0
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
push 0x2000
mov esi, edx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x228], ebx
call fcn.00551776
mov ecx, dword [ebp + 8]
mov edi, eax
add esp, 4
mov dword [ebp - 0x220], 0x2000
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x218], ebx
mov edx, 0x1000
sub ecx, edi
lea ebx, [edx + 0x7fffeffe]
test ebx, ebx
je 0x454f6e
movzx ebx, word [ecx + eax]
test bx, bx
je 0x454f6e
mov word [eax], bx
add eax, 2
dec edx
jne 0x454f50
jmp 0x454f72
test edx, edx
jne 0x454f75
sub eax, 2
xor edx, edx
push 0x38
mov word [eax], dx
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.00557f00
add esp, 0xc
or eax, 0xffffffff
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], eax
mov eax, edi
mov dword [ebp - 0x264], 0x3c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454fb6
lea ecx, [ebp - 0x264]
push ecx
sub eax, edx
push 0
sar eax, 1
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x45530b
push 0
push 0
push 0
push 0
push str.Funshion_4.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0x21c], ebx
test ebx, ebx
je 0x45530b
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
je 0x45530b
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x202]
push ecx
mov word [ebp - 0x204], ax
call fcn.00557f00
add esp, 0xc
cmp dword [ebp - 0x250], 0x7ffffffe
jbe 0x455055
xor edx, edx
mov word [ebp - 0x204], dx
jmp 0x4550a7
mov ebx, dword [ebp - 0x254]
lea eax, [ebp - 0x204]
mov ecx, eax
mov edx, 0xff
sub ebx, ecx
lea ebx, [ebx]
mov ecx, dword [ebp - 0x250]
lea ecx, [ecx + edx - 0xff]
test ecx, ecx
je 0x455095
movzx ecx, word [ebx + eax]
test cx, cx
je 0x455095
mov word [eax], cx
add eax, 2
dec edx
jne 0x455070
jmp 0x455099
test edx, edx
jne 0x45509c
sub eax, 2
mov ebx, dword [ebp - 0x21c]
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0x24c]
push 0
push eax
lea ecx, [ebp - 0x204]
push ecx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x224], eax
test eax, eax
je 0x45530b
mov edx, dword [ebp - 0x210]
xor ecx, ecx
cmp dword [ebp - 0x258], 2
setne cl
dec ecx
and ecx, 0x800000
push ecx
mov ecx, dword [ebp - 0x238]
push 0
push edx
push 0
push ecx
push 0x5e1e34
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
mov dword [ebp - 0x218], ebx
test ebx, ebx
je 0x45530b
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x455133
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x214]
push 0x20000000
push eax
push edx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x45530b
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x45530b
push 0x2000
push 0
push edi
call fcn.00557f00
add esp, 0xc
push 0
lea eax, [ebp - 0x20c]
push eax
push edi
push 0
push 0x13
push ebx
mov dword [ebp - 0x20c], 0x1000
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
call fcn.005529c1
add esp, 4
cmp eax, 0xc8
jne 0x455311
lea ecx, [ebp - 0x20c]
push ecx
push ebx
mov dword [ebp - 0x20c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x45530b
mov edx, dword [ebp - 0x20c]
cmp edx, dword [ebp - 0x220]
jbe 0x4551ee
push edi
call fcn.00552be1
mov eax, dword [ebp - 0x20c]
inc eax
push eax
mov dword [ebp - 0x220], eax
call fcn.00551776
add esp, 8
mov edi, eax
mov eax, dword [ebp - 0x20c]
push eax
push 0
push edi
call fcn.00557f00
mov edx, dword [ebp - 0x20c]
add esp, 0xc
lea ecx, [ebp - 0x228]
push ecx
push edx
push edi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x45530b
mov ebx, dword [ebp - 0x228]
push edi
mov ecx, esi
call fcn.00416270
test al, al
je 0x4552a2
mov ecx, esi
call fcn.0040a9a0
mov ecx, edi
sub ecx, eax
mov dword [ebp - 0x214], ecx
mov ecx, esi
call fcn.004027a0
mov ecx, esi
cmp eax, dword [ebp - 0x214]
jb 0x4552ff
call fcn.004027a0
sub eax, dword [ebp - 0x214]
cmp eax, ebx
jae 0x455267
mov ebx, eax
mov eax, dword [esi + 0x10]
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, ebx
jbe 0x455304
test ebx, ebx
je 0x4552eb
add eax, ebx
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x210], eax
call fcn.0040a5a0
test al, al
je 0x4552eb
push ebx
mov ecx, esi
call fcn.0040a9a0
add eax, dword [ebp - 0x214]
push eax
jmp 0x4552ca
mov eax, dword [esi + 0x10]
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, ebx
jbe 0x455304
test ebx, ebx
je 0x4552eb
add eax, ebx
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x210], eax
call fcn.0040a5a0
test al, al
je 0x4552eb
push ebx
push edi
mov ecx, esi
call fcn.0040a9a0
add eax, dword [esi + 0x10]
push eax
call fcn.0040a890
mov edx, dword [ebp - 0x210]
add esp, 0xc
push edx
mov ecx, esi
call fcn.0040a8c0
cmp dword [ebp - 0x20c], 0
jbe 0x455324
mov ebx, dword [ebp - 0x218]
jmp 0x4551a2
call fcn.00404300
mov ecx, esi
call fcn.004044f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x208], eax
test eax, eax
je 0x455324
push 0
mov ecx, esi
call fcn.0040a8c0
push edi
call fcn.00552be1
mov eax, dword [ebp - 0x218]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 4
test eax, eax
je 0x455340
push eax
call esi
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x45534d
push eax
call esi
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x45535a
push eax
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x208]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005521f1
mov esp, ebp
pop ebp
ret