Function at 0x4a39d0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4adb67
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [0x4dd09c]
xor ebx, ebx
cmp eax, ebx
je 0x4a3a1a
push eax
mov esi, eax
call fcn.00449150
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [0x4dd09c], ebx
fldz
mov dword [esp + 0x20], ebx
fstp qword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], vtable.ADXVariable.0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push 1
push 0x4ba9a0
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], ebx
call fcn.00471610
mov ebp, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push 0xf4
call ebp
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
je 0x4a3aa1
mov word [esi + 0x24], bx
mov byte [esi + 0x26], 8
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esp + 0x50], 3
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov ebx, esi
call fcn.00449050
xor ebx, ebx
jmp 0x4a3aa3
xor esi, esi
mov byte [esp + 0x50], bl
push 0x2b4
mov dword [0x4dd09c], esi
call ebp
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x50], 4
cmp eax, ebx
je 0x4a3acc
push eax
call fcn.0043d290
jmp 0x4a3ace
xor eax, eax
mov byte [esp + 0x50], bl
fld dword [0x4bf288]
mov dword [0x4dd090], eax
mov dword [eax + 0x38], ebx
mov eax, dword [0x4dd090]
or dword [eax + 0x28], 2
mov eax, dword [0x4dd090]
mov dword [eax + 0x34], 0x10
mov ecx, dword [0x4dd090]
fstp dword [ecx + 0x298]
mov esi, dword [0x4dd090]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4a3b1b
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], ebx
push 0xb
call fcn.0042dbdc
mov dword [esi + 4], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
mov byte [eax + 0xa], cl
mov edx, dword [str.Channel_1]
mov eax, dword [esi + 4]
mov dword [eax], edx
mov ecx, dword [0x4ba9a8]
mov dword [eax + 4], ecx
mov dx, word [0x4ba9ac]
add esp, 4
mov word [eax + 8], dx
mov ebx, dword [0x4dd090]
push 0x4ba9b0
mov edx, 2
call fcn.0043d0c0
mov eax, dword [0x4dd090]
push eax
lea esi, [esp + 0x20]
call fcn.0043c8a0
mov edi, dword [0x4dd090]
mov edx, 0x4ba9b4
call fcn.00448470
push 0x2b4
call ebp
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
mov byte [esp + 0x50], 5
cmp eax, ebx
je 0x4a3baa
push eax
call fcn.0043d290
jmp 0x4a3bac
xor eax, eax
mov byte [esp + 0x50], bl
fld dword [0x4bf288]
mov dword [0x4dd094], eax
mov dword [eax + 0x38], ebx
mov eax, dword [0x4dd094]
or dword [eax + 0x28], 2
mov ecx, dword [0x4dd094]
mov dword [ecx + 0x34], 0x10
mov edx, dword [0x4dd094]
fstp dword [edx + 0x298]
mov esi, dword [0x4dd094]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4a3bfa
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], ebx
push 0xb
call fcn.0042dbdc
mov dword [esi + 4], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
mov byte [eax + 0xa], cl
mov ecx, dword [str.Channel_2]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov edx, dword [0x4ba9bc]
mov dword [eax + 4], edx
mov cx, word [0x4ba9c0]
add esp, 4
mov word [eax + 8], cx
mov ebx, dword [0x4dd094]
push 0x4ba9b0
mov edx, 2
call fcn.0043d0c0
mov edx, dword [0x4dd094]
push edx
lea esi, [esp + 0x20]
call fcn.0043c8a0
mov edi, dword [0x4dd094]
mov edx, 0x4ba9c4
call fcn.00448470
push 0x2b4
call ebp
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
mov byte [esp + 0x50], 6
cmp eax, ebx
je 0x4a3c8a
push eax
call fcn.0043d290
jmp 0x4a3c8c
xor eax, eax
mov byte [esp + 0x50], bl
fld dword [0x4bf288]
mov dword [0x4dd098], eax
mov dword [eax + 0x38], ebx
mov eax, dword [0x4dd098]
or dword [eax + 0x28], 2
mov eax, dword [0x4dd098]
mov dword [eax + 0x34], 0x10
mov ecx, dword [0x4dd098]
fstp dword [ecx + 0x298]
mov esi, dword [0x4dd098]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4a3cd9
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], ebx
push 0xb
call fcn.0042dbdc
mov dword [esi + 4], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
mov byte [eax + 0xa], cl
mov edx, dword [str.Channel_3]
mov eax, dword [esi + 4]
mov dword [eax], edx
mov ecx, dword [0x4ba9cc]
mov dword [eax + 4], ecx
mov dx, word [0x4ba9d0]
add esp, 4
mov word [eax + 8], dx
mov ebx, dword [0x4dd098]
push 0x4ba9b0
mov edx, 2
call fcn.0043d0c0
mov eax, dword [0x4dd098]
push eax
lea esi, [esp + 0x20]
call fcn.0043c8a0
mov edi, dword [0x4dd098]
mov edx, 0x4ba9d4
call fcn.00448470
mov eax, dword [0x4dd090]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4a3d8c
mov esi, dword [0x4dd09c]
mov ecx, dword [esi + 0x40]
sub ecx, dword [esi + 0x3c]
add esi, 0x3c
sar ecx, 2
cmp ecx, 0xffffffff
ja 0x4a3d78
lea eax, [esp + 0x14]
mov edi, esi
call fcn.00404c50
jmp 0x4a3d8c
mov eax, dword [esi]
lea edx, [esp + 0x14]
sub eax, 4
push edx
push eax
lea ebx, [esp + 0x20]
call fcn.00404ef0
mov eax, dword [0x4dd094]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4a3dd1
mov esi, dword [0x4dd09c]
mov eax, dword [esi + 0x40]
sub eax, dword [esi + 0x3c]
add esi, 0x3c
sar eax, 2
cmp eax, 0xffffffff
ja 0x4a3dbd
lea eax, [esp + 0x14]
mov edi, esi
call fcn.00404c50
jmp 0x4a3dd1
mov eax, dword [esi]
lea ecx, [esp + 0x14]
sub eax, 4
push ecx
push eax
lea ebx, [esp + 0x20]
call fcn.00404ef0
mov eax, dword [0x4dd098]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4a3e16
mov esi, dword [0x4dd09c]
mov edx, dword [esi + 0x40]
sub edx, dword [esi + 0x3c]
add esi, 0x3c
sar edx, 2
cmp edx, 0xffffffff
ja 0x4a3e02
lea eax, [esp + 0x14]
mov edi, esi
call fcn.00404c50
jmp 0x4a3e16
mov eax, dword [esi]
lea ecx, [esp + 0x14]
sub eax, 4
push ecx
push eax
lea ebx, [esp + 0x20]
call fcn.00404ef0
push 0x4defb0
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push str.TunerPro_Files_
push 0x4defb0
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
push 0x4defb0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edi, [esp + 0x14]
mov ecx, 0x104
mov edx, 0x4defb0
call fcn.0049ee50
test eax, eax
js 0x4a3e78
mov ecx, dword [esp + 0x14]
mov eax, 0x104
sub eax, ecx
lea ecx, [ecx + 0x4defb0]
mov edx, str.DefaultAPADConfig.adx
call fcn.0049ec80
mov edi, dword [0x4dd09c]
xor edx, edx
mov ecx, 0x4defb0
call fcn.00449ba0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], vtable.MMVariable.0
test eax, eax
je 0x4a3ea4
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret