Function at 0x423c08
Capabilities:
Read .ini file

Disassembly:
push 0x878
mov eax, 0x5589e8
call fcn.0052faf2
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0042b589
push eax
lea ecx, [ebp - 0x84c]
call fcn.0040217f
mov byte [ebp - 4], 1
call fcn.0042b589
push eax
lea ecx, [ebp - 0x848]
call fcn.0040217f
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x4240c0
call fcn.0042b589
push eax
lea ecx, [ebp - 0x834]
call fcn.0040217f
mov byte [ebp - 4], 3
push dword [ebp + 8]
mov ebx, str.file
push edi
push str.count
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0xa
lea ecx, [ebp - 0x868]
mov dword [ebp - 0x830], eax
call fcn.0042c48a
mov byte [ebp - 4], 4
call fcn.0042b589
push eax
lea ecx, [ebp - 0x840]
call fcn.0040217f
mov byte [ebp - 4], 5
call fcn.0042b589
push eax
lea ecx, [ebp - 0x844]
call fcn.0040217f
mov byte [ebp - 4], 6
call fcn.0042b589
push eax
lea ecx, [ebp - 0x838]
call fcn.0040217f
xor eax, eax
inc eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x828], eax
cmp dword [ebp - 0x830], eax
jl 0x423d61
push dword [ebp - 0x828]
lea eax, [ebp - 0x840]
push 0x58837c
push eax
call fcn.004034f1
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push 0x104
push eax
push 0x587cac
push dword [ebp - 0x840]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x844]
push 0x587d38
push eax
call fcn.004034f1
add esp, 0xc
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x868]
call fcn.0042c6d5
inc dword [ebp - 0x828]
mov eax, dword [ebp - 0x828]
cmp eax, dword [ebp - 0x830]
jle 0x423ce5
cmp dword [ebp - 0x830], edi
jle 0x424091
lea eax, [esi + 0x5c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
cmp esi, edi
jne 0x423d81
xor esi, esi
jmp 0x424019
call fcn.0042b589
push eax
lea ecx, [ebp - 0x828]
call fcn.0040217f
push 8
pop ebx
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], bl
call fcn.00406998
push eax
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 9
call fcn.00401ee1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x82c]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [eax + ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x82c], esp
mov esi, esp
push eax
call fcn.00401e83
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.00406f17
cmp eax, edi
jne 0x423e10
mov ecx, dword [ebp - 0x828]
add ecx, 0xfffffff0
call fcn.004021a7
jmp 0x423d7a
xor eax, eax
push 0x206
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push edi
push eax
call fcn.0052bfd0
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [eax + ebx]
mov eax, pe_nt_image_headers32
push eax
lea edx, [ebp - 0x424]
push edx
push eax
lea edx, [ebp - 0x824]
push edx
push eax
lea eax, [ebp - 0x624]
push eax
push 3
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.0052ca3b
add esp, 0x24
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x830]
call fcn.00401daf
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x830]
add eax, 0xfffffff0
push eax
call fcn.00401e83
lea edi, [eax + 0x10]
mov dword [ebp - 0x82c], edi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x82c]
mov dword [esp], 0x588b24
call fcn.004028db
test eax, eax
je 0x423ee0
push str..vbs
lea ecx, [ebp - 0x82c]
call fcn.004028db
test eax, eax
je 0x423ee0
and dword [ebp - 0x82c], 0
jmp 0x423eea
mov dword [ebp - 0x82c], 1
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0xb
call fcn.004021a7
cmp dword [ebp - 0x82c], 0
je 0x423f6f
mov edi, dword [ebp - 0x828]
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x82c], esp
push edi
call fcn.00401e83
pop ecx
mov ecx, dword [ebp - 0x82c]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [eax + ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x82c], esp
mov esi, esp
push eax
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 0xb
call fcn.004057ab
mov ecx, dword [ebp - 0x830]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021a7
mov ecx, edi
call fcn.004021a7
jmp 0x424019
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov edi, dword [ebp - 0x828]
push ecx
add edi, 0xfffffff0
cmp dword [eax], 0x64
mov dword [ebp - 0x18], esp
jne 0x423fb8
mov esi, esp
push edi
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x868]
mov ebx, esp
mov dword [ebp - 0x82c], esp
push eax
call fcn.00406881
mov byte [ebp - 4], 0xb
call fcn.004293c3
jmp 0x423fff
mov dword [ebp - 0x82c], esp
push edi
call fcn.00401e83
pop ecx
mov ecx, dword [ebp - 0x82c]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [eax + ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x82c], esp
mov esi, esp
push eax
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 0xb
call fcn.00429435
pop ecx
pop ecx
mov ecx, dword [ebp - 0x830]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, edi
call fcn.004021a7
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x838]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x844]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x840]
add ecx, 0xfffffff0
call fcn.004021a7
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 3
call fcn.0042c5b8
mov ecx, dword [ebp - 0x834]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x848]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x84c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, esi
call fcn.0052fb75
ret 4
mov ecx, dword [ebp - 0x838]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x844]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x840]
add ecx, 0xfffffff0
call fcn.004021a7
xor esi, esi
inc esi
jmp 0x424043
lea eax, [esi + 0x5c]
push 0xa
lea ecx, [ebp - 0x884]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], esi
call fcn.0042c48a
mov byte [ebp - 4], 0x10
cmp esi, edi
jne 0x4240eb
xor esi, esi
jmp 0x424388
call fcn.0042b589
push eax
lea ecx, [ebp - 0x828]
call fcn.0040217f
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x83c]
mov byte [ebp - 4], 0x11
call fcn.00406ba6
push eax
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0x13
call fcn.00401ee1
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x834]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x838]
mov eax, dword [ecx]
call dword [eax + 0x20]
push 8
pop ebx
mov eax, dword [eax + ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.00401e83
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x83c]
mov dword [esi], eax
call fcn.00406f17
cmp eax, edi
jne 0x42417c
mov ecx, dword [ebp - 0x828]
add ecx, 0xfffffff0
call fcn.004021a7
jmp 0x4240e4
xor eax, eax
push 0x206
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push edi
push eax
call fcn.0052bfd0
mov esi, dword [ebp - 0x838]
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [eax + ebx]
mov eax, pe_nt_image_headers32
push eax
lea edx, [ebp - 0x424]
push edx
push eax
lea edx, [ebp - 0x624]
push edx
push eax
lea eax, [ebp - 0x824]
push eax
push 3
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.0052ca3b
add esp, 0x24
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x830]
call fcn.00401daf
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x830]
add eax, 0xfffffff0
push eax
call fcn.00401e83
lea edi, [eax + 0x10]
mov dword [ebp - 0x838], edi
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x838]
mov dword [esp], 0x588b24
call fcn.004028db
test eax, eax
je 0x42424f
push str..vbs
lea ecx, [ebp - 0x838]
call fcn.004028db
test eax, eax
je 0x42424f
and dword [ebp - 0x838], 0
jmp 0x424259
mov dword [ebp - 0x838], 1
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0x14
call fcn.004021a7
cmp dword [ebp - 0x838], 0
je 0x4242de
mov edi, dword [ebp - 0x828]
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x834], esp
push edi
call fcn.00401e83
pop ecx
mov ecx, dword [ebp - 0x834]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x16
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [eax + ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x834], esp
mov esi, esp
push eax
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 0x14
call fcn.004057ab
mov ecx, dword [ebp - 0x830]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021a7
mov ecx, edi
call fcn.004021a7
jmp 0x424388
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov edi, dword [ebp - 0x828]
push ecx
add edi, 0xfffffff0
cmp dword [eax], 0x64
mov dword [ebp - 0x18], esp
jne 0x424327
mov esi, esp
push edi
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x884]
mov ebx, esp
mov dword [ebp - 0x834], esp
push eax
call fcn.00406881
mov byte [ebp - 4], 0x14
call fcn.004293c3
jmp 0x42436e
mov dword [ebp - 0x834], esp
push edi
call fcn.00401e83
pop ecx
mov ecx, dword [ebp - 0x834]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x18
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [eax + ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x834], esp
mov esi, esp
push eax
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 0x14
call fcn.00429435
pop ecx
pop ecx
mov ecx, dword [ebp - 0x830]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, edi
call fcn.004021a7
xor esi, esi
inc esi
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 2
call fcn.0042c5b8
jmp 0x424060