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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5c1a
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.004048b0
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.004a9cd0
add esp, 0xc
push 0x104
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x516ce0
push 0x516ce4
push 0x516cf8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x516d04
lea ecx, [ebp - 0x110]
push ecx
call fcn.004a9f40
add esp, 8
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
call fcn.004a9f30
add esp, 8
push 0x516d14
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
call fcn.004a9f40
add esp, 8
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0
push str.ENABLESORTUSB
push 0x516d34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x528494], eax
cmp dword [0x528494], 0
je 0x45116d
push 0x751
mov ecx, dword [ebp - 0x13c]
call fcn.004cd5d4
mov dword [ebp - 0x114], eax
push 5
mov ecx, dword [ebp - 0x114]
call fcn.004cd9b0
lea ecx, [ebp - 0x134]
call fcn.004d003f
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.004d0176
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x4510de
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x45101a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xb7
je 0x45101a
lea edx, [ebp - 0x110]
push edx
push 0x516d40
lea eax, [ebp - 0x118]
push eax
call fcn.004c3f32
add esp, 0xc
push 0
push 0x516d50
lea ecx, [ebp - 0x118]
call fcn.004048d0
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.004cbd0e
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.004d0133
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004ce361
jmp 0x451239
push 0
push 0x1042
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
lea ecx, [ebp - 0x134]
call fcn.004d0176
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x4510c0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
push str.Cant_create__s
lea edx, [ebp - 0x118]
push edx
call fcn.004c3f32
add esp, 0xc
push 0
push 0x516d68
lea ecx, [ebp - 0x118]
call fcn.004048d0
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.004cbd0e
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.004d0133
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004ce361
jmp 0x451239
lea ecx, [ebp - 0x134]
call fcn.004d04a6
push 0x40
push 0
push 0x529d88
call fcn.004a9cd0
add esp, 0xc
jmp 0x45115c
lea ecx, [ebp - 0x134]
call fcn.004d04a6
mov dword [ebp - 0x120], 0
jmp 0x451104
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x10
jge 0x45115c
mov ecx, dword [ebp - 0x120]
push ecx
push 0x516d70
lea edx, [ebp - 0x118]
push edx
call fcn.004c3f32
add esp, 0xc
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
push 0
lea ecx, [ebp - 0x118]
call fcn.004048d0
push eax
push 0x516d7c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x120]
mov dword [ecx*4 + 0x529d88], eax
jmp 0x4510f5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004d0133
jmp 0x451190
push 0x751
mov ecx, dword [ebp - 0x13c]
call fcn.004cd5d4
mov dword [ebp - 0x114], eax
push 0
mov ecx, dword [ebp - 0x114]
call fcn.004cd9b0
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0
push 0x516d84
push 0x516d98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x528e90], eax
mov dword [ebp - 0x120], 1
jmp 0x4511cf
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x11
jge 0x451227
mov ecx, dword [ebp - 0x120]
push ecx
push 0x516dac
lea edx, [ebp - 0x118]
push edx
call fcn.004c3f32
add esp, 0xc
mov eax, dword [ebp - 0x13c]
add eax, 0x264
push eax
push 0
lea ecx, [ebp - 0x118]
call fcn.004048d0
push eax
push 0x516db4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x120]
mov dword [ecx*4 + 0x528e4c], eax
jmp 0x4511c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004ce361
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret