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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9b1a
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.004adbd0
add esp, 0xc
push 0x104
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
call fcn.004adbd0
add esp, 0xc
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x51aeec
push 0x51aef0
push 0x51af04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x51af10
lea ecx, [ebp - 0x110]
push ecx
call fcn.004ade40
add esp, 8
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
call fcn.004ade30
add esp, 8
push 0x51af20
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
call fcn.004ade40
add esp, 8
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0
push str.ENABLESORTUSB
push 0x51af40
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x52d1d4], eax
cmp dword [0x52d1d4], 0
je 0x4517fd
push 0x751
mov ecx, dword [ebp - 0x13c]
call fcn.004d14d4
mov dword [ebp - 0x114], eax
push 5
mov ecx, dword [ebp - 0x114]
call fcn.004d18b0
lea ecx, [ebp - 0x134]
call fcn.004d3f3f
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.004d4076
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x45176e
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4516aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xb7
je 0x4516aa
lea edx, [ebp - 0x110]
push edx
push 0x51af4c
lea eax, [ebp - 0x118]
push eax
call fcn.004c7e32
add esp, 0xc
push 0
push 0x51af5c
lea ecx, [ebp - 0x118]
call fcn.004048d0
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.004cfc0e
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.004d4033
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004d2261
jmp 0x4518c9
push 0
push 0x1042
mov eax, dword [ebp - 0x13c]
add eax, 0x46c
push eax
lea ecx, [ebp - 0x134]
call fcn.004d4076
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x451750
mov ecx, dword [ebp - 0x13c]
add ecx, 0x46c
push ecx
push str.Cant_create__s
lea edx, [ebp - 0x118]
push edx
call fcn.004c7e32
add esp, 0xc
push 0
push 0x51af74
lea ecx, [ebp - 0x118]
call fcn.004048d0
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.004cfc0e
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.004d4033
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004d2261
jmp 0x4518c9
lea ecx, [ebp - 0x134]
call fcn.004d43a6
push 0x40
push 0
push 0x52ead8
call fcn.004adbd0
add esp, 0xc
jmp 0x4517ec
lea ecx, [ebp - 0x134]
call fcn.004d43a6
mov dword [ebp - 0x120], 0
jmp 0x451794
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x10
jge 0x4517ec
mov ecx, dword [ebp - 0x120]
push ecx
push 0x51af7c
lea edx, [ebp - 0x118]
push edx
call fcn.004c7e32
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 0x51af88
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x120]
mov dword [ecx*4 + 0x52ead8], eax
jmp 0x451785
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004d4033
jmp 0x451820
push 0x751
mov ecx, dword [ebp - 0x13c]
call fcn.004d14d4
mov dword [ebp - 0x114], eax
push 0
mov ecx, dword [ebp - 0x114]
call fcn.004d18b0
mov edx, dword [ebp - 0x13c]
add edx, 0x264
push edx
push 0
push 0x51af90
push 0x51afa4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x52dbd0], eax
mov dword [ebp - 0x120], 1
jmp 0x45185f
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x11
jge 0x4518b7
mov ecx, dword [ebp - 0x120]
push ecx
push 0x51afb8
lea edx, [ebp - 0x118]
push edx
call fcn.004c7e32
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 0x51afc0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x120]
mov dword [ecx*4 + 0x52db8c], eax
jmp 0x451850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004d2261
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret