Function at 0x435920
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584d42
mov eax, dword fs:[0]
push eax
mov eax, 0x4e38
call fcn.00561ec0
mov eax, dword [0x5f01b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x4e1e
mov esi, ecx
push eax
lea ecx, [ebp - 0x4e2e]
push ecx
mov word [ebp - 0x4e30], ax
call fcn.005610a0
add esp, 0xc
call fcn.0046b8a8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43598b
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4e34], eax
mov dword [ebp - 4], 0
call fcn.0046b8a8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4359be
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x4e40], edi
mov byte [ebp - 4], 1
mov eax, dword [esi + 8]
push eax
lea ecx, [ebp - 0x4e38]
call fcn.0042fd30
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
push eax
lea ecx, [ebp - 0x4e3c]
call fcn.0042fd30
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4e3c]
mov eax, dword [ebp - 0x4e38]
push ecx
push 0x2710
lea edx, [ebp - 0x4e30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp eax, 0x270e
je 0x435c16
test eax, eax
je 0x435c16
push eax
lea ecx, [ebp - 0x4e44]
push ecx
lea ecx, [ebp - 0x4e30]
call fcn.00435ce0
push eax
lea ecx, [ebp - 0x4e34]
mov byte [ebp - 4], 4
call fcn.004050a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4e44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435a76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x4e34]
cmp dword [ecx - 0xc], 0
sete al
cmp al, 1
jne 0x435abe
push ecx
push str._CalculateCheckSumNum___strwCheckSum___s__n
push 0x40000
push 0x5f2054
call fcn.00433010
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4e3c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x435c48
lea ecx, [ebp - 0x4e44]
push ecx
mov ecx, esi
call fcn.00435dd0
push eax
lea ecx, [ebp - 0x4e40]
mov byte [ebp - 4], 5
call fcn.004050a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4e44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435b02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x4e40]
cmp dword [esi - 0xc], 0
sete al
cmp al, 1
jne 0x435b7f
push esi
push str._CalculateCheckSumNum___strwIniFileCheckSum___s__n
push 0x40000
push 0x5f2054
call fcn.00433010
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4e3c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435b51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4e38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435b77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
jmp 0x435c7d
lea ecx, [ebp - 0x4e34]
push ecx
lea eax, [ebp - 0x4e40]
call fcn.00430190
add esp, 4
test al, al
je 0x435be0
push str._CalculateCheckSumNum___strCheckSum___strIniFileCheckSum_FAILED__n
push 0x40000
push 0x5f2054
call fcn.00433010
add esp, 0xc
lea ecx, [ebp - 0x4e3c]
call fcn.00402120
lea ecx, [ebp - 0x4e38]
call fcn.00402120
lea ecx, [ebp - 0x4e40]
call fcn.00402120
lea ecx, [ebp - 0x4e34]
call fcn.00402120
jmp 0x435cc3
lea ecx, [ebp - 0x4e3c]
call fcn.00402120
lea ecx, [ebp - 0x4e38]
call fcn.00402120
lea ecx, [ebp - 0x4e40]
call fcn.00402120
lea ecx, [ebp - 0x4e34]
call fcn.00402120
mov eax, 1
jmp 0x435cc5
push eax
push str._CheckLangIniFileCheckSum___dwCharNum___d__n
push 0x40000
push 0x5f2054
call fcn.00433010
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4e3c]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435c54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4e38]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435c7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435c9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4e34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435cc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055db96
mov esp, ebp
pop ebp
ret