Function at 0x404e30
Capabilities:
Download url
Read file on windows
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x430250
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x440de4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x2c], ebx
push str.CDownLoadManager::DownLoadVersion
push str._s_enter
mov dword [esp + 0x40], 0
call section..text
push 0x433652
push 0
call fcn.00418efb
mov ebp, dword [esp + 0x50]
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x404eca
push str.CDownLoadManager::DownLoadVersion
push str._s_leave
call section..text
add esp, 8
lea eax, [ebp - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ec3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4054a3
push str.full_filelist.xml
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00401e90
add esp, 0xc
lea edi, [ebx + 0x3c]
push eax
mov ecx, edi
mov byte [esp + 0x3c], 1
call fcn.00401db0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx + 0x34]
push str.filelist.xml
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00401e90
add esp, 0xc
lea esi, [ebx + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x3c], 2
call fcn.00401db0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404f61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
mov ecx, ebx
call fcn.00404c10
mov eax, dword [esi]
mov ecx, dword [edi]
push 0
push 0
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov ebx, eax
test ebx, ebx
je 0x404fc5
mov esi, dword [esi]
push esi
call fcn.00401200
mov ecx, dword [edi]
push ebx
push ecx
push str.Call_URLDownloadToFile__s__error_code:0x_XL_
call section..text
push str.CDownLoadManager::DownLoadVersion
push str._s_leave
call section..text
lea eax, [ebp - 0x10]
add esp, 0x18
mov dword [esp + 0x38], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x404eb7
call fcn.0040a5ca
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404fdf
push 0x80004005
call fcn.004012c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov byte [esp + 0x38], 3
jle 0x40500a
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00401420
mov eax, dword [esi]
push eax
call fcn.004011a0
lea ebx, [eax + 1]
push ebx
mov dword [esp + 0x24], eax
call fcn.00409924
push ebx
mov ebp, eax
push 0
push ebp
call fcn.00419080
mov esi, dword [esi]
push 0x433654
push esi
call fcn.0041776b
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x405057
mov edx, dword [esp + 0x1c]
push esi
push edx
push 1
push ebp
call fcn.0041ae42
push esi
call fcn.004174dc
add esp, 0x14
push 0x433652
lea ecx, [esp + 0x18]
call fcn.004023b0
test ebp, ebp
mov byte [esp + 0x38], 4
jne 0x405072
xor eax, eax
jmp 0x405082
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405077
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.004019f0
test ebp, ebp
je 0x40509a
push ebp
call fcn.00409929
add esp, 4
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x405103
push str.FilelistContent_is_empty
call section..text
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4050d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4050f7
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
jmp 0x404ea2
xor ebp, ebp
mov ebx, 7
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jl 0x405318
push str._spath_
push eax
call fcn.0041a46b
add esp, 8
test eax, eax
je 0x405318
mov edx, dword [esp + 0x14]
sub eax, edx
mov ecx, eax
cmp ecx, 0xffffffff
je 0x405318
mov eax, dword [edx - 0xc]
sub eax, ecx
sub eax, ebx
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004039e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.00401db0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405189
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jge 0x405198
or eax, 0xffffffff
jmp 0x4051b3
push str.__spath_
push eax
call fcn.0041a46b
add esp, 8
test eax, eax
jne 0x4051af
or eax, 0xffffffff
jmp 0x4051b3
sub eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401b40
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.00401db0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4051f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jl 0x40521d
push 0x433d80
push edi
call fcn.0041a46b
add esp, 8
test eax, eax
je 0x40521d
sub eax, edi
cmp eax, 0xffffffff
jne 0x4052dd
push 0x2e
push edi
call fcn.0041977b
add esp, 8
test eax, eax
je 0x40510a
sub eax, edi
mov esi, eax
cmp esi, 0xffffffff
je 0x40510a
push 0x433652
lea ecx, [esp + 0x20]
call fcn.004023b0
mov eax, dword [edi - 0xc]
sub eax, esi
sub eax, 1
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], bl
call fcn.004039e0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 8
call fcn.00401db0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405299
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push 0x433d7c
push ecx
call fcn.004196a8
add esp, 8
test eax, eax
je 0x4052f2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40510a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40510a
push edi
push str.Substring__HiSuite__found_in___s__
mov ebp, 1
call section..text
add esp, 8
jmp 0x405318
mov ecx, dword [esp + 0x1c]
push ecx
push edi
push str.Suffix_of___s__is___s__check_ok_
mov ebp, 1
call section..text
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 4
call fcn.004016b0
cmp dword [edi - 0xc], 0
jne 0x40534d
push str.SetupExeName_is_empty
call section..text
add esp, 4
lea ecx, [esp + 0x14]
call fcn.004016b0
lea ecx, [esp + 0x18]
call fcn.004016b0
lea ecx, [esp + 0x40]
call fcn.004016b0
xor eax, eax
jmp 0x4054a3
test ebp, ebp
jne 0x405358
push str.Setup_Package_not_found_
jmp 0x405323
push edi
push str.SetupExeName___s_
call section..text
push str.full_
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00401e90
lea ecx, [esp + 0x2c]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x58], 9
call fcn.00403c80
add esp, 0x20
mov ebx, dword [esp + 0x2c]
lea esi, [ebx + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x3c], 0xa
call fcn.00401fb0
lea ecx, [esp + 0x28]
call fcn.004016b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 4
call fcn.004016b0
lea eax, [esp + 0x18]
push eax
lea eax, [ebx + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00403c80
add esp, 0xc
lea edi, [ebx + 0x30]
push eax
mov ecx, edi
mov byte [esp + 0x3c], 0xb
call fcn.00401fb0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 4
call fcn.004016b0
mov edx, dword [ebx + 0x44]
push edx
mov ecx, ebx
call fcn.00403000
push esi
call fcn.00404c10
mov eax, dword [edi]
mov ecx, dword [esi]
push ebx
push 0
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov ebp, eax
mov eax, dword [ebx + 4]
push eax
push str.Downloaded_progress__d_____
call section..text
add esp, 8
test ebp, ebp
je 0x405471
mov ecx, dword [edi]
push ecx
call fcn.00401200
add esp, 4
cmp ebp, 0x80004004
jne 0x405449
push ebp
push str.User_canceled_URLDownloadToFile_code:0x_XL_
call section..text
add esp, 8
jmp 0x40545a
mov edx, dword [esi]
push ebp
push edx
push str.Call_URLDownloadToFile__s__error_code:0x_XL_
call section..text
add esp, 0xc
push str.CDownLoadManager::DownLoadVersion
push str._s_leave
call section..text
add esp, 8
jmp 0x40532b
push str.CDownLoadManager::DownLoadVersion
push str._s_leave
call section..text
add esp, 8
lea ecx, [esp + 0x14]
call fcn.004016b0
lea ecx, [esp + 0x18]
call fcn.004016b0
lea ecx, [esp + 0x40]
call fcn.004016b0
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4