Function at 0x420ed0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583d82
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1ec]
mov edi, ecx
push eax
mov dword [ebp - 0x3dc], edi
mov esi, edx
call fcn.00402080
mov dword [ebp - 4], 0
test esi, esi
js 0x4211c1
cmp esi, dword [edi + 0x5b8]
jge 0x4211c1
imul esi, esi, 0x1dc
add esi, dword [edi + 0x5b4]
lea ecx, [ebp - 0x3c8]
push ecx
mov edi, esi
lea eax, [ebp - 0x1ec]
call fcn.00402740
lea ecx, [ebp - 0x3c8]
call fcn.00402580
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420f74
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3d4], eax
mov byte [ebp - 4], 1
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420fa4
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3cc], eax
mov byte [ebp - 4], 2
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420fd4
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x3d8], ebx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x3d4]
push 0x5b7b5c
push edx
call fcn.00405330
add esp, 0xc
lea esi, [ebp - 0x3d0]
call fcn.00430570
push eax
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 4
call fcn.00401fb0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3d0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421046
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.BrTrouble.ini
lea ecx, [ebp - 0x3cc]
push ecx
lea edx, [ebp - 0x3d0]
push edx
call fcn.00404ad0
add esp, 0xc
push eax
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 5
call fcn.00401fb0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3d0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421097
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
mov edi, 0x2711
sub eax, edi
or eax, ecx
jge 0x4210bf
push edi
lea ecx, [ebp - 0x3d8]
call fcn.00401dd0
mov ebx, dword [ebp - 0x3d8]
mov esi, dword [ebp - 0x3cc]
mov ecx, dword [ebp - 0x3d4]
push esi
push 0x2710
push ebx
push 0x5b7a18
push ecx
push str.DisplayOff
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [ebx - 8], edi
jl 0x4211b7
mov dword [ebx - 0xc], edi
mov byte [ebx + 0x2711], 0
test eax, eax
jne 0x42112a
mov edi, dword [ebp - 0x3dc]
call fcn.004211d0
cmp eax, 1
jne 0x42112a
sub esp, 0x1dc
mov edx, esp
mov dword [ebp - 0x3dc], esp
lea eax, [ebp - 0x1ec]
push eax
push edx
call fcn.00402d00
call fcn.0044e590
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42114a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42116a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3d4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421190
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x1ec]
call fcn.00402580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402040
call fcn.004666be
int3