Function at 0x40c180
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x449a90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460590]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00413d88
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c1c3
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], 0
call fcn.00413d88
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c1f5
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x34], 1
call fcn.00413d88
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c224
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x452ef8
push str.hotkey
lea ecx, [esp + 0x28]
lea esi, [edi + 0x190]
push ecx
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.004071e0
push 0x451fc8
push str.hotName
lea edx, [esp + 0x30]
mov bl, 3
push edx
mov ecx, esi
mov byte [esp + 0x40], bl
call fcn.004071e0
lea ecx, [edi + 0x164]
push eax
mov byte [esp + 0x38], 4
call fcn.00401f40
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c2a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jne 0x40c2ba
mov dword [edi + 0x160], ebp
jmp 0x40c2c9
push eax
call fcn.00433bed
add esp, 4
mov dword [edi + 0x160], eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x40c2ed
push eax
push ebp
push 0x451f78
push str.cqss
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x40c407
push 0x451c5c
push str.filename
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.004071e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 5
call fcn.00401f40
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c335
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
je 0x40c35e
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0040c5b0
lea edx, [esp + 0x18]
lea ecx, [edi + 0x12c]
push edx
call fcn.00401f40
push 0x451c5c
push 0x451f8c
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.004071e0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 6
call fcn.00401f40
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c3a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edx, [esp + 0x14]
lea ecx, [edi + 0x130]
push edx
call fcn.00401f40
push 1
push 0x451f78
mov ecx, esi
call fcn.00407420
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
je 0x40c3e4
push eax
mov eax, dword [esp + 0x18]
push eax
push str.filename
push str.cqss
call edi
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x40c4b7
mov ecx, dword [esp + 0x18]
push eax
push ecx
push 0x451f6c
push str.cqss
call edi
jmp 0x40c4b7
push 0x451c5c
push str.filename
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.004071e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 7
call fcn.00401f40
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c44f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x451c5c
push 0x451f6c
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.004071e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 8
call fcn.00401f40
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c497
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edx, [esp + 0x18]
lea ecx, [edi + 0x12c]
push edx
call fcn.00401f40
lea eax, [esp + 0x14]
lea ecx, [edi + 0x130]
push eax
call fcn.00401f40
push 0x451c5c
push str.shortcut
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004071e0
mov byte [esp + 0x34], 9
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
je 0x40c4e1
call fcn.0040d5c0
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c504
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c528
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c54c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c570
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40c591
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret