Function at 0x401fc0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542d0c
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x595534]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x208
lea eax, [ebp - 0x834]
push 0
push eax
call fcn.004fb6e0
push 0x208
lea eax, [ebp - 0x62c]
push 0
push eax
call fcn.004fb6e0
add esp, 0x18
lea eax, [ebp - 0x834]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.004fb6e0
add esp, 8
lea eax, [ebp - 0x834]
push eax
push ecx
lea ecx, [ebp - 0x424]
call fcn.00401e00
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
cmp word [ebp - 0x424], 0
jne 0x402072
xor ecx, ecx
jmp 0x40208f
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402080
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x424]
mov ecx, 0x59b0d0
push eax
call fcn.00403120
push ecx
lea eax, [ebp - 0x834]
push eax
push ecx
lea ecx, [ebp - 0x62c]
call fcn.00401e00
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov dword [ebp - 0x874], 7
xorps xmm0, xmm0
mov dword [ebp - 0x878], 0
movsd qword [ebp - 0x8b0], xmm0
mov word [ebp - 0x888], ax
cmp word [ebp - 0x62c], ax
jne 0x4020f7
xor ecx, ecx
jmp 0x40210f
lea ecx, [ebp - 0x62c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402100
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x888]
call fcn.00403120
push 0x19
push str.HudunInstallerConfig.ini
lea ecx, [ebp - 0x888]
mov dword [ebp - 4], 0
call fcn.00403340
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x402145
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x838], 7
mov dword [ebp - 0x83c], 0
mov word [ebp - 0x84c], ax
cmp word [edx], ax
jne 0x40216b
xor ecx, ecx
jmp 0x40217f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402170
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x84c]
call fcn.00403120
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x874]
cmp eax, 8
jb 0x4021ae
inc eax
lea ecx, [ebp - 0x888]
push eax
push dword [ebp - 0x888]
call fcn.004017e0
xor eax, eax
mov dword [ebp - 0x874], 7
cmp dword [ebp - 0x838], 8
mov word [ebp - 0x888], ax
lea eax, [ebp - 0x84c]
cmovae eax, dword [ebp - 0x84c]
push eax
mov dword [ebp - 0x878], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40269d
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmovae eax, dword [ebp - 0x84c]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str.http:__tj.sjhfrj.com_redirect_ver1_audioconverter__ROUTE_1.0_installer_123456
push str.DownloadUrl
push str.Install
call esi
lea eax, [ebp - 0x21c]
mov ecx, 0x59b0a0
push eax
call fcn.00401ec0
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
cmovae eax, dword [ebp - 0x84c]
push eax
push 1
push str.DownloadType
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp - 0x838], 8
mov dword [0x59b148], eax
lea eax, [ebp - 0x84c]
cmovae eax, dword [ebp - 0x84c]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str.true
push str.IsCheckNet
push str.Install
call esi
xor eax, eax
mov dword [ebp - 0x85c], 7
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
cmp word [ebp - 0x21c], ax
jne 0x4022bf
xor ecx, ecx
jmp 0x4022df
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4022d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x870]
call fcn.00403120
push str.true
lea ecx, [ebp - 0x870]
call fcn.00403990
test eax, eax
mov eax, dword [ebp - 0x85c]
sete bl
cmp eax, 8
jb 0x402325
inc eax
lea ecx, [ebp - 0x870]
push eax
push dword [ebp - 0x870]
call fcn.004017e0
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
mov byte [0x59b14c], bl
cmovae eax, dword [ebp - 0x84c]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str.true
push str.IsEnableAppSensors
push str.Install
call esi
xor eax, eax
mov dword [ebp - 0x85c], 7
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
cmp word [ebp - 0x21c], ax
jne 0x402387
xor ecx, ecx
jmp 0x40239f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402390
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x870]
call fcn.00403120
push str.true
lea ecx, [ebp - 0x870]
call fcn.00403990
test eax, eax
mov eax, dword [ebp - 0x85c]
sete bl
cmp eax, 8
jb 0x4023e5
inc eax
lea ecx, [ebp - 0x870]
push eax
push dword [ebp - 0x870]
call fcn.004017e0
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
mov byte [0x59b14d], bl
cmovae eax, dword [ebp - 0x84c]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str..downloader
push str.DlAppNameSuffix
push str.Install
call esi
cmp word [ebp - 0x21c], 0
jne 0x40242b
xor ecx, ecx
jmp 0x402443
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402434
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, 0x59b0e8
push eax
call fcn.00403120
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
cmovae eax, dword [ebp - 0x84c]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x57d188
push str.m_DlAppVersion
push str.Install
call esi
cmp word [ebp - 0x21c], 0
jne 0x402495
xor ecx, ecx
jmp 0x4024af
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4024a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, 0x59b100
push eax
call fcn.00403120
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
cmovae eax, dword [ebp - 0x84c]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x57d038
push str.DownloadScale
push str.Install
call esi
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x85c], 7
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
cmp word [ebp - 0x21c], ax
jne 0x402521
xor ecx, ecx
jmp 0x40253f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402530
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x870]
call fcn.00403120
lea ecx, [ebp - 0x870]
mov byte [ebp - 4], 4
call fcn.00401e50
mov eax, dword [ebp - 0x85c]
movsd qword [ebp - 0x8a8], xmm0
cmp eax, 8
jb 0x40258f
inc eax
lea ecx, [ebp - 0x870]
push eax
push dword [ebp - 0x870]
call fcn.004017e0
movsd xmm0, qword [ebp - 0x8a8]
mov dword [ebp - 4], 2
jmp 0x4025cc
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
movsd qword [0x59b150], xmm0
cmovae eax, dword [ebp - 0x84c]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x57d188
push str.InstCmd
push str.Install
call esi
xor eax, eax
mov dword [ebp - 0x88c], 7
mov dword [ebp - 0x890], 0
mov word [ebp - 0x8a0], ax
cmp word [ebp - 0x21c], ax
jne 0x402630
xor ecx, ecx
jmp 0x40264f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402640
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x8a0]
call fcn.00403120
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x8a0]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x59b118
call fcn.00403220
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x88c]
cmp eax, 8
jb 0x40269d
inc eax
lea ecx, [ebp - 0x8a0]
push eax
push dword [ebp - 0x8a0]
call fcn.004017e0
push 0xe
push str.AudioConverter
mov ecx, 0x59b0a0
call fcn.00403120
push 5
push 0x57d08c
mov ecx, 0x59b0b8
call fcn.00403120
mov eax, dword [ebp - 0x838]
cmp eax, 8
jb 0x4026dd
inc eax
lea ecx, [ebp - 0x84c]
push eax
push dword [ebp - 0x84c]
call fcn.004017e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ff9ee
mov esp, ebp
pop ebp
ret