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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, 0x49fb10
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x416d71
mov ecx, eax
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x416d7e
lea edx, [ebp - 0x10]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x416d7e
push 0x49fb10
lea eax, [ebp - 0x10]
call fcn.00404530
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00417c00
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 2
call fcn.0040a4b0
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416dc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416de8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416e15
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x417afd
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404780
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 6
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, str.SlientInstall
mov byte [ebp - 4], 7
test ecx, 0xffff0000
jne 0x416e72
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x416e7f
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x416e7f
push str.SlientInstall
lea eax, [ebp - 0x18]
call fcn.00404530
mov bl, 8
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, str.param
shr eax, 0x10
mov byte [ebp - 4], 9
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x416ed1
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x416ede
lea edx, [ebp - 0x14]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x416ede
push str.param
lea eax, [ebp - 0x14]
call fcn.00404530
push edi
mov byte [ebp - 4], bl
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416f00
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push edi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x14]
test esi, esi
setne dl
add eax, 0xfffffff0
mov byte [0x4c8544], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, str.DisplayBind
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x416f95
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x416fa2
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x416fa2
push str.DisplayBind
lea eax, [ebp - 0x14]
call fcn.00404530
mov bl, 0xb
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x10], 0
jne 0x416feb
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x416ff8
lea edx, [ebp - 0x18]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x416ff8
push str.param
lea eax, [ebp - 0x18]
call fcn.00404530
push edi
mov byte [ebp - 4], bl
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41701a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
setne dl
add eax, 0xfffffff0
mov byte [0x4c8545], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417044
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417067
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, str.HideBind
mov byte [ebp - 4], 0xd
test ecx, 0xffff0000
jne 0x4170af
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4170bc
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x4170bc
push str.HideBind
lea eax, [ebp - 0x14]
call fcn.00404530
mov bl, 0xe
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x10], 0
jne 0x417105
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x417112
lea edx, [ebp - 0x18]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x417112
push str.param
lea eax, [ebp - 0x18]
call fcn.00404530
push edi
mov byte [ebp - 4], bl
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417134
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
setne dl
add eax, 0xfffffff0
mov byte [0x4c8546], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41715e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417181
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, str.QuietBind
mov byte [ebp - 4], 0x10
test ecx, 0xffff0000
jne 0x4171c9
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4171d6
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x4171d6
push str.QuietBind
lea eax, [ebp - 0x14]
call fcn.00404530
mov bl, 0x11
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x10], 0
jne 0x41721f
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41722c
lea edx, [ebp - 0x18]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x41722c
push str.param
lea eax, [ebp - 0x18]
call fcn.00404530
push edi
mov byte [ebp - 4], bl
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41724e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
setne dl
add eax, 0xfffffff0
mov byte [0x4c8547], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41729b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, str.Okshipyard
mov byte [ebp - 4], 0x13
test ecx, 0xffff0000
jne 0x4172e3
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4172f0
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x4172f0
push str.Okshipyard
lea eax, [ebp - 0x14]
call fcn.00404530
mov bl, 0x14
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x10], 0
jne 0x417339
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x417346
lea edx, [ebp - 0x18]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x417346
push str.param
lea eax, [ebp - 0x18]
call fcn.00404530
push edi
mov byte [ebp - 4], bl
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417368
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
setne dl
add eax, 0xfffffff0
mov byte [0x4c8548], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417392
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4173b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, str.DsektopLnk
mov byte [ebp - 4], 0x16
test ecx, 0xffff0000
jne 0x4173fd
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41740a
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x41740a
push str.DsektopLnk
lea eax, [ebp - 0x14]
call fcn.00404530
mov bl, 0x17
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x10], 0
jne 0x417453
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x417460
lea edx, [ebp - 0x18]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x417460
push str.param
lea eax, [ebp - 0x18]
call fcn.00404530
push edi
mov byte [ebp - 4], bl
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417482
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
setne dl
add eax, 0xfffffff0
mov byte [0x4c8549], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4174ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4174cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, str.TaskbarLnk
mov byte [ebp - 4], 0x19
test ecx, 0xffff0000
jne 0x417517
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x417524
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x417524
push str.TaskbarLnk
lea eax, [ebp - 0x14]
call fcn.00404530
mov bl, 0x1a
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x10], 0
jne 0x41756d
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41757a
lea edx, [ebp - 0x18]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x41757a
push str.param
lea eax, [ebp - 0x18]
call fcn.00404530
push edi
mov byte [ebp - 4], bl
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41759c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
setne dl
add eax, 0xfffffff0
mov byte [0x4c854a], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4175c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4175e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, str.StartMenuLnk
mov byte [ebp - 4], 0x1c
test ecx, 0xffff0000
jne 0x417631
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41763e
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x41763e
push str.StartMenuLnk
lea eax, [ebp - 0x14]
call fcn.00404530
mov bl, 0x1d
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x10], 0
jne 0x417687
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x417694
lea edx, [ebp - 0x18]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x417694
push str.param
lea eax, [ebp - 0x18]
call fcn.00404530
push edi
mov byte [ebp - 4], bl
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4176b6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
setne dl
add eax, 0xfffffff0
mov byte [0x4c854b], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4176e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417703
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, str.AutoRun
mov byte [ebp - 4], 0x1f
test ecx, 0xffff0000
jne 0x41774b
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x417758
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x417758
push str.AutoRun
lea eax, [ebp - 0x14]
call fcn.00404530
mov bl, 0x20
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x10], 0
jne 0x4177a1
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4177ae
lea edx, [ebp - 0x18]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x4177ae
push str.param
lea eax, [ebp - 0x18]
call fcn.00404530
push edi
mov byte [ebp - 4], bl
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4177d0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
setne dl
add eax, 0xfffffff0
mov byte [0x4c854c], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4177fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41781d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, str.DefaultInstallPath
mov byte [ebp - 4], 0x22
test ecx, 0xffff0000
jne 0x417865
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x417872
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x417872
push str.DefaultInstallPath
lea eax, [ebp - 0x14]
call fcn.00404530
mov bl, 0x23
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x10], 0
jne 0x4178bb
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4178c8
lea edx, [ebp - 0x18]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x4178c8
push str.param
lea eax, [ebp - 0x18]
call fcn.00404530
push edi
mov byte [ebp - 4], bl
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4178ea
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
setne dl
add eax, 0xfffffff0
mov byte [0x4c854d], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417914
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417937
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, 0x49c82c
mov byte [ebp - 4], 0x25
test ecx, 0xffff0000
jne 0x41797f
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41798c
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x41798c
push 0x49c82c
lea eax, [ebp - 0x1c]
call fcn.00404530
mov byte [ebp - 4], 0x26
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, str.ChannelId
mov byte [ebp - 4], 0x27
test ecx, 0xffff0000
jne 0x4179d8
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4179e5
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.004049f0
jmp 0x4179e5
push str.ChannelId
lea eax, [ebp - 0x14]
call fcn.00404530
mov bl, 0x28
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x29
cmp dword [ebp - 0x10], 0
jne 0x417a2e
mov ecx, str.param
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x417a3b
lea edx, [ebp - 0x18]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x417a3b
push str.param
lea eax, [ebp - 0x18]
call fcn.00404530
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, 0x4c8550
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0x2a
call fcn.004644d0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ac0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ae3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret