Function at 0x402e68
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xbc
mov eax, dword [0x41a110]
xor eax, ebp
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x78]
push ebx
push esi
push edi
push 0xf
pop esi
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp + 0x44], esi
call fcn.004016f9
push ebx
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x28], esi
call fcn.004016f9
lea eax, [ebp + 0x48]
push 0x4162a8
push eax
call fcn.00401d36
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401cef
push eax
call fcn.00401e40
add esp, 0x10
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], eax
call fcn.0040177f
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.0040177f
or esi, 0xffffffff
cmp dword [ebp - 0x30], ebx
je 0x402f3f
lea eax, [ebp - 0x54]
push eax
call fcn.00401d36
pop ecx
push esi
push ebx
push eax
lea ecx, [ebp + 0x10]
call fcn.00401a2a
push ebx
push edi
lea ecx, [ebp - 0x54]
call fcn.0040177f
lea eax, [ebp + 0x48]
push 0x4162bc
push eax
call fcn.00401d36
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401cef
add esp, 0xc
push esi
push ebx
push eax
lea ecx, [ebp + 0x2c]
call fcn.00401a2a
push ebx
push edi
lea ecx, [ebp - 0x54]
call fcn.0040177f
lea ecx, [ebp + 0x48]
jmp 0x403024
lea eax, [ebp + 0x48]
push str._binkwmusic.exe
push eax
call fcn.00402743
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401cef
push eax
call fcn.00401e40
add esp, 0x10
push ebx
push edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], eax
call fcn.0040177f
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.0040177f
cmp dword [ebp - 0x30], ebx
je 0x402faf
lea eax, [ebp - 0x54]
push eax
call fcn.00402743
pop ecx
push esi
push ebx
push eax
lea ecx, [ebp + 0x10]
call fcn.00401a2a
push ebx
push edi
lea ecx, [ebp - 0x54]
call fcn.0040177f
lea eax, [ebp + 0x48]
push str._bin
push eax
call fcn.00402743
jmp 0x402f14
lea eax, [ebp + 0x48]
push 0x4162e0
push eax
call fcn.00402695
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401cef
push eax
call fcn.00401e40
add esp, 0x10
push ebx
push edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], eax
call fcn.0040177f
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.0040177f
cmp dword [ebp - 0x30], ebx
je 0x40302b
lea eax, [ebp - 0x54]
push eax
call fcn.00402695
pop ecx
push esi
push ebx
push eax
lea ecx, [ebp + 0x10]
call fcn.00401a2a
push ebx
push edi
lea ecx, [ebp - 0x54]
call fcn.0040177f
lea eax, [ebp - 0x54]
push eax
call fcn.00402695
pop ecx
push esi
push ebx
push eax
lea ecx, [ebp + 0x2c]
call fcn.00401a2a
lea ecx, [ebp - 0x54]
push ebx
push edi
call fcn.0040177f
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00401cab
push ebx
push 0x4162f0
lea ecx, [ebp - 0x28]
call fcn.00401715
cmp eax, esi
je 0x403095
sub esp, 0x1c
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.00401bca
call fcn.00402859
add esp, 0x1c
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.0040177f
push ebx
push edi
lea ecx, [ebp + 0x10]
call fcn.0040177f
push ebx
push edi
lea ecx, [ebp + 0x2c]
call fcn.0040177f
mov eax, edi
mov ecx, dword [ebp + 0x64]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045aa
add ebp, 0x68
leave
ret 0x10
push 0x4162f8
push 0x416304
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.00401cef
add esp, 0xc
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401cef
push eax
call fcn.00401e40
add esp, 0x10
neg eax
sbb al, al
push ebx
inc al
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x29], al
call fcn.0040177f
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.0040177f
push ebx
cmp byte [ebp - 0x29], bl
je 0x40311d
push 0x416308
push 0x416318
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, edi
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.0040177f
push ebx
push edi
lea ecx, [ebp + 0x10]
call fcn.0040177f
push ebx
push edi
lea ecx, [ebp + 0x2c]
call fcn.0040177f
mov eax, esi
jmp 0x403081
push str._autorun
lea ecx, [ebp - 0x28]
call fcn.00401715
cmp eax, esi
je 0x40320b
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x416390
push edi
push str.autorun_delay
push 0x4163b0
call esi
push str.C:YL_kwc.ini
push 0x15f90
push str.delay_ms
test eax, eax
push 0x4163d4
setne byte [ebp - 0x29]
call esi
mov dword [ebp - 0x30], eax
push 0x4163dc
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.00401cef
mov eax, dword [ebp + 0x4c]
add esp, 0xc
cmp dword [ebp + 0x60], 0x10
jae 0x40318a
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00401cab
lea eax, [ebp - 0x54]
push eax
call fcn.00401e40
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x34], eax
call fcn.0040177f
cmp dword [ebp - 0x34], ebx
je 0x4031ee
cmp dword [ebp + 0x60], 0x10
mov eax, dword [ebp + 0x4c]
jae 0x4031bb
lea eax, [ebp + 0x4c]
push eax
push ebx
push str.NewShowCount
push 0x41640c
call esi
cmp dword [ebp + 0x60], 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x4c]
jae 0x4031d8
lea eax, [ebp + 0x4c]
push eax
push ebx
push str.ShowedCount
push str.ShowMainUISetting
call esi
cmp dword [ebp - 0x34], eax
jle 0x4031ee
mov byte [ebp - 0x29], bl
cmp byte [ebp - 0x29], bl
je 0x403201
cmp dword [ebp - 0x30], ebx
jle 0x403201
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.0040177f
call fcn.0040354f
test eax, eax
je 0x4032cc
push ebx
call fcn.004035a2
pop ecx
test eax, eax
jne 0x4032cc
call fcn.0040107e
test eax, eax
je 0x4032cc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [ebp + 0x44], 0x10
mov esi, dword [ebp + 0x30]
jae 0x403247
lea esi, [ebp + 0x30]
push 0x416440
push 0x41644c
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.00401cef
add esp, 0xc
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401cef
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x403279
mov eax, dword [eax + 4]
jmp 0x40327c
add eax, 4
push esi
push dword [ebp - 0x38]
push eax
push ebx
push ebx
call fcn.004038ce
add esp, 0x14
push ebx
push edi
lea ecx, [ebp - 0x54]
call fcn.0040177f
push ebx
push edi
lea ecx, [ebp + 0x48]
call fcn.0040177f
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push str.kwmusicmaindlg
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x40338c
inc esi
cmp esi, 0xa
jl 0x4032a7
push dword [ebp - 0x38]
lea ecx, [ebp - 0x54]
push str.kwmusic.exe
call fcn.00401cab
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00401cef
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x54]
call fcn.0040177f
cmp dword [ebp + 0x44], 0x10
mov ecx, dword [ebp + 0x30]
jae 0x4032ff
lea ecx, [ebp + 0x30]
cmp dword [ebp + 0xc], 0x10
mov eax, dword [ebp - 8]
jae 0x40330b
lea eax, [ebp - 8]
push ecx
push eax
call fcn.0040117e
pop ecx
pop ecx
mov esi, eax
call fcn.004010f3
test al, al
jne 0x403338
cmp dword [ebp + 0x44], 0x10
mov eax, dword [ebp + 0x30]
jae 0x40332b
lea eax, [ebp + 0x30]
push eax
push str.iesandbox.exe
call fcn.0040117e
pop ecx
pop ecx
cmp esi, ebx
je 0x4033c0
sub esp, 0x1c
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.00401bca
call fcn.004020e1
add esp, 0x1c
call fcn.0040354f
test eax, eax
je 0x403379
push 0x4164a8
call fcn.00403614
mov dword [esp], 0x4164bc
call fcn.00403614
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
lea ecx, [ebp - 0xc]
call fcn.0040177f
jmp 0x4033b9
sub esp, 0x1c
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.00401bca
call fcn.004020e1
push 0x416460
call fcn.00403614
push 0x416474
call fcn.00403614
add esp, 0x24
xor esi, esi
jmp 0x4030f8
call fcn.0040354f
test eax, eax
je 0x4033e0
push 0x4164d0
call fcn.00403614
mov dword [esp], str.RunAsStdUser_Task
call fcn.00403614
pop ecx
push ebx
push edi
lea ecx, [ebp - 0xc]
call fcn.0040177f
jmp 0x4030f6