Function at 0x404e30
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4407b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa28
mov eax, dword [0x4551e4]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push edi
mov edi, dword [esp + 0xa48]
push edi
push 0x104
mov dword [esp + 0xa3c], eax
lea eax, [esp + 0x26c]
push eax
push 0x443d70
push str.DefaultPath
mov ebx, ecx
push str.Globals
mov dword [esp + 0x38], ebx
call ebp
lea ecx, [esp + 0x264]
push ecx
lea esi, [ebx + 0x1c]
call fcn.00423ded
add esp, 4
push eax
lea edx, [esp + 0x268]
push edx
mov ecx, esi
call fcn.00402b50
push edi
push 0x104
lea eax, [esp + 0x26c]
push eax
push 0x443d70
push str.TT98Url
push str.Globals
call ebp
lea ecx, [esp + 0x264]
push ecx
lea esi, [ebx + 0x38]
call fcn.00423ded
add esp, 4
push eax
lea edx, [esp + 0x268]
push edx
mov ecx, esi
call fcn.00402b50
mov esi, dword [ebx + 4]
test esi, esi
jne 0x404efd
xor eax, eax
jmp 0x404f06
push esi
call fcn.00423ded
add esp, 4
push eax
push esi
lea ecx, [ebx + 0x38]
call fcn.00402b50
push edi
push 0x104
lea eax, [esp + 0x26c]
push eax
push 0x443d70
push str.baiduUrl
push str.Globals
call ebp
lea ecx, [esp + 0x264]
push ecx
lea esi, [ebx + 0x3c]
call fcn.00423ded
add esp, 4
push eax
lea edx, [esp + 0x268]
push edx
mov ecx, esi
call fcn.00402b50
push edi
push 0x5dc
lea eax, [esp + 0x26c]
push eax
push 0x443d70
push str.VectorBaiduUrl
push str.Globals
call ebp
push ecx
lea edx, [esp + 0x268]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00403ca0
mov ecx, ebx
call fcn.00404cc0
push edi
push 0x104
lea eax, [esp + 0x26c]
push eax
push 0x443d70
push str.googleUrl
push str.Globals
call ebp
lea ecx, [esp + 0x264]
push ecx
lea esi, [ebx + 0x54]
call fcn.00423ded
add esp, 4
push eax
lea edx, [esp + 0x268]
push edx
mov ecx, esi
call fcn.00402b50
push edi
push 0x104
lea eax, [esp + 0x26c]
push eax
push 0x443d70
push str.SendInstallUrlHost
push str.Globals
call ebp
lea ecx, [esp + 0x264]
push ecx
lea esi, [ebx + 0x24]
call fcn.00423ded
add esp, 4
push eax
lea edx, [esp + 0x268]
push edx
mov ecx, esi
call fcn.00402b50
push edi
push 0x104
lea eax, [esp + 0x26c]
push eax
push 0x443d70
push str.WnType
push str.Globals
call ebp
lea ecx, [esp + 0x264]
push ecx
lea esi, [ebx + 0x58]
call fcn.00423ded
add esp, 4
push eax
lea edx, [esp + 0x268]
push edx
mov ecx, esi
call fcn.00402b50
push edi
push 0x104
lea eax, [esp + 0x26c]
push eax
push 0x443d70
push str.WnInstallType
push str.Globals
call ebp
lea ecx, [esp + 0x264]
push ecx
lea esi, [ebx + 0x28]
call fcn.00423ded
add esp, 4
push eax
lea edx, [esp + 0x268]
push edx
mov ecx, esi
call fcn.00402b50
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0xa40], 0
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
push str.OtherItemName
mov byte [esp + 0xa44], 1
call fcn.00423ded
add esp, 4
push eax
push str.OtherItemName
lea ecx, [esp + 0x1c]
call fcn.00402960
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
or eax, ecx
jge 0x405111
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push eax
push str.Globals
call ebp
test esi, esi
jne 0x405131
xor eax, eax
jmp 0x405142
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov ecx, dword [ebx + 0x80]
lea edx, [esp + 0x10]
add ecx, 8
push edx
call fcn.00402f50
push str.OtherItemSoftPath
call fcn.00423ded
add esp, 4
push eax
push str.OtherItemSoftPath
lea ecx, [esp + 0x1c]
call fcn.00402960
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
or eax, ecx
jge 0x4051ab
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push eax
push str.Globals
call ebp
test esi, esi
jne 0x4051cb
xor eax, eax
jmp 0x4051dc
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov ecx, dword [ebx + 0x80]
lea edx, [esp + 0x10]
add ecx, 0x18
push edx
call fcn.00402f50
push str.OtherItemExeFile
call fcn.00423ded
add esp, 4
push eax
push str.OtherItemExeFile
lea ecx, [esp + 0x1c]
call fcn.00402960
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
or eax, ecx
jge 0x405245
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push eax
push str.Globals
call ebp
test esi, esi
jne 0x405265
xor eax, eax
jmp 0x405276
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov ecx, dword [ebx + 0x80]
lea edx, [esp + 0x10]
add ecx, 4
push edx
call fcn.00402f50
push str.OtherItemCab
call fcn.00423ded
add esp, 4
push eax
push str.OtherItemCab
lea ecx, [esp + 0x1c]
call fcn.00402960
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
or eax, ecx
jge 0x4052df
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push eax
push str.Globals
call ebp
test esi, esi
jne 0x4052ff
xor eax, eax
jmp 0x405310
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov ecx, dword [ebx + 0x80]
lea edx, [esp + 0x10]
add ecx, 0x3c
push edx
call fcn.00402f50
push str.OtherItemTranFile
call fcn.00423ded
add esp, 4
push eax
push str.OtherItemTranFile
lea ecx, [esp + 0x1c]
call fcn.00402960
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
or eax, ecx
jge 0x405379
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push eax
push str.Globals
call ebp
test esi, esi
jne 0x405399
xor eax, eax
jmp 0x4053aa
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
push ecx
mov word [esi + eax*2], 0
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], esp
mov dword [esp + 0x20], esp
push eax
call fcn.00402510
mov ecx, dword [esp + 0x24]
add eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebx + 0x80]
add esp, 4
call fcn.00416fb0
push str.OtherItemDeleteFile
call fcn.00423ded
add esp, 4
push eax
push str.OtherItemDeleteFile
lea ecx, [esp + 0x1c]
call fcn.00402960
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
or eax, ecx
jge 0x405429
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call ebp
test esi, esi
jne 0x405449
xor eax, eax
jmp 0x40545a
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
push ecx
mov word [esi + eax*2], 0
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], esp
mov dword [esp + 0x20], esp
push eax
call fcn.00402510
mov ecx, dword [esp + 0x24]
add eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebx + 0x80]
add esp, 4
call fcn.00417670
push str.OtherItemDeleteDirectory
call fcn.00423ded
add esp, 4
push eax
push str.OtherItemDeleteDirectory
lea ecx, [esp + 0x1c]
call fcn.00402960
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
or eax, ecx
jge 0x4054d9
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call ebp
test esi, esi
jne 0x4054f9
xor eax, eax
jmp 0x40550a
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
push ecx
mov word [esi + eax*2], 0
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], esp
mov ebp, esp
push eax
call fcn.00402510
add eax, 0x10
mov dword [ebp], eax
mov ecx, dword [ebx + 0x80]
add esp, 4
call fcn.004177e0
push str.OtherItemCabNum
call fcn.00423ded
add esp, 4
push eax
push str.OtherItemCabNum
lea ecx, [esp + 0x1c]
call fcn.00402960
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 0
push eax
push str.Globals
call ebp
mov ecx, dword [ebx + 0x80]
mov dword [ecx + 0x28], eax
mov edx, dword [ebx + 0x80]
mov eax, dword [edx + 0x28]
mov ecx, dword [ebx + 0xc]
push edi
push 0
push str.ItemCount
add ecx, eax
push str.Globals
mov dword [ebx + 0xc], ecx
call ebp
push edi
push 0
push str.IsShowBaiduToolBar
push str.Globals
mov dword [ebx + 0x5c], eax
call ebp
push edi
push 0
push str.IsShowGoogleToolBar
push str.Globals
mov dword [ebx + 0xac], eax
call ebp
push edi
push 0
push str.IsSetTT98DefaultUrl
push str.Globals
mov dword [ebx + 0xb0], eax
call ebp
push edi
push 0
push str.IsSetBaiduSearchDefaultUrl
push str.Globals
mov dword [ebx + 0xb4], eax
call ebp
mov dword [ebx + 0xb8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x406238
cmp eax, 1
mov dword [esp + 0x24], 1
jl 0x406238
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x18]
push str.ItemName_d
push ecx
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405650
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405674
xor eax, eax
jmp 0x405685
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
push 0x4440cc
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], 0
call fcn.00423d1d
add esp, 8
test eax, eax
jne 0x4056b5
mov eax, dword [esp + 0x20]
mov ebp, dword [eax + 0x78]
jmp 0x40573a
push 0x4440bc
push esi
call fcn.00423d1d
add esp, 8
test eax, eax
jne 0x4056d0
mov ecx, dword [esp + 0x20]
mov ebp, dword [ecx + 0x68]
jmp 0x40573a
push 0x4440a4
push esi
call fcn.00423d1d
add esp, 8
test eax, eax
jne 0x4056eb
mov edx, dword [esp + 0x20]
mov ebp, dword [edx + 0x6c]
jmp 0x40573a
push 0x444098
push esi
call fcn.00423d1d
add esp, 8
test eax, eax
jne 0x405706
mov eax, dword [esp + 0x20]
mov ebp, dword [eax + 0x70]
jmp 0x40573a
push 0x44408c
push esi
call fcn.00423d1d
add esp, 8
test eax, eax
jne 0x405721
mov ecx, dword [esp + 0x20]
mov ebp, dword [ecx + 0x74]
jmp 0x40573a
push 0x444080
push esi
call fcn.00423d1d
add esp, 8
test eax, eax
jne 0x40573e
mov edx, dword [esp + 0x20]
mov ebp, dword [edx + 0x7c]
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x10]
lea ecx, [ebp + 8]
push eax
call fcn.00402f50
push ebx
lea ecx, [esp + 0x18]
push str.ItemDescribe_d
push ecx
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405786
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x4057aa
xor eax, eax
jmp 0x4057bb
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.00402f50
push ebx
lea ecx, [esp + 0x18]
push str.ItemVer_d
push ecx
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405815
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405839
xor eax, eax
jmp 0x40584a
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
lea ecx, [ebp + 0x1c]
push eax
call fcn.00402f50
push ebx
lea ecx, [esp + 0x18]
push str.ItemSoftPath_d
push ecx
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x4058a4
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x4058c8
xor eax, eax
jmp 0x4058d9
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
lea ecx, [ebp + 0x18]
push eax
call fcn.00402f50
push ebx
lea ecx, [esp + 0x18]
push str.ItemByServiceName_d
push ecx
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405933
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405957
xor eax, eax
jmp 0x405968
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.00402f50
push ebx
lea ecx, [esp + 0x18]
push str.ItemImeName_d
push ecx
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x4059c1
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x4059e5
xor eax, eax
jmp 0x4059f6
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
lea ecx, [ebp + 0x10]
push eax
call fcn.00402f50
mov ecx, dword [0x45616c]
mov ecx, dword [ecx + 0x18]
call fcn.0040ba90
test eax, eax
push ebx
je 0x405a34
push str.ItemImePath64_d
lea edx, [esp + 0x1c]
push edx
jmp 0x405a3e
push str.ItemImePath_d
lea eax, [esp + 0x1c]
push eax
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405a6e
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push ecx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405a92
xor eax, eax
jmp 0x405aa3
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
lea edx, [esp + 0x10]
mov dword [esi - 0xc], eax
lea ecx, [ebp + 0x14]
push edx
mov word [esi + eax*2], 0
call fcn.00402f50
push ebx
lea eax, [esp + 0x18]
push str.ItemCab_d
push eax
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405afd
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push ecx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405b21
xor eax, eax
jmp 0x405b32
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
lea edx, [esp + 0x10]
mov dword [esi - 0xc], eax
lea ecx, [ebp + 0x3c]
push edx
mov word [esi + eax*2], 0
call fcn.00402f50
push ebx
lea eax, [esp + 0x18]
push str.ItemCabNum_d
push eax
call fcn.00403000
mov ecx, dword [esp + 0x20]
add esp, 0xc
push edi
push 0
push ecx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
lea edx, [esp + 0x18]
push str.ItemExeFile_d
push edx
mov dword [ebp + 0x28], eax
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405bb5
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push eax
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405bd9
xor eax, eax
jmp 0x405bea
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
lea edx, [esp + 0x10]
mov dword [esi - 0xc], eax
lea ecx, [ebp + 4]
push edx
mov word [esi + eax*2], 0
call fcn.00402f50
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x18]
call fcn.0040ba90
test eax, eax
push ebx
je 0x405c27
push str.ItemRegExeFile64_d
lea ecx, [esp + 0x1c]
push ecx
jmp 0x405c31
push str.ItemRegExeFile_d
lea edx, [esp + 0x1c]
push edx
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405c61
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push eax
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405c85
xor eax, eax
jmp 0x405c96
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
lea edx, [esp + 0x10]
mov dword [esi - 0xc], eax
lea ecx, [ebp + 0x40]
push edx
mov word [esi + eax*2], 0
call fcn.00402f50
push ebx
lea eax, [esp + 0x18]
push str.ItemParameter_d
push eax
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405cf0
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push ecx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405d14
xor eax, eax
jmp 0x405d25
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
lea edx, [esp + 0x10]
mov dword [esi - 0xc], eax
lea ecx, [ebp + 0x44]
push edx
mov word [esi + eax*2], 0
call fcn.00402f50
push ebx
lea eax, [esp + 0x18]
push str.ItemRunExeToolCmdLine_d
push eax
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405d7f
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push ecx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405da3
xor eax, eax
jmp 0x405db4
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
lea edx, [esp + 0x10]
mov dword [esi - 0xc], eax
lea ecx, [ebp + 0x24]
push edx
mov word [esi + eax*2], 0
call fcn.00402f50
push ebx
lea eax, [esp + 0x18]
push str.ItemTranFile_d
push eax
call fcn.00403000
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405e0e
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push ecx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405e32
xor eax, eax
jmp 0x405e43
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
push ecx
mov dword [esp + 0x1c], esp
lea ebx, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push ebx
mov word [esi + eax*2], 0
call fcn.00402510
mov edx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [edx], eax
call fcn.00416fb0
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push str.ItemHoldFile_d
push ecx
call fcn.00403000
mov eax, dword [ebx + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebx + 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405eb9
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405edd
xor eax, eax
jmp 0x405eee
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
push ecx
mov dword [esp + 0x1c], esp
lea ebx, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push ebx
mov word [esi + eax*2], 0
call fcn.00402510
mov ecx, dword [esp + 0x20]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov ecx, ebp
call fcn.00417220
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push str.ItemCopyInstallFile_d
push eax
call fcn.00403000
mov eax, dword [ebx + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebx + 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x405f64
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push ecx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x405f88
xor eax, eax
jmp 0x405f99
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
push ecx
mov dword [esp + 0x1c], esp
lea ebx, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push ebx
mov word [esi + eax*2], 0
call fcn.00402510
mov edx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [edx], eax
call fcn.00417390
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push str.ItemCopyCommFile_d
push ecx
call fcn.00403000
mov eax, dword [ebx + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebx + 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x40600f
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406033
xor eax, eax
jmp 0x406044
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
push ecx
mov dword [esp + 0x1c], esp
lea ebx, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push ebx
mov word [esi + eax*2], 0
call fcn.00402510
mov ecx, dword [esp + 0x20]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov ecx, ebp
call fcn.00417500
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push str.ItemDeleteFile_d
push eax
call fcn.00403000
mov eax, dword [ebx + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebx + 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x4060ba
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push ecx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x4060de
xor eax, eax
jmp 0x4060ef
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
push ecx
mov dword [esp + 0x1c], esp
lea ebx, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push ebx
mov word [esi + eax*2], 0
call fcn.00402510
mov edx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [edx], eax
call fcn.00417670
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push str.ItemDeleteDirectory_d
push ecx
call fcn.00403000
mov eax, dword [ebx + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebx + 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406165
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004024c0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x3e8
push esi
push 0x443d70
push edx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406189
xor eax, eax
jmp 0x40619a
push esi
call fcn.00423ded
add esp, 4
test eax, eax
jl 0x4063bb
cmp eax, dword [esi - 8]
jg 0x4063bb
mov dword [esi - 0xc], eax
push ecx
mov word [esi + eax*2], 0
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], esp
mov ebx, esp
push eax
call fcn.00402510
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [ebx], eax
call fcn.004177e0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x88]
add ecx, 0x84
test eax, eax
jne 0x4061e3
xor ebx, ebx
jmp 0x4061eb
mov ebx, dword [ecx + 8]
sub ebx, eax
sar ebx, 2
test eax, eax
je 0x406208
mov edx, dword [ecx + 0xc]
sub edx, eax
sar edx, 2
cmp ebx, edx
jae 0x406208
mov eax, dword [ecx + 8]
mov dword [eax], ebp
add eax, 4
mov dword [ecx + 8], eax
jmp 0x406218
mov eax, dword [ecx + 8]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
call fcn.00403a80
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x5c]
inc eax
cmp eax, edx
mov dword [esp + 0x24], eax
jle 0x405611
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, ecx
push edi
push 0
push str.nShowEndPage
push str.Globals
call ebp
test eax, eax
mov dword [ebx + 0x60], eax
je 0x406344
mov ebp, 1
cmp eax, ebp
jl 0x406344
nop
lea ecx, [esp + 0x28]
call fcn.00401080
push ebp
lea edx, [esp + 0x38]
push str.RunExe_Text_d
push edx
mov byte [esp + 0xa4c], 2
mov dword [esp + 0x3c], 0
call fcn.0042396a
add esp, 0xc
push edi
push 0x104
lea eax, [esp + 0x64]
push eax
push 0x443d70
lea ecx, [esp + 0x44]
push ecx
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x5c]
push edx
call fcn.00423ded
add esp, 4
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x30]
call fcn.00402960
push ebp
lea ecx, [esp + 0x38]
push str.RunExe_Run_d
push ecx
call fcn.0042396a
add esp, 0xc
push edi
push 0x104
lea edx, [esp + 0x64]
push edx
push 0x443d70
lea eax, [esp + 0x44]
push eax
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x5c]
push ecx
call fcn.00423ded
add esp, 4
push eax
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x34]
call fcn.00402960
lea eax, [esp + 0x28]
push eax
lea ecx, [ebx + 0x98]
call fcn.00404510
lea ecx, [esp + 0x28]
mov byte [esp + 0xa40], 1
call fcn.004010b0
mov eax, dword [ebx + 0x60]
inc ebp
cmp ebp, eax
jle 0x406260
add esi, 0xfffffff0
mov byte [esp + 0xa40], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406366
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xa40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40638f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xa38]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa34]
mov eax, 1
call fcn.00423492
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa34
ret 4
push 0x80070057
call fcn.004020c0
int3