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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x704
mov eax, dword [0x46fc68]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x20], 6
push 0x104
lea eax, [ebp - 0x438]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x449311
lea ecx, [ebp - 0x438]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0x654], eax
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [str.CTAudMon.ini]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x648]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x64c], eax
lea ecx, [ebp - 0x648]
push ecx
push 0
push 0x467580
mov edx, dword [0x464130]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x44921e
mov eax, dword [ebp - 0x440]
mov dword [ebp + 0x14], eax
lea ecx, [ebp - 0x648]
push ecx
push 0
push 0x4675a0
mov edx, dword [0x464130]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x449251
mov eax, dword [ebp - 0x43c]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x648]
push ecx
push 6
push 0x4675e0
mov edx, dword [0x464130]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x648]
push eax
push 0
push 0x467644
mov ecx, dword [0x464130]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x658], eax
cmp dword [ebp - 0x658], 0
je 0x4492db
mov dword [ebp - 0x6b0], 0x58
lea edx, [ebp - 0x6b0]
push edx
push 0
xor eax, eax
cmp dword [ebp - 0x658], 1
setne al
add eax, 2
push eax
push 1
call fcn.00443a00
mov dword [ebp - 0x6b4], eax
cmp dword [ebp - 0x6b4], 0
jne 0x4492db
mov ecx, dword [ebp - 0x6ac]
mov dword [ebp + 0xc], ecx
lea edx, [ebp - 0x648]
push edx
push 0
push 0x46766c
mov eax, dword [0x464130]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x650], eax
cmp dword [ebp - 0x650], 0
je 0x449311
mov ecx, dword [ebp - 0x650]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0x10], 0xffffffff
jne 0x44938f
push 0x4686fc
lea edx, [ebp + 0x20]
push edx
call fcn.00401020
add esp, 8
test eax, eax
je 0x44934a
mov dword [ebp + 0x10], 0x19
jmp 0x44938d
push 0x46870c
lea eax, [ebp + 0x20]
push eax
call fcn.00401020
add esp, 8
test eax, eax
je 0x449368
mov dword [ebp + 0x10], 0x20
jmp 0x44938d
push 0x46871c
lea ecx, [ebp + 0x20]
push ecx
call fcn.00401020
add esp, 8
test eax, eax
je 0x449386
mov dword [ebp + 0x10], 0x20
jmp 0x44938d
mov dword [ebp + 0x10], 0x19
jmp 0x44939f
cmp dword [ebp + 0x10], 0
jne 0x44939f
mov eax, 3
jmp 0x449738
push 0x46870c
lea edx, [ebp + 0x20]
push edx
call fcn.00401020
add esp, 8
test eax, eax
je 0x4493bd
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x20]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x14], 0xffffffff
jne 0x4493cc
mov dword [ebp + 0x14], 2
jmp 0x4493e2
cmp dword [ebp + 0x14], 0
je 0x4493d8
cmp dword [ebp + 0x14], 1
jne 0x4493e2
mov eax, 3
jmp 0x449738
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4493fe
mov eax, 3
jmp 0x449738
push 0x4686fc
lea eax, [ebp + 0x20]
push eax
call fcn.00401020
add esp, 8
test eax, eax
je 0x44941c
mov dword [ebp - 8], 0x440790
jmp 0x449423
mov dword [ebp - 8], 0x444260
push 0x148
call fcn.004088d8
add esp, 4
mov dword [ebp - 0x6fc], eax
mov ecx, dword [ebp - 0x6fc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx], 0x148
mov eax, dword [ebp + 8]
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 - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x44947d
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp + 0xc]
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 - 0x14]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 8], 0
je 0x4494b2
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 1
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 0
je 0x4494ec
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp - 0x6b8], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x2c], ecx
mov edi, dword [ebp - 0x14]
add edi, 0x38
mov ecx, 0xd
lea esi, [ebp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x138], 0
mov eax, dword [ebp - 0x14]
fld1
fstp dword [eax + 0x140]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x144], 0
mov edx, dword [ebp + 0x18]
and edx, 1
je 0x4495de
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], 0
push 0x20
call fcn.004088d8
add esp, 4
mov dword [ebp - 0x700], eax
mov ecx, dword [ebp - 0x700]
mov dword [ebp - 0x6bc], ecx
mov edx, dword [ebp - 0x6bc]
mov dword [edx], 0x20
mov eax, dword [ebp + 8]
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 - 0x6bc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x6bc]
cmp dword [eax + 4], 0
je 0x4495d2
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x6bc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x6bc]
mov dword [ecx + 0x34], edx
mov dword [ebp - 0x6c0], 2
mov dword [ebp - 0x6f4], 0x34
mov eax, dword [0x4686fc]
mov dword [ebp - 0x6f0], eax
mov ecx, dword [0x468700]
mov dword [ebp - 0x6ec], ecx
mov edx, dword [0x468704]
mov dword [ebp - 0x6e8], edx
mov eax, dword [0x468708]
mov dword [ebp - 0x6e4], eax
lea ecx, [ebp - 0xc]
push ecx
sub esp, 0x34
mov ecx, 0xd
lea esi, [ebp - 0x6f4]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call fcn.00440560
mov dword [ebp - 0x6c0], eax
cmp dword [ebp - 0x6c0], 0
jne 0x449662
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x144], ecx
jmp 0x449669
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44969c
mov dword [ebp - 0x18], 0x80004005
jmp 0x4496d6
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x20], 0
jne 0x4496af
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44969c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1c], 0
je 0x4496c5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x18], edx
jmp 0x4496d6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp + 0x50]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
cmp dword [ebp - 0x18], 0
jne 0x4496e2
xor eax, eax
jmp 0x449738
cmp dword [ebp - 0xc], 0
je 0x449707
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0043c3e0
mov dword [ebp - 0x6f8], eax
cmp dword [ebp - 0x6f8], 0
jne 0x449707
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x14], 0
je 0x44972c
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x704], edx
mov eax, dword [ebp - 0x704]
push eax
call fcn.00408912
add esp, 4
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x18]
push ecx
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 0x4c