Function at 0x4125e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5381be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe70
mov eax, dword [0x5ab980]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x18], eax
xor esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0xe88], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x664]
push 0x410
push eax
push esi
push esi
push esi
mov byte [esp + 0xea0], 7
mov dword [esp + 0x4c], esi
call ebx
lea ecx, [esp + 0x660]
push ecx
lea ecx, [esp + 0x14]
call fcn.00512a6d
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp eax, esi
jle 0x412a1f
mov eax, dword [esp + 0x34]
or ecx, 0xffffffff
lea edx, [esp + 0x14c]
lea edi, [esp + eax + 0x660]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00512a6d
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x412a04
lea ecx, [esp + 0x10]
call fcn.0050e8af
lea ecx, [esp + 0x10]
call fcn.00512e18
push 0
push str.destination
lea ecx, [esp + 0x18]
call fcn.0050e34f
cmp eax, 0xffffffff
jne 0x41271b
push 0
push str.directories
lea ecx, [esp + 0x18]
call fcn.0050e34f
cmp eax, 0xffffffff
jne 0x41271b
push 0
push str.miscellaneous
lea ecx, [esp + 0x18]
call fcn.0050e34f
cmp eax, 0xffffffff
je 0x412a04
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0xa74]
push 0x410
push eax
push 0
push 0
push ecx
mov dword [esp + 0x48], 0
call ebx
lea edx, [esp + 0xa70]
lea ecx, [esp + 0x18]
push edx
call fcn.00512a6d
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x412a04
mov ecx, dword [esp + 0x30]
xor eax, eax
lea edx, [esp + 0x48]
lea edi, [esp + ecx + 0xa70]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00512a6d
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4129e9
mov eax, dword [ebp + 8]
lea edx, [esp + 0x250]
push eax
mov eax, dword [esp + 0x14]
push 0x410
push edx
push 0
push ecx
push eax
call ebx
push 0
push str.miscellaneous
lea ecx, [esp + 0x18]
call fcn.0050e34f
cmp eax, 0xffffffff
jne 0x412824
lea ecx, [esp + 0x18]
call fcn.00512e06
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x250]
push ecx
push edx
lea ecx, [ebp + 0x10]
call fcn.00511d2b
mov ecx, eax
call fcn.00512a6d
push 0
push ecx
lea eax, [esp + 0x258]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00512952
mov ecx, dword [esp + 0xe98]
call fcn.00408690
jmp 0x4129e9
lea ecx, [esp + 0x250]
push ecx
lea ecx, [esp + 0x20]
call fcn.00512a6d
lea ecx, [esp + 0x1c]
call fcn.00512e18
push 0
push str._directory_
lea ecx, [esp + 0x24]
call fcn.0050e34f
cmp eax, 0xffffffff
je 0x41293a
add eax, 0xb
lea edx, [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.0050e172
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe8c], 8
call fcn.00512a1d
lea ecx, [esp + 0x40]
mov byte [esp + 0xe88], 7
call fcn.005128e4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41293a
lea ecx, [esp + 0x14]
call fcn.0050e8af
lea ecx, [esp + 0x14]
call fcn.0050e7b8
lea ecx, [esp + 0x44]
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.0050e22b
mov eax, dword [eax]
mov esi, 0x5971e8
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4128ec
test cl, cl
je 0x4128e8
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4128ec
add eax, 2
add esi, 2
test cl, cl
jne 0x4128c4
xor eax, eax
jmp 0x4128f1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x44]
setne bl
call fcn.005128e4
test bl, bl
je 0x412911
push 0x5971e8
lea ecx, [esp + 0x18]
call fcn.00512cc0
push 0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00512659
mov esi, dword [esp + 0xe98]
mov ecx, esi
call fcn.00408690
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x412941
mov esi, dword [esp + 0xe90]
push 0
push str._shortcut_
lea ecx, [esp + 0x24]
call fcn.0050e34f
cmp eax, 0xffffffff
je 0x4129e9
add eax, 0xa
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0050e172
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe8c], 9
call fcn.00512a1d
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe88], 7
call fcn.005128e4
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x4129e9
lea ecx, [esp + 0x14]
call fcn.0050e8af
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.004222e0
add esp, 0xc
test eax, eax
jne 0x4129dd
lea eax, [esp + 0x20]
lea edx, [esp + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00512659
mov ecx, esi
call fcn.00407eb0
jmp 0x4129e9
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00407e10
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx - 8]
test eax, eax
lea ecx, [edx + eax + 1]
mov dword [esp + 0x30], ecx
jg 0x41275f
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov eax, dword [edx - 8]
test eax, eax
lea edx, [ecx + eax + 1]
mov dword [esp + 0x34], edx
jg 0x412677
mov esi, dword [esp + 0xe90]
mov ecx, ebp
push esi
call fcn.00412c10
or edi, 0xffffffff
cmp eax, edi
jne 0x412ac7
lea ecx, [esp + 0x20]
mov byte [esp + 0xe88], 6
call fcn.005128e4
lea ecx, [esp + 0x24]
mov byte [esp + 0xe88], 5
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0xe88], 4
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe88], 3
call fcn.005128e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe88], 2
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0xe88], 1
call fcn.005128e4
lea ecx, [esp + 0x28]
mov byte [esp + 0xe88], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0xe88], edi
call fcn.005128e4
mov eax, edi
jmp 0x412be8
push esi
mov ecx, ebp
call fcn.00413140
cmp eax, edi
mov byte [esp + 0xe88], 6
lea ecx, [esp + 0x20]
jne 0x412b68
call fcn.005128e4
lea ecx, [esp + 0x24]
mov byte [esp + 0xe88], 5
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0xe88], 4
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe88], 3
call fcn.005128e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe88], 2
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0xe88], 1
call fcn.005128e4
lea ecx, [esp + 0x28]
mov byte [esp + 0xe88], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0xe88], edi
call fcn.005128e4
mov eax, 0xfffffffe
jmp 0x412be8
call fcn.005128e4
lea ecx, [esp + 0x24]
mov byte [esp + 0xe88], 5
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0xe88], 4
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe88], 3
call fcn.005128e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe88], 2
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0xe88], 1
call fcn.005128e4
lea ecx, [esp + 0x28]
mov byte [esp + 0xe88], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0xe88], edi
call fcn.005128e4
mov eax, 1
mov ecx, dword [esp + 0xe80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe7c
ret 4