Function at 0x401c10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5625d7
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5bfe54]
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
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 0x68], 0
push 0
push eax
call fcn.00544eb0
add esp, 0xc
mov dword [ebp - 4], 1
call fcn.00408d43
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x401f7a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x54]
push str..._Organization_
mov dword [ebp - 0x54], 0
call fcn.004032c0
mov byte [ebp - 4], 3
mov ecx, 0x5a3440
mov eax, dword [ebp - 0x54]
sub ecx, eax
push 0xa
push 0x5a3440
mov dword [ebp - 0x5c], ecx
mov edi, dword [eax - 0xc]
call fcn.0054776c
mov ebx, eax
mov ecx, SysReAllocString
sub ecx, ebx
add esp, 8
cmp ecx, edi
jl 0x401f70
lea esi, [edi + ebx]
test esi, esi
js 0x401f70
mov eax, dword [ebp - 0x54]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x401cf1
push esi
lea ecx, [ebp - 0x54]
call fcn.00402fe0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
cmp ecx, edi
ja 0x401cfc
add ecx, eax
jmp 0x401d01
mov ecx, 0x5a3440
push ebx
push ecx
add eax, edi
push ebx
push eax
call fcn.00403080
mov eax, dword [ebp - 0x54]
add esp, 0x10
cmp esi, dword [eax - 8]
jg 0x401f70
mov dword [eax - 0xc], esi
mov eax, dword [ebp - 0x54]
mov byte [esi + eax], 0
lea eax, [ebp - 0x50]
push dword [ebp - 0x54]
push 0x40
push eax
push 0x5a34a6
push str.Language
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401d50
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00403150
mov esi, dword [ebp - 0x58]
cmp dword [esi - 0xc], 0
jne 0x401d81
push 7
push str.English
lea ecx, [ebp - 0x58]
call fcn.00403150
mov esi, dword [ebp - 0x58]
mov ecx, dword [esi - 0x10]
lea ebx, [esi - 0x10]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x6c], ebx
test ecx, ecx
je 0x401da0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x401db2
mov byte [ebp - 4], 5
call fcn.00408d43
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov byte [ebp - 4], 6
test ecx, ecx
je 0x401f84
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 4
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x68], 1
lea edi, [eax + 0x10]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x64], edi
lea edx, [ebx + 0x10]
test edx, edx
js 0x401f70
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x401e02
push edx
lea ecx, [ebp - 0x64]
call fcn.00402fe0
mov edi, dword [ebp - 0x64]
push 0x10
push str..._Organization_
push 0x10
push edi
call fcn.00403080
push ebx
push esi
lea eax, [edi + 0x10]
push ebx
push eax
call fcn.00403080
mov eax, dword [ebp - 0x5c]
lea ebx, [edi - 0x10]
add eax, 0x10
add esp, 0x20
cmp eax, dword [ebx + 8]
jg 0x401f70
mov dword [ebx + 4], eax
mov byte [eax + edi], 0
mov ecx, dword [ebx]
mov dword [ebp - 0x60], 0
test ecx, ecx
je 0x401e51
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x401e63
mov byte [ebp - 4], 8
call fcn.00408d43
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov byte [ebp - 4], 9
test ecx, ecx
je 0x401f8e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 7
mov dword [ebp - 0x68], 3
lea esi, [eax + 0x10]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], eax
lea ecx, [eax + 5]
test ecx, ecx
js 0x401f70
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or edx, eax
jge 0x401eb3
push ecx
lea ecx, [ebp - 0x60]
call fcn.00402fe0
mov esi, dword [ebp - 0x60]
push dword [ebp - 0x5c]
push edi
mov edi, dword [ebp - 0x5c]
push edi
push esi
call fcn.00403080
push 5
push str..lang
lea eax, [edi + esi]
push 5
push eax
call fcn.00403080
lea eax, [edi + 5]
add esp, 0x20
cmp eax, dword [esi - 8]
jg 0x401f70
mov dword [esi - 0xc], eax
mov ecx, 0x5c8770
mov byte [eax + esi], 0
lea eax, [ebp - 0x60]
push eax
call fcn.00402990
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401f11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x401f25
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401f3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x401f54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00542aa4
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403100
push 0x80004005
call fcn.00403100
push 0x80004005
call fcn.00403100
push 0x80004005
call fcn.00403100
int3