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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f51da
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.004048c0
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.004b9030
add esp, 0xc
push 0x104
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
call fcn.004b9030
add esp, 0xc
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x527fe0
push 0x527fe4
push 0x527ff8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x528004
lea ecx, [ebp - 0x110]
push ecx
call fcn.004b92a0
add esp, 8
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
call fcn.004b9290
add esp, 8
push 0x528014
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
call fcn.004b92a0
add esp, 8
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0
push str.ENABLESORTUSB
push 0x528034
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x53b450], eax
cmp dword [0x53b450], 0
je 0x455bbd
push 0x751
mov ecx, dword [ebp - 0x13c]
call fcn.004dc934
mov dword [ebp - 0x114], eax
push 5
mov ecx, dword [ebp - 0x114]
call fcn.004dcd10
lea ecx, [ebp - 0x134]
call fcn.004df39f
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.004df4d6
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x455b2e
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x455a6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xb7
je 0x455a6a
lea edx, [ebp - 0x110]
push edx
push 0x528040
lea eax, [ebp - 0x118]
push eax
call fcn.004d3292
add esp, 0xc
push 0
push 0x528050
lea ecx, [ebp - 0x118]
call fcn.004048e0
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.004db06e
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.004df493
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004dd6c1
jmp 0x455c89
push 0
push 0x1042
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
lea ecx, [ebp - 0x134]
call fcn.004df4d6
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x455b10
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
push str.Cant_create__s
lea edx, [ebp - 0x118]
push edx
call fcn.004d3292
add esp, 0xc
push 0
push 0x528068
lea ecx, [ebp - 0x118]
call fcn.004048e0
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.004db06e
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.004df493
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004dd6c1
jmp 0x455c89
lea ecx, [ebp - 0x134]
call fcn.004df806
push 0x40
push 0
push 0x53cde0
call fcn.004b9030
add esp, 0xc
jmp 0x455bac
lea ecx, [ebp - 0x134]
call fcn.004df806
mov dword [ebp - 0x120], 0
jmp 0x455b54
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x10
jge 0x455bac
mov ecx, dword [ebp - 0x120]
push ecx
push 0x528070
lea edx, [ebp - 0x118]
push edx
call fcn.004d3292
add esp, 0xc
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
push 0
lea ecx, [ebp - 0x118]
call fcn.004048e0
push eax
push 0x52807c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x120]
mov dword [ecx*4 + 0x53cde0], eax
jmp 0x455b45
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004df493
jmp 0x455be0
push 0x751
mov ecx, dword [ebp - 0x13c]
call fcn.004dc934
mov dword [ebp - 0x114], eax
push 0
mov ecx, dword [ebp - 0x114]
call fcn.004dcd10
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0
push 0x528084
push 0x528098
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x53be50], eax
mov dword [ebp - 0x120], 1
jmp 0x455c1f
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x11
jge 0x455c77
mov ecx, dword [ebp - 0x120]
push ecx
push 0x5280ac
lea edx, [ebp - 0x118]
push edx
call fcn.004d3292
add esp, 0xc
mov eax, dword [ebp - 0x13c]
add eax, 0x264
push eax
push 0
lea ecx, [ebp - 0x118]
call fcn.004048e0
push eax
push 0x5280b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x120]
mov dword [ecx*4 + 0x53be0c], eax
jmp 0x455c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004dd6c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret