Function at 0x4dad40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8c77
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x49c], edi
mov eax, dword [0x5d928c]
movups xmm0, xmmword [str.FOLDER_A1]
mov esi, dword [ebp + 8]
push 0x1f4
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x40c]
push 0
push eax
mov dword [ebp - 0x4a0], esi
movups xmmword [ebp - 0x420], xmm0
call fcn.00571c00
mov eax, dword [0x5d9278]
movups xmm0, xmmword [str.FOLDER_A2]
push 0x1f4
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x204]
push 0
push eax
movups xmmword [ebp - 0x218], xmm0
call fcn.00571c00
add esp, 0x18
mov dword [ebp - 0x428], 0
xor eax, eax
mov dword [ebp - 0x424], 7
lea ecx, [ebp - 0x438]
mov word [ebp - 0x438], ax
push eax
push 0x5c6930
call fcn.004035d0
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x5c6930
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
call fcn.004035d0
imul eax, esi, 0x208
lea edx, [ebp - 0x420]
mov byte [ebp - 4], 1
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
add edx, eax
mov dword [ebp - 0x4a4], eax
mov ecx, edx
xor eax, eax
mov word [ebp - 0x480], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dae76
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x480]
call fcn.004035d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x468]
push 0x10
xor eax, eax
mov dword [ebp - 0x458], 0
push 0x5d9388
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
call fcn.004035d0
add edi, 4
mov byte [ebp - 4], 3
mov ecx, edi
mov dword [ebp - 0x440], 0
xor eax, eax
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4daef0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x450]
call fcn.004035d0
push 0x30
push 0x400
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 4
call fcn.0040aa10
cmp dword [ebp - 0x43c], 8
lea edi, [ebp - 0x450]
lea esi, [ebp - 0x438]
cmovae edi, dword [ebp - 0x450]
lea edx, [ebp - 0x498]
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x480]
push edi
cmovae esi, dword [ebp - 0x438]
lea eax, [ebp - 0x468]
cmp dword [ebp - 0x484], 8
push 0x64
cmovae edx, dword [ebp - 0x498]
cmp dword [ebp - 0x46c], 8
push esi
cmovae ecx, dword [ebp - 0x480]
cmp dword [ebp - 0x454], 8
push edx
cmovae eax, dword [ebp - 0x468]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push eax
lea ecx, [ebp - 0x438]
call fcn.0040aa10
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x4dafe1
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4dafd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4db22e
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov edx, dword [ebp - 0x454]
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
cmp edx, 8
jb 0x4db03e
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4db034
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4db233
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov edx, dword [ebp - 0x46c]
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
cmp edx, 8
jb 0x4db09b
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4db091
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4db238
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov edx, dword [ebp - 0x484]
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
cmp edx, 8
jb 0x4db0f8
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4db0ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4db23d
push edx
push ecx
call fcn.0056deb6
add esp, 8
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov esi, dword [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x438]
add esi, 0x3d8
mov edi, dword [ebp - 0x49c]
add esi, edi
push eax
push 0x104
push esi
call fcn.005746e6
push 0x5c6930
push esi
call fcn.00574f99
add esp, 0x14
test eax, eax
je 0x4db1d5
push 0x5c
push esi
call fcn.00570b1c
add esp, 8
test eax, eax
jne 0x4db160
push 0x2f
push esi
call fcn.00570b1c
add esp, 8
test eax, eax
je 0x4db173
push 0x5d9384
push 0x104
push esi
call fcn.00574a48
add esp, 0xc
mov eax, dword [ebp - 0x4a0]
xor esi, esi
test eax, eax
je 0x4db1c8
mov ecx, edi
lea edi, [ecx + 0x3d8]
nop word [eax + eax]
mov eax, dword [ebp - 0x4a4]
add eax, 0x3d8
add eax, ecx
push eax
push edi
call fcn.00574f99
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x4a0]
je 0x4db1c2
mov ecx, dword [ebp - 0x49c]
inc esi
add edi, 0x208
cmp esi, eax
jb 0x4db190
mov edi, dword [ebp - 0x49c]
cmp esi, eax
jne 0x4db1d5
mov eax, dword [ebp + 0xc]
or dword [edi + 0x3d4], eax
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4db211
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4db207
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4db242
push edx
push ecx
call fcn.0056deb6
add esp, 8
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.0056d977
mov esp, ebp
pop ebp
ret 8
call fcn.00574908
call fcn.00574908
call fcn.00574908
call fcn.00574908
call fcn.00574908
int3