Function at 0x492350
Capabilities:
Check for time delay via gettickcount
Check http status code
Check if file exists
Connect to http server
Create http request
Delete file
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x674b13
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2a0], ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x284], esi
call fcn.00509500
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x49252a
push 0x2f
push str.f:master_luinst_ui_market_netwininet_tttp.cc
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], al
call fcn.0042a9a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb8]
push 3
push 0x6d1880
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
call fcn.0042a9a0
mov byte [ebp - 4], 1
call fcn.00509500
mov edi, eax
lea ecx, [ebp - 0x340]
push 0x1e
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0042c590
mov esi, eax
push str.CWininetHttp::Request:
push esi
mov byte [ebp - 4], 2
call fcn.0043f750
mov eax, dword [ebp - 0x27c]
mov ecx, str._null_
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.0043f750
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x340]
call fcn.00428ee0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x4924c6
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4924bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4924bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp edx, 0x10
jb 0x492524
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49251a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49251a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov edi, dword [ebp - 0x27c]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x298], eax
call fcn.0048e1c0
mov ecx, edi
mov dword [ebp - 4], 3
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492555
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x120]
call fcn.0043fcb0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 4
push 0xa001
mov dword [ebp - 0x124], 1
call fcn.00669a2f
mov esi, eax
add esp, 4
mov dword [ebp - 0x27c], esi
test esi, esi
jne 0x4925cb
mov dword [ebp - 0x128], 0xa
jmp 0x492a18
push 0xa001
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x493284
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4925f0
sub ecx, edx
sar ecx, 1
je 0x493284
push dword [ebx + 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x492622
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], 0
je 0x492622
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebx + 4]
lea eax, [ebp - 0x58]
push eax
call fcn.0050b150
add esp, 0xc
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov ecx, dword [ebx + 0xb0]
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
test ecx, ecx
je 0x492666
push ecx
call eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx + 0xb0], 0
mov ecx, dword [ebx + 0xac]
test ecx, ecx
je 0x49267d
push ecx
call eax
mov dword [ebx + 0xac], 0
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x492698
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx + 0xa8], 0
push 0
push 0
push 0
push 0
push str.Http_connect
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebx + 0xa8], eax
test eax, eax
jne 0x492702
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x128], 1
cmp edx, 0x10
jb 0x492a18
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4926f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4926f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
jmp 0x492a18
xor eax, eax
mov dword [ebp - 0x290], 0x50
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea edx, [ebp - 0x40]
call fcn.00491b30
add esp, 8
test eax, eax
jne 0x492840
mov dword [ebp - 0x128], 6
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x49279c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x492792
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x492792
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4927f0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4927e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4927e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x492a18
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4926f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4926f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x290]
mov eax, 0x1bb
cmp cx, ax
jne 0x492857
mov byte [ebx + 0xa4], 1
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 3
push 0
push 0
push ecx
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 0xac], eax
test eax, eax
jne 0x492893
mov dword [ebp - 0x128], 3
jmp 0x49275c
cmp byte [ebx + 0xa4], 0
lea ecx, [ebp - 0x278]
mov eax, 0x80200000
mov esi, 0x80a02000
cmove esi, eax
lea eax, [ebp - 0x274]
push 3
push str.HTTP_1.1
mov dword [ebp - 0x278], eax
call fcn.0045d270
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
mov ecx, 0x6e9624
cmp dword [ebp - 0x288], 0
push esi
push 0
push 0
push dword [ebp - 0x278]
push eax
mov eax, 0x6e961c
cmovne eax, ecx
push eax
push dword [ebx + 0xac]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 0xb0], eax
lea ecx, [ebp - 0x274]
mov eax, dword [ebp - 0x278]
cmp eax, ecx
je 0x49291f
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [ebx + 0xb0], 0
jne 0x492ad9
mov dword [ebp - 0x128], 1
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x492974
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49296a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49278c
push edx
push ecx
call fcn.00669e69
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4929c6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4929bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49278c
push edx
push ecx
call fcn.00669e69
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x492a12
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x492a08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49278c
push edx
push ecx
call fcn.00669e69
add esp, 8
mov esi, dword [ebp - 0x27c]
mov eax, dword [ebx + 0x10c]
cmp eax, 0xffffffff
je 0x492a37
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
add esp, 4
mov dword [ebx + 0x10c], 0xffffffff
push esi
call fcn.00669a38
add esp, 4
mov dword [ebp - 0xe4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebp - 0x298]
mov dword [ebp - 0xe0], ecx
je 0x492a77
imul eax, dword [ebp - 0xec], 0x3e8
xor edx, edx
shl ecx, 0xa
div ecx
mov dword [ebp - 0xdc], eax
xor eax, eax
cmp dword [ebp - 0x128], eax
setne al
add eax, 2
mov dword [ebp - 0x124], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0x144]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
lea ecx, [ebp - 0xa0]
call fcn.0042acd0
lea ecx, [ebp - 0x144]
call fcn.0048dd90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x284]
test eax, eax
jne 0x492ae7
xor esi, esi
jmp 0x492aff
mov esi, eax
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x492af0
sub esi, ecx
sar esi, 1
mov eax, dword [ebp - 0x28c]
test eax, eax
jne 0x492b0d
xor edi, edi
jmp 0x492b1b
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x492b12
sub edi, ecx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebx + 0xb4]
call fcn.00487300
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push 0xa0000000
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
push dword [ebx + 0xb0]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push edi
mov edi, dword [ebp - 0x28c]
push edi
push esi
mov esi, dword [ebp - 0x284]
push esi
push dword [ebx + 0xb0]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x492bc3
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x128], 4
cmp edx, 0x10
jb 0x492bac
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x492ba2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49278c
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
jmp 0x492936
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 9
push eax
lea eax, [ebx + 0xb0]
push eax
call fcn.00493580
test al, al
je 0x492e0a
push esi
push edi
push dword [ebp - 0x288]
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004945c0
test al, al
jne 0x492e0a
call fcn.00509500
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x492d77
push 0x2f
push str.f:master_luinst_ui_market_netwininet_tttp.cc
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], al
call fcn.0042a9a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd0]
push 3
push 0x6d1880
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call fcn.0042a9a0
mov byte [ebp - 4], 0xb
call fcn.00509500
mov edi, eax
lea ecx, [ebp - 0x3d8]
push 0x6f
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0042c590
mov esi, eax
push str.send_redirect_url_fail
push esi
mov byte [ebp - 4], 0xc
call fcn.0042c400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3d8]
call fcn.00428ee0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xbc]
cmp edx, 0x10
jb 0x492d1e
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x492d14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49278c
push edx
push ecx
call fcn.00669e69
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
cmp edx, 0x10
jb 0x492d77
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x492d6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49278c
push edx
push ecx
call fcn.00669e69
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x492db8
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x492dae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49278c
push edx
push ecx
call fcn.00669e69
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 0x10
jb 0x492bac
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x492ba2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x492ba2
jmp 0x49278c
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x108]
push eax
call fcn.0043fcb0
mov esi, dword [ebp - 0x27c]
push 0xa001
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x280]
add esp, 0xc
mov dword [ebp - 0x280], 0xa000
push 0
push eax
push esi
push 5
push dword [ebx + 0xb0]
call edi
test eax, eax
je 0x492e78
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
add esp, 4
mov dword [ebp - 0xf0], eax
push 0
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x294], 0
push eax
lea eax, [ebp - 0x294]
mov dword [ebp - 0x29c], 4
push eax
push 0x20000013
push dword [ebx + 0xb0]
call edi
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0xd8], ecx
test eax, eax
jne 0x492ef7
mov dword [ebp - 0x128], 5
lea ecx, [ebp - 0x88]
call fcn.0042c340
lea ecx, [ebp - 0x70]
call fcn.0042acd0
lea ecx, [ebp - 0x28]
call fcn.0042c340
lea ecx, [ebp - 0x40]
call fcn.0042c340
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0042acd0
jmp 0x492a18
cmp ecx, 0x190
jl 0x492f0b
mov dword [ebp - 0x128], 0xb
jmp 0x492ec3
mov eax, dword [ebx + 4]
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x284], edi
test edi, edi
je 0x492f6a
push 0x180
push 0x40
push 0x8109
push eax
lea edi, [ebx + 0x10c]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wsopen_s]
add esp, 0x14
test eax, eax
jne 0x492f55
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x492f55
push 2
push 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseek]
add esp, 0xc
test eax, eax
jns 0x492f64
mov dword [ebp - 0x128], 7
jmp 0x492ec3
mov edi, dword [ebp - 0x284]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa001
push 0
push esi
mov dword [ebp - 0x288], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
push 0xa000
push esi
push dword [ebx + 0xb0]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x493275
movsd xmm0, qword [0x6f88e8]
movsd qword [ebp - 0x2a8], xmm0
nop word [eax + eax]
cmp dword [ebp - 0x280], 0
je 0x493266
mov al, byte [ebx + 0xc]
test al, al
jne 0x493257
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x298]
cmp eax, dword [ebp + 0x10]
ja 0x493248
mov eax, dword [ebp - 0x280]
mov byte [eax + esi], 0
test edi, edi
je 0x493024
mov eax, dword [ebx + 0x10c]
cmp eax, 0xffffffff
je 0x493239
push dword [ebp - 0x280]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
add esp, 0xc
cmp eax, 0xffffffff
je 0x493239
mov ecx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x280]
mov dword [ebp - 0x28c], ecx
cmp edi, ecx
ja 0x49307b
cmp ecx, 0x10
mov dword [ebp - 0x90], edi
push edi
push dword [ebp - 0x27c]
lea esi, [ebp - 0xa0]
cmovae esi, dword [ebp - 0xa0]
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0xa0]
jmp 0x493126
cmp edi, 0x7fffffff
ja 0x493293
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x49309b
mov esi, SysReAllocString
jmp 0x4930b9
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x4930b1
mov esi, SysReAllocString
jmp 0x4930b9
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
call fcn.00424550
push edi
push dword [ebp - 0x27c]
mov ebx, eax
mov dword [ebp - 0x90], edi
push ebx
mov dword [ebp - 0x8c], esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x28c]
add esp, 0x10
mov byte [ebx + edi], 0
cmp eax, 0x10
jb 0x493120
mov ecx, dword [ebp - 0xa0]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x493116
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4924b6
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0xa0], ebx
cmp esi, 0x10
lea eax, [ebp - 0xa0]
push edi
cmovae eax, ebx
lea ecx, [ebp - 0x140]
push eax
call fcn.0042a9a0
mov eax, dword [ebp - 0x280]
add dword [ebp - 0xec], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x124], 1
call esi
mov ecx, eax
sub ecx, dword [ebp - 0x288]
je 0x49317e
imul eax, dword [ebp - 0x280], 0x3e8
xor edx, edx
shl ecx, 0xa
div ecx
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xf0]
test ecx, ecx
je 0x4931df
mov eax, dword [ebp - 0xec]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, eax
shr eax, 0x1f
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x6f8a40]
addsd xmm1, qword [eax*8 + 0x6f8a40]
mulsd xmm1, qword [ebp - 0x2a8]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movsd xmm1, qword [ebp - 0x2a8]
cvtps2pd xmm0, xmm0
minsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0xe8], xmm0
mov ebx, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x144]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x20]
call esi
mov esi, dword [ebp - 0x27c]
push 0xa001
push 0
push esi
mov dword [ebp - 0x288], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
push 0xa000
push esi
push dword [ebx + 0xb0]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x493275
mov edi, dword [ebp - 0x284]
jmp 0x492fc0
mov dword [ebp - 0x128], 9
jmp 0x492ec3
mov dword [ebp - 0x128], 0xc
jmp 0x492ec3
mov dword [ebp - 0x128], 0xe
jmp 0x492ec3
mov dword [ebp - 0x128], 0
jmp 0x492ec3
mov dword [ebp - 0x128], 0xd
jmp 0x492ec3
mov dword [ebp - 0x128], 8
jmp 0x492a18
call fcn.0042a710
int3