Function at 0x401930
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x422f16
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42ea58]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push str.CIniFile::GetDecoratedSection
lea ecx, [esp + 0x1c]
call fcn.00401120
mov edi, dword [esp + 0x40]
push edi
mov dword [esp + 0x2c], 0
call fcn.00407619
push edi
mov ebx, eax
call fcn.00407619
mov ebp, eax
mov eax, 1
add esp, 8
test byte [0x42fe58], al
mov dword [esp + 0x14], ebp
jne 0x4019b2
or dword [0x42fe58], eax
mov ecx, esi
mov byte [esp + 0x28], al
call fcn.00401500
mov dword [0x42fe54], eax
mov byte [esp + 0x28], 0
test ebx, ebx
je 0x401d64
test ebp, ebp
je 0x401d64
cmp dword [0x42fe48], 0
mov edi, dword [esp + 0x44]
jne 0x401a2c
mov esi, 0x20
push esi
call fcn.00407619
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
add esp, 4
push edi
push esi
push eax
mov dword [0x42fe48], eax
call ebp
cmp eax, 0x1e
mov dword [0x42fe4c], eax
jne 0x401a2c
jmp 0x401a00
mov eax, dword [0x42fe48]
push eax
call fcn.00407614
add esi, esi
push esi
call fcn.00407619
add esp, 8
push edi
push esi
push eax
mov dword [0x42fe48], eax
call ebp
lea ecx, [esi - 2]
cmp eax, ecx
mov dword [0x42fe4c], eax
je 0x401a00
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edi
push ebp
push ebx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x3c]
push ebp
push esi
push ecx
call fcn.004115d5
mov esi, dword [0x42fe48]
push 0x4257f8
push esi
call fcn.004117db
add esp, 0x14
test eax, eax
je 0x401ab5
lea esp, [esp]
push ebx
push esi
call fcn.00411a08
add esp, 8
test eax, eax
je 0x401aa6
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401a83
sub eax, edx
lea esi, [esi + eax + 1]
push 0x4257f8
push esi
call fcn.004117db
add esp, 8
test eax, eax
jne 0x401a70
jmp 0x401ab5
mov edx, dword [esp + 0x3c]
push ebp
push ebx
push edx
call fcn.004115d5
add esp, 0xc
mov eax, dword [0x42fe54]
add eax, 0xffffffff
cmp eax, 7
ja case.default.0x401acd
movzx eax, byte [eax + 0x401ddc]
jmp dword [eax*4 + 0x401dd4]
mov edi, ebx
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x401ae0
mov ecx, dword [0x4257f4]
mov dword [edi], ecx
jmp 0x401b1b
mov eax, ebx
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401b00
mov edx, dword [str..x64]
mov dword [eax], edx
mov cl, byte [0x4257f0]
mov byte [eax + 4], cl
mov esi, dword [0x42fe48]
push 0x4257f8
push esi
call fcn.004117db
add esp, 8
test eax, eax
je 0x401b78
push ebx
push esi
call fcn.00411a08
add esp, 8
test eax, eax
je 0x401b69
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401b46
sub eax, edx
lea esi, [esi + eax + 1]
push 0x4257f8
push esi
call fcn.004117db
add esp, 8
test eax, eax
jne 0x401b33
jmp 0x401b78
mov edx, dword [esp + 0x3c]
push ebp
push ebx
push edx
call fcn.004115d5
add esp, 0xc
push 0x4257f4
push ebx
call fcn.004103ba
add esp, 8
test eax, eax
je 0x401b8d
mov byte [eax], 0
push str..x64
push ebx
call fcn.004103ba
add esp, 8
test eax, eax
je 0x401ba2
mov byte [eax], 0
mov eax, dword [0x42fe54]
add eax, 0xffffffff
cmp eax, 7
ja case.default.0x401bb3
jmp dword [eax*4 + 0x401de4]
mov edi, ebx
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x401bc0
mov eax, dword [0x4257e8]
mov dword [edi], eax
jmp case.default.0x401bb3
mov edi, ebx
add edi, 0xffffffff
jmp 0x401be0
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x401be0
mov ecx, dword [0x4257e4]
mov dword [edi], ecx
jmp case.default.0x401bb3
mov eax, ebx
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401c00
mov edx, dword [str..2K3]
mov dword [eax], edx
mov cl, byte [0x4257e0]
mov byte [eax + 4], cl
jmp case.default.0x401bb3
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401c25
mov edx, dword [str..VISTA]
mov dword [eax], edx
mov cx, word [0x4257d8]
mov word [eax + 4], cx
mov dl, byte [0x4257da]
jmp 0x401ce6
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401c52
mov ecx, dword [str..XP64]
mov dword [eax], ecx
mov dx, word [0x4257d0]
mov word [eax + 4], dx
jmp case.default.0x401bb3
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401c76
mov ecx, dword [str..VISTA64]
mov dword [eax], ecx
mov edx, dword [0x4257c4]
mov dword [eax + 4], edx
mov cl, byte [0x4257c8]
mov byte [eax + 8], cl
jmp case.default.0x401bb3
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401ca1
mov edx, dword [str..2K8]
mov dword [eax], edx
mov cl, byte [0x4257bc]
mov byte [eax + 4], cl
jmp case.default.0x401bb3
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401cc3
mov edx, dword [str..2K864]
mov dword [eax], edx
mov cx, word [0x4257b4]
mov word [eax + 4], cx
mov dl, byte [0x4257b6]
mov byte [eax + 6], dl
mov esi, dword [0x42fe48]
push 0x4257f8
push esi
call fcn.004117db
add esp, 8
test eax, eax
je 0x401d54
push ebx
push esi
call fcn.00411a08
add esp, 8
test eax, eax
je 0x401d45
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401d14
sub eax, edx
lea esi, [esi + eax + 1]
push 0x4257f8
push esi
call fcn.004117db
add esp, 8
test eax, eax
jne 0x401d01
mov ecx, dword [esp + 0x38]
push ecx
push ebx
call fcn.004117db
add esp, 8
jmp case.default.0x401acd
mov eax, dword [esp + 0x3c]
push ebp
push ebx
push eax
call fcn.004115d5
add esp, 0xc
mov ecx, dword [esp + 0x38]
push ecx
push ebx
call fcn.004117db
add esp, 8
jmp case.default.0x401acd
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push edi
push edx
push eax
call fcn.004115d5
add esp, 0xc
mov ecx, dword [esp + 0x3c]
push ecx
lea edx, [esp + 0x1c]
push str.Decorated_Section:__s
push edx
call fcn.00401410
add esp, 0xc
test ebx, ebx
je 0x401d9b
push ebx
call fcn.00407614
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401dac
push eax
call fcn.00407614
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.004012d0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x18