Function at 0x45793a
Capabilities:
Create directory
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa94a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x118]
call fcn.00404900
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.004be790
add esp, 0xc
push 0x104
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
call fcn.004be790
add esp, 0xc
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x52e840
push 0x52e844
push 0x52e858
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x52e864
lea ecx, [ebp - 0x110]
push ecx
call fcn.004bea00
add esp, 8
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
call fcn.004be9f0
add esp, 8
push 0x52e874
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
call fcn.004bea00
add esp, 8
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0
push str.ENABLESORTUSB
push 0x52e894
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5425bc], eax
cmp dword [0x5425bc], 0
je 0x457c9f
push 0x751
mov ecx, dword [ebp - 0x13c]
call fcn.004e2094
mov dword [ebp - 0x114], eax
push 5
mov ecx, dword [ebp - 0x114]
call fcn.004e2470
lea ecx, [ebp - 0x134]
call fcn.004e4aff
mov byte [ebp - 4], 1
push 0
push 0x40
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
lea ecx, [ebp - 0x134]
call fcn.004e4c36
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x457c10
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x457b4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xb7
je 0x457b4c
lea edx, [ebp - 0x110]
push edx
push 0x52e8a0
lea eax, [ebp - 0x118]
push eax
call fcn.004d89f2
add esp, 0xc
push 0
push 0x52e8b0
lea ecx, [ebp - 0x118]
call fcn.00404920
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.004e07ce
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x13c]
call dword [edx + 0xc8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004e4bf3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004e2e21
jmp 0x457d6b
push 0
push 0x1042
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
lea ecx, [ebp - 0x134]
call fcn.004e4c36
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x457bf2
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
push str.Cant_create__s
lea edx, [ebp - 0x118]
push edx
call fcn.004d89f2
add esp, 0xc
push 0
push 0x52e8c8
lea ecx, [ebp - 0x118]
call fcn.00404920
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.004e07ce
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x13c]
call dword [edx + 0xc8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004e4bf3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004e2e21
jmp 0x457d6b
lea ecx, [ebp - 0x134]
call fcn.004e4f66
push 0x40
push 0
push 0x543f70
call fcn.004be790
add esp, 0xc
jmp 0x457c8e
lea ecx, [ebp - 0x134]
call fcn.004e4f66
mov dword [ebp - 0x120], 0
jmp 0x457c36
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x10
jge 0x457c8e
mov ecx, dword [ebp - 0x120]
push ecx
push 0x52e8d0
lea edx, [ebp - 0x118]
push edx
call fcn.004d89f2
add esp, 0xc
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
push 0
lea ecx, [ebp - 0x118]
call fcn.00404920
push eax
push 0x52e8dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x120]
mov dword [ecx*4 + 0x543f70], eax
jmp 0x457c27
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004e4bf3
jmp 0x457cc2
push 0x751
mov ecx, dword [ebp - 0x13c]
call fcn.004e2094
mov dword [ebp - 0x114], eax
push 0
mov ecx, dword [ebp - 0x114]
call fcn.004e2470
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0
push 0x52e8e4
push 0x52e8f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x542fc0], eax
mov dword [ebp - 0x120], 1
jmp 0x457d01
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x11
jge 0x457d59
mov ecx, dword [ebp - 0x120]
push ecx
push 0x52e90c
lea edx, [ebp - 0x118]
push edx
call fcn.004d89f2
add esp, 0xc
mov eax, dword [ebp - 0x13c]
add eax, 0x264
push eax
push 0
lea ecx, [ebp - 0x118]
call fcn.00404920
push eax
push 0x52e914
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x120]
mov dword [ecx*4 + 0x542f7c], eax
jmp 0x457cf2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004e2e21
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret