Function at 0x473ac0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487a7f
mov eax, dword fs:[0]
push eax
sub esp, 0x9f0
mov eax, dword [0x4a7740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9ec], ecx
mov eax, dword [ebp - 0x9ec]
movzx ecx, byte [eax + 0x3c]
test ecx, ecx
je 0x473b09
mov eax, 1
jmp 0x4740bd
mov edx, dword [ebp - 0x9ec]
add edx, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 1
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [ebp - 0x448]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0x688], 0xc
mov dword [ebp - 0x680], 0
lea edx, [ebp - 0x448]
mov dword [ebp - 0x684], edx
mov eax, dword [ebp - 0x9ec]
cmp dword [eax + 0x24], 0
jne 0x473b86
push str.GlobalBEF4AF7C_05DA_48a0_A82E_7C66FC13BEE6
push 0
push 0
lea ecx, [ebp - 0x688]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x9ec]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x9ec]
cmp dword [eax + 0x28], 0
jne 0x473bac
push 0x490f48
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x9ec]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x9ec]
cmp dword [edx + 0x2c], 0
jne 0x473bd2
push str.kbqe3EB100B4_3C3A_4be7_81AC_F88C958D0B31
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x9ec]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x9ec]
cmp dword [edx + 0x30], 0
jne 0x473bf8
push str.kbqe0EE59356_36F5_4fb1_A373_A52244DA6D76
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x9ec]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x9ec]
cmp dword [edx + 0x34], 0
jne 0x473c1e
push str.kbqe8CA1AC1E_E18E_4d78_87AD_F03E0144C5AE
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x9ec]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x9ec]
cmp dword [edx + 0x38], 0
jne 0x473c44
push str.kbqe4AB1C702_F8A1_4c4b_8C3C_72647E22427F
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x9ec]
mov dword [ecx + 0x38], eax
push 6
mov edx, dword [ebp - 0x9ec]
mov eax, dword [edx + 0x24]
push eax
call fcn.0042b650
add esp, 8
lea ecx, [ebp - 0x8bc]
call fcn.0040eac0
mov dword [ebp - 4], 0
push 0x491100
lea ecx, [ebp - 0x960]
push ecx
lea ecx, [ebp - 0x8bc]
call fcn.0040e7e0
mov dword [ebp - 0x9f0], eax
mov edx, dword [ebp - 0x9f0]
mov dword [ebp - 0x9f4], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x9f4]
push eax
lea ecx, [ebp - 0x570]
call fcn.0040e400
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x960]
call fcn.00403740
lea ecx, [ebp - 0x570]
call fcn.0040e470
push eax
lea ecx, [ebp - 0x9e4]
call fcn.00403530
mov dword [ebp - 0x9f8], eax
mov ecx, dword [ebp - 0x9f8]
mov dword [ebp - 0x9fc], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x9fc]
call fcn.0041e8b0
push eax
mov ecx, dword [ebp - 0x9ec]
add ecx, 0x40
call fcn.00405520
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9e4]
call fcn.00403560
mov dl, byte [0x48fbfa]
mov byte [ebp - 0x554], dl
push 0x103
push 0
lea eax, [ebp - 0x553]
push eax
call fcn.00453b10
add esp, 0xc
mov cl, byte [0x48fbfb]
mov byte [ebp - 0x67c], cl
push 0x103
push 0
lea edx, [ebp - 0x67b]
push edx
call fcn.00453b10
add esp, 0xc
mov al, byte [0x48fc35]
mov byte [ebp - 0x89c], al
push 0x103
push 0
lea ecx, [ebp - 0x89b]
push ecx
call fcn.00453b10
add esp, 0xc
mov dl, byte [0x48fc36]
mov byte [ebp - 0x11c], dl
push 0x103
push 0
lea eax, [ebp - 0x11b]
push eax
call fcn.00453b10
add esp, 0xc
mov cl, byte [0x48fc37]
mov byte [ebp - 0x794], cl
push 0x103
push 0
lea edx, [ebp - 0x793]
push edx
call fcn.00453b10
add esp, 0xc
mov al, byte [0x48ff15]
mov byte [ebp - 0x434], al
push 0x103
push 0
lea ecx, [ebp - 0x433]
push ecx
call fcn.00453b10
add esp, 0xc
mov dl, byte [0x48ff16]
mov byte [ebp - 0x32c], dl
push 0x103
push 0
lea eax, [ebp - 0x32b]
push eax
call fcn.00453b10
add esp, 0xc
mov cl, byte [0x48ff17]
mov byte [ebp - 0x224], cl
push 0x103
push 0
lea edx, [ebp - 0x223]
push edx
call fcn.00453b10
add esp, 0xc
mov ecx, dword [ebp - 0x9ec]
add ecx, 0x40
call fcn.00401b70
push eax
push 0
push 0x490f44
push 0x491110
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x8a0], eax
mov dword [ebp - 0x8c0], 0
jmp 0x473e5e
mov eax, dword [ebp - 0x8c0]
add eax, 1
mov dword [ebp - 0x8c0], eax
mov ecx, dword [ebp - 0x8c0]
cmp ecx, dword [ebp - 0x8a0]
jae 0x474082
lea ecx, [ebp - 0x944]
call fcn.0042b590
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x8c0]
push edx
push 0x491118
push 0x104
lea eax, [ebp - 0x554]
push eax
call fcn.00455736
add esp, 0x10
mov ecx, dword [ebp - 0x8c0]
push ecx
push 0x49111c
push 0x104
lea edx, [ebp - 0x67c]
push edx
call fcn.00455736
add esp, 0x10
mov eax, dword [ebp - 0x8c0]
push eax
push 0x491120
push 0x104
lea ecx, [ebp - 0x89c]
push ecx
call fcn.00455736
add esp, 0x10
mov edx, dword [ebp - 0x8c0]
push edx
push 0x491124
push 0x104
lea eax, [ebp - 0x11c]
push eax
call fcn.00455736
add esp, 0x10
mov ecx, dword [ebp - 0x9ec]
add ecx, 0x40
call fcn.00401b70
push eax
push 0x104
lea ecx, [ebp - 0x794]
push ecx
push 0x48ff3d
lea edx, [ebp - 0x554]
push edx
push 0x491128
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x9ec]
add ecx, 0x40
call fcn.00401b70
push eax
push 0x104
lea eax, [ebp - 0x434]
push eax
push 0x48ff3e
lea ecx, [ebp - 0x67c]
push ecx
push 0x491130
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x9ec]
add ecx, 0x40
call fcn.00401b70
push eax
push 0x104
lea edx, [ebp - 0x32c]
push edx
push 0x48ff3f
lea eax, [ebp - 0x89c]
push eax
push 0x491138
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x9ec]
add ecx, 0x40
call fcn.00401b70
push eax
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push 0x491140
lea edx, [ebp - 0x11c]
push edx
push 0x491144
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x794]
push eax
lea ecx, [ebp - 0x928]
call fcn.00405520
lea ecx, [ebp - 0x434]
push ecx
lea ecx, [ebp - 0x944]
call fcn.00405520
lea edx, [ebp - 0x32c]
push edx
lea ecx, [ebp - 0x8f0]
call fcn.00405520
lea eax, [ebp - 0x224]
push eax
call fcn.00453ba0
add esp, 4
mov dword [ebp - 0x8cc], eax
mov dword [ebp - 0x8c8], edx
push 0x48ff46
lea ecx, [ebp - 0x928]
push ecx
call fcn.00412f90
add esp, 8
movzx edx, al
test edx, edx
je 0x47406e
push 0x48ff47
lea eax, [ebp - 0x944]
push eax
call fcn.00412f90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x47406e
lea edx, [ebp - 0x944]
push edx
lea eax, [ebp - 0x944]
push eax
mov ecx, dword [ebp - 0x9ec]
call fcn.0042b7b0
mov ecx, eax
call fcn.0042b710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x944]
call fcn.00410bc0
jmp 0x473e4f
mov ecx, dword [ebp - 0x9ec]
mov byte [ecx + 0x3c], 1
mov dword [ebp - 0x9e8], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x570]
call fcn.0040e420
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8bc]
call fcn.0040e720
mov eax, dword [ebp - 0x9e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450ba2
mov esp, ebp
pop ebp
ret