Function at 0x44f160
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfd1d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x533094]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x288], eax
lea esi, [eax + 0xc]
mov byte [eax], 0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea edi, [eax + 0x24]
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [ebp - 0x120]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x44f275
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f221
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
mov ecx, esi
call fcn.00443580
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x44f25f
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x44f257
mov eax, dword [esi]
mov word [eax + ecx], 0x5c
jmp 0x44f275
push 1
push 0x529600
push dword [ebp - 0x288]
mov ecx, esi
push 1
call fcn.00448c30
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x290], 0
push str.Path.ini
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x28c], 0
movups xmmword [ebp - 0x2a0], xmm0
call fcn.00448d90
mov byte [ebp - 4], 2
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x44f2b3
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2a0]
push eax
push 0
call fcn.00453590
mov dword [ebp - 0x254], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x250], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x264], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x254], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 0x10
cmovae eax, dword [ebp - 0x264]
push eax
push 0
push str.count
push 0x5297e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x24c], eax
cmp ecx, 0x10
jb 0x44f371
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44f367
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f6b6
push ecx
push edx
call fcn.004b40e2
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
cmp ecx, 0x10
jb 0x44f3ca
mov edx, dword [ebp - 0x2a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44f3c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f6b6
push ecx
push edx
call fcn.004b40e2
add esp, 8
cmp dword [ebp - 0x24c], 0
mov dword [ebp - 0x244], 0
jle 0x44f692
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x248], eax
nop dword [eax]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], 0
push str.Path.ini
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a4], 0
movups xmmword [ebp - 0x2b8], xmm0
call fcn.00448d90
mov byte [ebp - 4], 3
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x44f42e
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2b8]
push eax
push 0
call fcn.00453590
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 0
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x268], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x27c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x26c], xmm0
mov edx, dword [ebp - 0x244]
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 4
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x27c]
cmp dword [ebp - 0x268], 0x10
cmovae eax, dword [ebp - 0x27c]
mov dword [ebp - 0x280], eax
call fcn.0044ab30
cmp dword [eax + 0x14], 0x10
jb 0x44f4bc
mov eax, dword [eax]
push dword [ebp - 0x280]
lea ecx, [ebp - 0x228]
push 0x104
push ecx
push 0x52933b
push eax
push 0x5297e0
call dword [ebp - 0x248]
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 0x10
jb 0x44f519
mov edx, dword [ebp - 0x2d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44f50f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f6b6
push ecx
push edx
call fcn.004b40e2
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0xf
mov byte [ebp - 0x2d0], 0
cmp ecx, 0x10
jb 0x44f572
mov edx, dword [ebp - 0x27c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44f568
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f6b6
push ecx
push edx
call fcn.004b40e2
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0xf
mov byte [ebp - 0x27c], 0
cmp ecx, 0x10
jb 0x44f5cb
mov edx, dword [ebp - 0x2b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44f5c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f6b6
push ecx
push edx
call fcn.004b40e2
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x228]
mov dword [ebp - 0x22c], 0
movups xmmword [ebp - 0x240], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44f5f2
sub eax, edx
lea ecx, [ebp - 0x240]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00448d90
mov byte [ebp - 4], 5
cmp dword [ebp - 0x230], 0
je 0x44f63f
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x240]
push ecx
cmp eax, dword [edi + 8]
je 0x44f637
mov ecx, eax
call fcn.00447050
add dword [edi + 4], 0x18
jmp 0x44f63f
push eax
mov ecx, edi
call fcn.00454ad0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0x10
jb 0x44f679
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44f66f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f6b6
push ecx
push edx
call fcn.004b40e2
add esp, 8
mov eax, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x244], eax
cmp eax, dword [ebp - 0x24c]
jl 0x44f3f0
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b409a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004bc460
int3