Function at 0x454af0
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 [0x4eb690]
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.0048987a
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.0048e940
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 0x454ba3
movzx edi, word [ecx + eax]
cmp di, bx
je 0x454ba3
mov word [eax], di
add eax, 2
dec edx
jne 0x454b85
jmp 0x454ba7
cmp edx, ebx
jne 0x454baa
sub eax, 2
push 0x38
lea edx, [ebp - 0x46c]
xor ecx, ecx
push ebx
push edx
mov word [eax], cx
call fcn.0048e940
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 0x454bf0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x454bf0
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 0x454e64
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 0x454e64
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 0x454e64
push 0x1fe
lea ecx, [ebp - 0x40a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x40c], ax
call fcn.0048e940
mov ebx, dword [ebp - 0x45c]
add esp, 0xc
cmp ebx, 0x7ffffffe
jbe 0x454c8c
xor edx, edx
mov word [ebp - 0x40c], dx
jmp 0x454cd2
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 0x454cc0
movzx ecx, word [edi + eax]
test cx, cx
je 0x454cc0
mov word [eax], cx
add eax, 2
dec edx
jne 0x454ca1
jmp 0x454cc4
test edx, edx
jne 0x454cc7
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 0x454e64
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 0x4d564c
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
je 0x454e64
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 0x454e64
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x454e64
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.0048ab11
add esp, 4
cmp eax, 0xc8
jne 0x454e6a
mov edi, dword [ebp - 0x428]
test edi, edi
je 0x454eef
cmp word [edi], 0
je 0x454eef
lea eax, [ebp - 0x20c]
mov ecx, eax
mov edx, 0x104
sub edi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x454dde
movzx ecx, word [edi + eax]
test cx, cx
je 0x454dde
mov word [eax], cx
add eax, 2
dec edx
jne 0x454dc0
jmp 0x454de2
test edx, edx
jne 0x454de5
sub eax, 2
xor edx, edx
push 0x4d5654
mov word [eax], dx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0040aa20
mov ecx, dword [ebp - 0x428]
push SysReAllocString
push ecx
mov eax, 0x1000
mov ecx, esi
call fcn.00454a90
push 0x5c
push esi
call fcn.0048d9a5
add esp, 8
test eax, eax
je 0x454e34
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 0x454ef5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x410], eax
push esi
call fcn.0048ad31
mov eax, dword [ebp - 0x418]
add esp, 4
cmp eax, 0xffffffff
je 0x454e8b
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 0x454e9e
push eax
call esi
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x454eab
push eax
call esi
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x454eb8
push eax
call esi
mov esi, dword [ebp - 0x410]
test esi, esi
jne 0x454fbe
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.0048a346
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 0x454e64
mov edx, dword [ebp - 0x414]
cmp edx, dword [ebp - 0x42c]
jbe 0x454f41
push esi
call fcn.0048ad31
mov eax, dword [ebp - 0x414]
inc eax
push eax
mov dword [ebp - 0x42c], eax
call fcn.0048987a
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x414]
push eax
push 0
push esi
call fcn.0048e940
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 0x454f95
cmp edi, 0xffffffff
je 0x454f95
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 0x454fad
cmp dword [ebp - 0x414], 0
jbe 0x454e70
mov ebx, dword [ebp - 0x424]
jmp 0x454eef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x414], ebx
jmp 0x454e6a
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.0048a346
mov esp, ebp
pop ebp
ret