Function at 0x4073f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
mov ebx, dword [esi + 0x3b4]
push edi
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x200], eax
mov eax, dword [ebx + 0xf4]
push eax
push 0x3e8
push 0x56ecb8
push 0x56ecd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0xc00
mov dword [esp + 0xc], eax
call fcn.00417344
mov edx, dword [esp + 0xc]
mov dword [esi + 0x228], eax
mov eax, 0xc00
mov dword [esi + 0x22c], eax
mov dword [esi + 0x234], eax
mov dword [esi + 0x238], edi
mov dword [esi + 0x2b8], edi
mov dword [esi + 0x2bc], edi
mov eax, dword [esi + 0x22c]
mov dword [esi + 0x258], eax
mov dword [esi + 0x25c], edi
mov dword [esi + 0x2c0], edi
mov dword [esi + 0x2c4], edi
mov ecx, dword [esi + 0x22c]
add esp, 4
mov dword [esi + 0x27c], ecx
push 0xffffffffffffffff
mov dword [esi + 0x280], edi
push edx
lea ecx, [esi + 0x4c8]
mov dword [esi + 0x2c8], edi
mov dword [esi + 0x2cc], edi
call fcn.00421929
mov eax, dword [esp + 8]
push edi
push 0x3f4
mov ecx, esi
mov dword [esi + 0x1fc], eax
call fcn.004196f9
push 1
push 0x3f5
mov ecx, esi
call fcn.004196f9
lea eax, [ebx + 0x1f4]
cmp eax, edi
je 0x40757f
mov dword [esi + 0x2dbc], eax
mov dword [esi + 0x2dc0], 0x14
mov dword [esi + 0x2cec], eax
mov dword [esi + 0x2cf0], 0x13
mov dword [esi + 0x2bb4], eax
mov dword [esi + 0x2bb8], 0x15
mov dword [esi + 0x2c1c], eax
mov dword [esi + 0x2c20], 0x16
mov dword [esi + 0x2c84], eax
mov dword [esi + 0x2c88], 0x17
mov dword [esi + 0x2d54], eax
mov dword [esi + 0x2d58], 0x10
mov dword [esi + 0x2e24], eax
mov dword [esi + 0x2e28], 0xc
mov dword [esi + 0x2e8c], eax
mov dword [esi + 0x2e90], 0x11
mov dword [esi + 0x2ef4], eax
mov dword [esi + 0x2ef8], 8
push edi
push 0x407
mov ecx, esi
call fcn.00419720
mov ecx, eax
call fcn.00419901
push edi
push 0x406
mov ecx, esi
call fcn.00419720
mov ecx, eax
call fcn.00419901
mov edx, dword [esi + 0x2ad8]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00427cc1
push edi
push edi
push 0x65
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x5e0]
push edi
call fcn.0042b524
mov ecx, dword [esi + 0x2b2c]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esi + 0x6c8], edi
call ebx
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00427cc1
mov eax, dword [esi + 0x2d0]
mov edx, dword [eax + 0x13c]
lea ebx, [esi + 0x2d0]
push esi
push 0x8e
mov ecx, ebx
mov dword [esi + 0x360], esi
call edx
push 5
mov ecx, ebx
call fcn.00419901
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebx
call fcn.004198c1
push 1
mov ecx, ebx
call fcn.00419943
push esi
call fcn.00407b50
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x200], edi
je 0x407673
mov eax, dword [eax + 0x200]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [esi + 0x5e0]
mov eax, dword [edx + 0x1ec]
lea ebx, [esi + 0x5e0]
push edi
mov ecx, ebx
call eax
mov edi, ebx
call fcn.00415e20
mov ecx, dword [0x59d5d4]
mov edx, dword [ecx*4 + 0x597308]
push edx
lea ecx, [esi + 0x2f64]
call fcn.00419836
mov ecx, esi
call fcn.00409600
push 1
mov ecx, esi
call fcn.0042e34a
pop edi
pop ebx
mov esp, ebp
pop ebp
ret