Function at 0x4549f0
Capabilities:
Check http status code
Delete file
Initialize winhttp library
Move file
Prepare http request
Read http header
Receive http response
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
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 dword [ebp - 0x428], eax
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x434], ebx
call fcn.00551776
push 0x206
mov esi, eax
lea eax, [ebp - 0x20a]
xor edx, edx
push ebx
push eax
mov dword [ebp - 0x42c], 0x2000
mov word [ebp - 0x20c], dx
call fcn.00557f00
mov ecx, dword [ebp + 8]
add esp, 0x10
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x418], 0xffffffff
mov edx, 0x1000
mov eax, esi
sub ecx, esi
lea edi, [edx + 0x7fffeffe]
test edi, edi
je 0x454aa3
movzx edi, word [ecx + eax]
cmp di, bx
je 0x454aa3
mov word [eax], di
add eax, 2
dec edx
jne 0x454a85
jmp 0x454aa7
cmp edx, ebx
jne 0x454aaa
sub eax, 2
push 0x38
lea edx, [ebp - 0x46c]
xor ecx, ecx
push ebx
push edx
mov word [eax], cx
call fcn.00557f00
add esp, 0xc
or eax, 0xffffffff
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x438], eax
mov eax, esi
mov dword [ebp - 0x470], 0x3c
lea edx, [eax + 2]
jmp 0x454af0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x454af0
lea ecx, [ebp - 0x470]
push ecx
sub eax, edx
push ebx
sar eax, 1
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x454d64
push ebx
push ebx
push ebx
push ebx
push str.Funshion_4.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
je 0x454d64
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 edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
je 0x454d64
push 0x1fe
lea ecx, [ebp - 0x40a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x40c], ax
call fcn.00557f00
mov ebx, dword [ebp - 0x45c]
add esp, 0xc
cmp ebx, 0x7ffffffe
jbe 0x454b8c
xor edx, edx
mov word [ebp - 0x40c], dx
jmp 0x454bd2
mov edi, dword [ebp - 0x460]
lea eax, [ebp - 0x40c]
mov ecx, eax
mov edx, 0xff
sub edi, ecx
lea ecx, [ebx + edx - 0xff]
test ecx, ecx
je 0x454bc0
movzx ecx, word [edi + eax]
test cx, cx
je 0x454bc0
mov word [eax], cx
add eax, 2
dec edx
jne 0x454ba1
jmp 0x454bc4
test edx, edx
jne 0x454bc7
sub eax, 2
mov edi, dword [ebp - 0x41c]
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0x458]
push 0
push eax
lea ecx, [ebp - 0x40c]
push ecx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, eax
mov dword [ebp - 0x430], ecx
test ecx, ecx
je 0x454d64
mov edx, dword [ebp - 0x420]
xor eax, eax
cmp dword [ebp - 0x464], 2
setne al
dec eax
and eax, 0x800000
push eax
mov eax, dword [ebp - 0x444]
push 0
push edx
push 0
push eax
push 0x5e1e34
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
je 0x454d64
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 0x454d64
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x454d64
push 0
lea ecx, [ebp - 0x414]
push ecx
push esi
push 0
push 0x13
push ebx
mov dword [ebp - 0x414], 0x1000
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push esi
call fcn.005529c1
add esp, 4
cmp eax, 0xc8
jne 0x454d6a
mov edi, dword [ebp - 0x428]
test edi, edi
je 0x454def
cmp word [edi], 0
je 0x454def
lea eax, [ebp - 0x20c]
mov ecx, eax
mov edx, 0x104
sub edi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x454cde
movzx ecx, word [edi + eax]
test cx, cx
je 0x454cde
mov word [eax], cx
add eax, 2
dec edx
jne 0x454cc0
jmp 0x454ce2
test edx, edx
jne 0x454ce5
sub eax, 2
xor edx, edx
push 0x5e1e3c
mov word [eax], dx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0040a9d0
mov ecx, dword [ebp - 0x428]
push bind
push ecx
mov eax, 0x1000
mov ecx, esi
call fcn.00454990
push 0x5c
push esi
call fcn.00555895
add esp, 8
test eax, eax
je 0x454d34
xor edx, edx
push esi
push edx
mov word [eax], dx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x418], edi
cmp edi, 0xffffffff
jne 0x454df5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x410], eax
push esi
call fcn.00552be1
mov eax, dword [ebp - 0x418]
add esp, 4
cmp eax, 0xffffffff
je 0x454d8b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x424]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x454d9e
push eax
call esi
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x454dab
push eax
call esi
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x454db8
push eax
call esi
mov esi, dword [ebp - 0x410]
test esi, esi
jne 0x454ebe
mov edx, dword [ebp - 0x428]
push 1
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x418]
lea ecx, [ebp - 0x414]
push ecx
push ebx
mov dword [ebp - 0x414], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x454d64
mov edx, dword [ebp - 0x414]
cmp edx, dword [ebp - 0x42c]
jbe 0x454e41
push esi
call fcn.00552be1
mov eax, dword [ebp - 0x414]
inc eax
push eax
mov dword [ebp - 0x42c], eax
call fcn.00551776
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x414]
push eax
push 0
push esi
call fcn.00557f00
mov edx, dword [ebp - 0x414]
add esp, 0xc
lea ecx, [ebp - 0x434]
push ecx
push edx
push esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x454e95
cmp edi, 0xffffffff
je 0x454e95
mov ecx, dword [ebp - 0x434]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x420]
push eax
push ecx
push esi
push edi
mov dword [ebp - 0x420], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x454ead
cmp dword [ebp - 0x414], 0
jbe 0x454d70
mov ebx, dword [ebp - 0x424]
jmp 0x454def
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x414], ebx
jmp 0x454d6a
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005521f1
mov esp, ebp
pop ebp
ret