Function at 0x459930
Capabilities:
Check for time delay via gettickcount
Create http request
Delete file
Read data from internet
Receive data

Disassembly:
sub esp, 0x454
push ebx
push ebp
push esi
mov esi, dword [esp + 0x464]
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
mov ebp, 0x84000000
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x45995d
cmp eax, 9
jne 0x459962
add esi, 2
jmp 0x459950
cmp eax, 0x2a
jne 0x4599b5
add esi, 2
mov ecx, esi
call fcn.004828e0
mov ebp, eax
mov ebx, esi
test esi, esi
je 0x4599b1
movzx ecx, word [esi]
test cx, cx
je 0x4599b1
mov edi, ecx
mov eax, 0x4d4b64
mov edx, 0x20
nop dword [eax]
cmp di, dx
je 0x4599f7
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x459990
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x459983
mov ebx, dword [esp + 0x10]
push 0
push 0
push 0
push 4
push 0x4d1fc4
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [esp + 0x18], edi
push 0
test edi, edi
jne 0x459a12
push eax
push ebx
push 0x4d1e48
push str.Failed
mov ecx, 0x4eb110
call fcn.0042fef0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
mov esi, ebx
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x459a0d
cmp eax, 9
jne 0x4599b1
add esi, 2
jmp 0x459a00
push ebp
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
test ebx, ebx
jne 0x459a55
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 0
push dword [esp + 0x18]
mov ecx, 0x4eb110
push 0x4d1e48
push str.Failed
call fcn.0042fef0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 8
push 0x4dd024
push dword [esp + 0x470]
call fcn.004ab0b9
mov ebp, eax
add esp, 8
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x459a81
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
jmp 0x459a2c
lea eax, [esp + 0x60]
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
movzx eax, word [esi]
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x1c], 0x28
mov dword [esp + 0x34], 0x400
cmp eax, 0x68
je 0x459b94
cmp eax, 0x48
je 0x459b94
lea eax, [esp + 0x14]
push eax
push 0x400
lea eax, [esp + 0x68]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test edi, edi
je 0x459c2c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x14], 0
je 0x459c2c
call esi
mov ecx, dword [0x4e59a0]
sub eax, dword [0x4eb7f4]
cmp eax, dword [ecx + 0x5c]
jbe 0x459b3a
push 0
push 0
push 0
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x459b33
mov edx, 1
or ecx, 0xffffffff
call fcn.004015c0
call esi
mov dword [0x4eb7f4], eax
push ebp
push 1
push dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push eax
call fcn.004ab398
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push 0x400
lea eax, [esp + 0x68]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test edi, edi
jne 0x459af1
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [esp + 0x18]
call esi
push ebp
call fcn.004ab4f7
add esp, 4
push dword [esp + 0x46c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x459a2c
mov ebp, dword [sym.imp.WININET.dll_InternetReadFileExA]
lea eax, [esp + 0x1c]
push 0
push 8
push eax
push ebx
call ebp
mov edi, eax
test edi, edi
je 0x459c28
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x34], 0
je 0x459c28
call esi
mov ecx, dword [0x4e59a0]
sub eax, dword [0x4eb7f4]
cmp eax, dword [ecx + 0x5c]
jbe 0x459bf7
push 0
push 0
push 0
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x459bf0
mov edx, 1
or ecx, 0xffffffff
call fcn.004015c0
call esi
mov dword [0x4eb7f4], eax
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push 1
push dword [esp + 0x3c]
push eax
call fcn.004ab398
add esp, 0x10
mov dword [esp + 0x34], 0x400
lea eax, [esp + 0x1c]
push 0
push 8
push eax
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x459bb2
mov ebp, dword [esp + 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [esp + 0x18]
call esi
push ebp
call fcn.004ab4f7
add esp, 4
test edi, edi
jne 0x459c5a
push dword [esp + 0x46c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x459a2c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x454
ret 8