Function at 0x449750
Capabilities:
Create thread
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdb4
mov eax, dword [0x46fc68]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x24], 6
push 0x104
lea eax, [ebp - 0x440]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x449a0d
lea ecx, [ebp - 0x440]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0x65c], eax
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [str.CTAudMon.ini]
push ecx
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x650]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x654], eax
lea ecx, [ebp - 0x650]
push ecx
push 0
push str.NumBuffering
mov edx, dword [0x464130]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
je 0x44980e
mov eax, dword [ebp - 0x448]
mov dword [ebp + 0x14], eax
lea ecx, [ebp - 0x650]
push ecx
push 0
push str.PerBufferDurationInMilliseconds
mov edx, dword [0x464130]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
je 0x449841
mov eax, dword [ebp - 0x444]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x650]
push ecx
push 6
push str.AdditionalPerBufferDurationInMilliseconds_DDLive
mov edx, dword [0x464130]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x650]
push eax
push 0
push str.UseDefaultWASAPIOut
mov ecx, dword [0x464130]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x664], eax
cmp dword [ebp - 0x664], 0
je 0x4498cb
mov dword [ebp - 0x6c0], 0x58
lea edx, [ebp - 0x6c0]
push edx
push 0
xor eax, eax
cmp dword [ebp - 0x664], 1
setne al
add eax, 2
push eax
push 1
call fcn.00443a00
mov dword [ebp - 0x6c4], eax
cmp dword [ebp - 0x6c4], 0
jne 0x4498cb
mov ecx, dword [ebp - 0x6bc]
mov dword [ebp + 0xc], ecx
lea edx, [ebp - 0x650]
push edx
push 0
push str.UseDefaultWASAPIIn
mov eax, dword [0x464130]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x660], eax
cmp dword [ebp - 0x660], 0
je 0x4499d6
cmp dword [ebp - 0x660], 1
je 0x44990a
cmp dword [ebp - 0x660], 2
jne 0x449951
mov dword [ebp - 0x720], 0x58
lea ecx, [ebp - 0x720]
push ecx
push 0
xor edx, edx
cmp dword [ebp - 0x660], 1
setne dl
add edx, 2
push edx
push 2
call fcn.00443a00
mov dword [ebp - 0x724], eax
cmp dword [ebp - 0x724], 0
jne 0x44994c
mov eax, dword [ebp - 0x71c]
mov dword [ebp + 8], eax
jmp 0x4499d6
cmp dword [ebp - 0x660], 3
je 0x449963
cmp dword [ebp - 0x660], 4
jne 0x4499d6
mov dword [ebp - 0x780], 0x58
lea ecx, [ebp - 0x780]
push ecx
push 0
xor edx, edx
cmp dword [ebp - 0x660], 3
setne dl
add edx, 2
push edx
push 1
call fcn.00443a00
mov dword [ebp - 0x784], eax
cmp dword [ebp - 0x784], 0
jne 0x4499d6
mov eax, dword [ebp - 0x77c]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x58]
push ecx
sub esp, 0x34
mov ecx, 0xd
lea esi, [ebp + 0x1c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00449160
jmp 0x449da9
lea ecx, [ebp - 0x650]
push ecx
push 0
push str.DelayBeforeStartInMilliseconds
mov edx, dword [0x464130]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x658], eax
cmp dword [ebp - 0x658], 0
je 0x449a0d
mov eax, dword [ebp - 0x658]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x10], 0xffffffff
jne 0x449a84
push 0x4686fc
lea ecx, [ebp + 0x20]
push ecx
call fcn.00401020
add esp, 8
test eax, eax
je 0x449a3f
mov dword [ebp + 0x10], 0x19
jmp 0x449a82
push 0x46870c
lea edx, [ebp + 0x20]
push edx
call fcn.00401020
add esp, 8
test eax, eax
je 0x449a5d
mov dword [ebp + 0x10], 0x20
jmp 0x449a82
push 0x46871c
lea eax, [ebp + 0x20]
push eax
call fcn.00401020
add esp, 8
test eax, eax
je 0x449a7b
mov dword [ebp + 0x10], 0x20
jmp 0x449a82
mov dword [ebp + 0x10], 0x19
jmp 0x449a94
cmp dword [ebp + 0x10], 0
jne 0x449a94
mov eax, 3
jmp 0x449da9
push 0x46870c
lea ecx, [ebp + 0x20]
push ecx
call fcn.00401020
add esp, 8
test eax, eax
je 0x449ab2
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x24]
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x14], 0xffffffff
jne 0x449ac1
mov dword [ebp + 0x14], 2
jmp 0x449ad7
cmp dword [ebp + 0x14], 0
je 0x449acd
cmp dword [ebp + 0x14], 1
jne 0x449ad7
mov eax, 3
jmp 0x449da9
push 0x4686fc
lea eax, [ebp + 0x20]
push eax
call fcn.00401020
add esp, 8
test eax, eax
je 0x449b16
cmp dword [ebp + 0x50], 0
jne 0x449afb
mov dword [ebp - 0xc], 0x440790
jmp 0x449b14
mov ecx, dword [ebp + 0x50]
cmp dword [ecx + 4], 0
jne 0x449b0d
mov dword [ebp - 0xc], 0x440790
jmp 0x449b14
mov dword [ebp - 0xc], 0x444260
jmp 0x449b1d
mov dword [ebp - 0xc], 0x444260
push 0x104
lea edx, [ebp - 0x990]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x788], eax
cmp dword [ebp - 0x788], 0
je 0x449ba7
lea eax, [ebp - 0x990]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0xda8], eax
lea ecx, [ebp - 0x990]
push ecx
lea edx, [ebp - 0xb98]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [str.CTAudMon.ini]
push eax
lea ecx, [ebp - 0x990]
push ecx
lea edx, [ebp - 0xda0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0xda4], eax
lea eax, [ebp - 0xda0]
push eax
push 0
push str.AudioFormat
mov ecx, dword [0x4640f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
jmp 0x449bae
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 1
jne 0x449bbb
mov dword [ebp - 0xc], 0x444260
push 0x148
call fcn.004088d8
add esp, 4
mov dword [ebp - 0xdb0], eax
mov edx, dword [ebp - 0xdb0]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x148
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x449c15
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edx, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 8], 0
je 0x449c4a
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], 1
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], 0
je 0x449c84
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp - 0xdac], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x2c], edx
mov edi, dword [ebp - 0x18]
add edi, 0x38
mov ecx, 0xd
lea esi, [ebp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x18]
fld dword [ebp + 0x54]
fstp dword [eax + 0x140]
mov ecx, dword [ebp + 0x50]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x138
push edx
call fcn.0043c300
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x13c], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x449d32
mov dword [ebp - 0x1c], 0x80004005
jmp 0x449d6c
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x20], 0
jne 0x449d45
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x449d32
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x1c], 0
je 0x449d5b
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c], ecx
jmp 0x449d6c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x58]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
cmp dword [ebp - 0x1c], 0
jne 0x449d78
xor eax, eax
jmp 0x449da9
cmp dword [ebp - 0x18], 0
je 0x449d9d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xdb4], eax
mov ecx, dword [ebp - 0xdb4]
push ecx
call fcn.00408912
add esp, 4
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0044b220
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004148bc
mov esp, ebp
pop ebp
ret 0x54