Function at 0x43ec20
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44f122
push eax
mov eax, 0x1e84
mov dword fs:[0], esp
call fcn.004473e0
push ebx
push esi
push edi
xor esi, esi
mov ebx, dword [esp + 0x1ea0]
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0xe92]
mov word [esp + 0xe90], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx]
push eax
lea eax, [esp + 0xe94]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp eax, esi
je 0x43f3a7
mov cl, byte [esp + 0x1b]
push ebp
mov byte [esp + 0x4c], cl
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
lea edx, [esp + 0xe94]
mov dword [esp + 0x1e9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edx
lea ebp, [esp + 0xe98]
call esi
test eax, eax
je 0x43ed7d
mov eax, dword [0x463290]
test ebp, ebp
mov dword [esp + 0x10], eax
je 0x43ed19
mov ecx, ebp
shr ecx, 0x10
jne 0x43ece5
mov eax, ebp
lea ecx, [esp + 0x10]
and eax, 0xffff
push eax
call fcn.004050d0
jmp 0x43ed19
push ebp
call esi
mov edi, eax
test edi, edi
je 0x43ed19
push edi
lea ecx, [esp + 0x14]
call fcn.00402e70
test eax, eax
je 0x43ed19
lea ecx, [edi + edi]
mov edi, dword [esp + 0x10]
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x1ea4], 1
call fcn.00414c10
mov eax, dword [esp + 0x10]
mov ecx, dword [0x463294]
mov byte [esp + 0x1e9c], 0
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43ed6b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43ed6b
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0044737a
add esp, 4
push ebp
call esi
lea ebp, [ebp + eax*2 + 2]
push ebp
call esi
test eax, eax
jne 0x43ecbe
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x43f392
mov eax, dword [esp + 0x54]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x43f392
mov eax, dword [ecx + edx*4]
mov esi, dword [eax - 0xc]
test esi, esi
jl 0x43edc0
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43edd6
mov eax, dword [0x463290]
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + edx*4]
push ecx
lea ecx, [esp + 0x18]
call fcn.00403090
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x266]
mov word [esp + 0x264], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx]
lea edx, [esp + 0x264]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push edx
push 0x4d6e34
push 0x4717b8
push eax
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [esp + 0x264]
push 0x104
lea edx, [esp + 0x268]
push ecx
push edx
call esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x5e]
mov word [esp + 0x5c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
stosw word es:[edi], ax
mov eax, dword [ebx]
push eax
lea eax, [esp + 0x60]
push 0x104
push eax
push 0x4d6e34
push 0x4717b0
push ecx
call ebp
lea edx, [esp + 0x5c]
push 0x104
lea eax, [esp + 0x60]
push edx
push eax
call esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
lea ecx, [esp + 0x264]
push ecx
call esi
add esp, 4
test eax, eax
je 0x43f34b
lea edx, [esp + 0x5c]
push edx
call esi
add esp, 4
test eax, eax
je 0x43f34b
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xc8e]
mov word [esp + 0xc8c], si
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
stosw word es:[edi], ax
mov eax, dword [ebx]
push eax
lea eax, [esp + 0xc90]
push 0x104
push eax
push 0x4d6e34
push str.name
push ecx
call ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46e]
mov word [esp + 0x46c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx]
lea edx, [esp + 0x46c]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push edx
push 0x4d6e34
push 0x465250
push eax
call ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x676]
mov word [esp + 0x674], si
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x674]
stosw word es:[edi], ax
mov eax, dword [ebx]
push eax
push 0x104
push ecx
push 0x4d6e34
push 0x469488
push edx
call ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x87e]
mov word [esp + 0x87c], si
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
stosw word es:[edi], ax
mov eax, dword [ebx]
push eax
lea eax, [esp + 0x880]
push 0x104
push eax
push 0x4d6e34
push str.seGroup
push ecx
call ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa86]
mov word [esp + 0xa84], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx]
lea edx, [esp + 0xa84]
push eax
mov eax, dword [esp + 0x18]
push 0x104
push edx
push 0x4d6e34
push str.seCmd
push eax
call ebp
mov eax, dword [0x463290]
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea ecx, [esp + 0xc8c]
mov byte [esp + 0x1e9c], 3
test ecx, ecx
jne 0x43f015
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor eax, eax
jmp 0x43f025
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0xc8c]
push edx
call edi
lea ecx, [esp + 0xc8c]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00404f60
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x43f085
cmp dword [eax - 0xc], esi
jge 0x43f055
mov edx, dword [0x463294]
add eax, 0xfffffff4
cmp eax, edx
jne 0x43f05a
cmp dword [ecx - 0xc], esi
jge 0x43f06a
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00404f60
jmp 0x43f085
lea ecx, [esp + 0x28]
call fcn.00402f00
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esp + 0x264]
test eax, eax
je 0x43f09a
lea ecx, [esp + 0x264]
push ecx
call edi
lea edx, [esp + 0x264]
lea ecx, [esp + 0x34]
push edx
push eax
call fcn.00404f60
lea eax, [esp + 0x5c]
test eax, eax
je 0x43f0bb
lea ecx, [esp + 0x5c]
push ecx
call edi
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x3c]
push edx
push eax
call fcn.00404f60
lea eax, [esp + 0x87c]
test eax, eax
je 0x43f0df
lea ecx, [esp + 0x87c]
push ecx
call edi
lea edx, [esp + 0x87c]
lea ecx, [esp + 0x44]
push edx
push eax
call fcn.00404f60
lea eax, [esp + 0x46c]
test eax, eax
je 0x43f106
lea ecx, [esp + 0x46c]
push ecx
call edi
lea edx, [esp + 0x46c]
lea ecx, [esp + 0x2c]
push edx
push eax
call fcn.00404f60
lea eax, [esp + 0x674]
test eax, eax
je 0x43f12d
lea ecx, [esp + 0x674]
push ecx
call edi
lea edx, [esp + 0x674]
lea ecx, [esp + 0x30]
push edx
push eax
call fcn.00404f60
lea eax, [esp + 0xa84]
test eax, eax
je 0x43f154
lea ecx, [esp + 0xa84]
push ecx
call edi
lea edx, [esp + 0xa84]
lea ecx, [esp + 0x48]
push edx
push eax
call fcn.00404f60
lea eax, [esp + 0x3c]
push eax
call fcn.00412130
mov ecx, dword [esp + 0x1eac]
add esp, 4
test eax, eax
jne 0x43f185
mov ecx, dword [esp + 0x1eac]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0043fa30
mov eax, dword [0x463290]
lea ecx, [esp + 0x5c]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x43f1fe
lea edx, [esp + 0x5c]
shr edx, 0x10
jne 0x43f1c2
xor eax, eax
lea ecx, [esp + 0x5c]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.004050d0
jmp 0x43f1fe
lea edx, [esp + 0x5c]
push edx
call edi
mov edi, eax
cmp edi, esi
je 0x43f1f8
push edi
lea ecx, [esp + 0x14]
call fcn.00402e70
test eax, eax
je 0x43f1f8
lea ecx, [edi + edi]
mov edi, dword [esp + 0x10]
mov eax, ecx
lea esi, [esp + 0x5c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [0x463290]
mov edx, 0x46978c
test edx, edx
mov byte [esp + 0x1e9c], 4
mov dword [esp + 0x18], ecx
je 0x43f26a
mov eax, edx
shr eax, 0x10
jne 0x43f233
xor eax, eax
mov ecx, edx
mov ax, cx
lea ecx, [esp + 0x18]
push eax
call fcn.004050d0
jmp 0x43f26a
push 0x46978c
call edi
mov edi, eax
cmp edi, esi
je 0x43f26a
push edi
lea ecx, [esp + 0x1c]
call fcn.00402e70
test eax, eax
je 0x43f26a
lea ecx, [edi + edi]
mov edi, dword [esp + 0x18]
mov edx, ecx
mov esi, 0x46978c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e9c], 5
call fcn.00414e10
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
push eax
call edi
lea ecx, [esp + 0x10]
call fcn.00414e10
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.004154d0
cmp eax, 0xffffffff
je 0x43f2b1
call fcn.00413b70
mov eax, dword [esp + 0x18]
mov edx, dword [0x463294]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43f2e4
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43f2ea
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.0044737a
add esp, 4
jmp 0x43f2ea
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x463294]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43f315
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43f315
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0044737a
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e9c], 2
call fcn.0043f3d0
mov eax, dword [esp + 0x14]
mov edx, dword [0x463294]
mov byte [esp + 0x1e9c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43f382
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43f382
jmp 0x43f372
mov eax, dword [esp + 0x14]
mov edx, dword [0x463294]
mov byte [esp + 0x1e9c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43f382
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43f382
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044737a
add esp, 4
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov edx, eax
jmp 0x43ed89
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1e9c], 0xffffffff
call fcn.00437100
pop ebp
mov ecx, dword [esp + 0x1e90]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1e90
ret 0xc