Function at 0x440450
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
call fcn.004403c0
mov dword [esi + 0x10c], eax
lea eax, [ebp - 0x14]
push str.IDS_STS_FORMAT_DEVICE
push eax
call dword [0x4e610c]
add esp, 8
push eax
lea ecx, [esi + 0xbc]
mov dword [ebp - 4], 0
call fcn.004a5776
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 4]
mov edx, dword [0x4e60fc]
push 0
push ecx
push 0x40c
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, esi
call fcn.00418420
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x440577
mov al, byte [esi + 0xf2]
mov cl, byte [esi + 0xec]
push 0
push 1
push eax
push ecx
push 0
push 0
mov ecx, esi
call fcn.0043e690
mov dl, byte [esi + 0xf2]
push 0xff
push 0
push 0
push 0x20
push edx
mov ecx, esi
call fcn.00436460
mov ecx, esi
call fcn.00440ea0
mov al, byte [esi + 0xf2]
mov cl, byte [esi + 0xec]
mov dx, word [esi + 0x704]
push 7
push 0x80
push eax
mov al, byte [esi + 0x702]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0043e690
cmp byte [esi + 0x24], 0x90
je 0x440559
test byte [esi + 0x110], 8
je 0x44056b
cmp byte [esi + 0x2a99], 1
jne 0x44056b
push 1
mov ecx, esi
call fcn.0044a530
mov ecx, esi
call fcn.00441b70
jmp 0x4405fa
mov al, byte [esi + 0x24]
cmp al, 0x92
je 0x4405ec
cmp al, 0x96
je 0x4405ec
mov al, byte [esi + 0x110]
mov bl, 8
test bl, al
jne 0x4405ec
mov cl, byte [esi + 0xf2]
mov dl, byte [esi + 0xec]
mov ax, word [esi + 0x704]
push 7
push 0x80
push ecx
mov cl, byte [esi + 0x702]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0043e690
cmp byte [esi + 0x24], 0x90
je 0x4405c7
test byte [esi + 0x110], bl
je 0x4405d9
cmp byte [esi + 0x2a99], 1
jne 0x4405d9
push 1
mov ecx, esi
call fcn.0044a530
mov eax, dword [esi + 0x158]
test eax, eax
je 0x4405ec
push 1
mov ecx, esi
call fcn.0044a590
mov ecx, esi
call fcn.00441b70
mov ecx, esi
call fcn.00440750
mov ecx, esi
call fcn.00415ce0
mov edx, dword [0x4e5bb8]
push edx
push 0
push str.CheckBlock
push str.Debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp al, 1
jne 0x440625
mov ecx, esi
call fcn.0044dc90
push str.FormatDevLimit
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov edi, eax
push 0xffffffffffffffff
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x440679
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00441d10
mov dword [esi + 0x3490], eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0x32
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [0x4e5e14]
test al, al
je 0x440691
mov ecx, esi
call fcn.004498a0
push eax
mov ecx, esi
call fcn.0044e790
mov ecx, esi
call fcn.00443510
mov ecx, esi
call fcn.0041bf70
lea eax, [ebp - 0x21c]
mov ecx, dword [esi + 0x1c]
push eax
push 0x200
push 0
push 0
push 0x20
push 1
push 0x80
push 0xfa
push ecx
call fcn.0048fc90
lea edx, [ebp - 0x21c]
mov eax, dword [esi + 0x1c]
push edx
push 0x200
push 0
push 0
push 0
push 0xff
push 0x51
push pe_nt_image_headers32
push eax
call fcn.0048fc90
add esp, 0x48
lea ecx, [ebp - 0x21c]
mov edx, dword [esi + 0x1c]
push ecx
push 0x200
push 0
push 0
push 0x20
push 1
push 0x80
push 0xfa
push edx
call fcn.0048fc90
mov ecx, dword [ebp - 0xc]
add esp, 0x24
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret