Function at 0x40c266
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x4fca20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, 0x4fc7ec
push esi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xc8], eax
call fcn.0040145d
push edi
lea ecx, [ebp - 0xb8]
call fcn.00402008
push 0x4cd8d8
lea ecx, [ebp - 0xb8]
call fcn.00401811
mov edi, str.LSinglePro
push edi
call fcn.0047dde2
pop ecx
push eax
push edi
mov ecx, 0x4fe85c
call fcn.0040170b
lea ecx, [ebp - 0xf8]
call fcn.00401d8c
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00401a99
xor ebx, ebx
push ebx
push 0x4cea1c
lea ecx, [ebp - 0xb8]
call fcn.004042d4
test eax, eax
jne 0x40c33e
push 5
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00406a70
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040195e
mov ecx, dword [ebp - 0xcc]
add ecx, 0xfffffff0
call fcn.004011af
mov dword [0x4fe854], 1
jmp 0x40c3c7
mov eax, dword [ebp - 0xb8]
cmp dword [eax - 0xc], ebx
je 0x40c3b5
push ebx
push 0x4cea18
lea ecx, [ebp - 0xb8]
call fcn.004042d4
test eax, eax
jns 0x40c3b5
lea ecx, [ebp - 0xb4]
call fcn.00413de0
push 0x4ce9f8
push dword [ebp - 0xb8]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00414500
cmp dword [eax + 0x14], 8
jb 0x40c38e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xbc]
call fcn.004019ae
push ebx
push 1
lea ecx, [ebp - 0xb0]
call fcn.004015dc
lea ecx, [ebp - 0xb4]
call fcn.00413df0
jmp 0x40c3c7
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040195e
push dword [ebp - 0xbc]
call fcn.00410490
pop ecx
call fcn.0040e740
push esi
lea ecx, [ebp - 0xe8]
mov edi, eax
call fcn.0040145d
push ebx
lea eax, [ebp - 0xe8]
push eax
push 0x4ce9f0
mov ecx, edi
call fcn.0040f3d0
push dword [ebp - 0xbc]
push dword [ebp - 0xe8]
call fcn.00413450
push dword [ebp - 0xbc]
call fcn.004125c0
push 1
lea eax, [ebp - 0xcc]
push ebx
push eax
call fcn.0041ed40
push dword [eax]
call fcn.00413390
mov ecx, dword [ebp - 0xcc]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.004011af
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
push dword [ebp - 0xc8]
mov ecx, 0x4fe724
push ebx
call fcn.00404492
lea eax, [ebp - 0x130]
push eax
mov ecx, 0x4fe724
mov dword [ebp - 0x130], 0x4cddb8
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
call fcn.00406566
push esi
lea ecx, [ebp - 0xd0]
call fcn.0040145d
push esi
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xcc], ebx
call fcn.0040145d
push ebx
lea eax, [ebp - 0xe4]
push eax
push 0x4ce9ec
mov ecx, edi
call fcn.0040f3d0
test eax, eax
je 0x40c5e4
mov eax, dword [ebp - 0xe4]
cmp dword [eax - 0xc], ebx
je 0x40c5e4
push esi
lea ecx, [ebp - 0xc0]
call fcn.0040145d
push ebx
lea eax, [ebp - 0xc0]
push eax
push 0x4ce9e4
mov ecx, edi
call fcn.0040f3d0
test eax, eax
je 0x40c52c
push ebx
mov esi, str.baseFolder
push esi
mov ecx, edi
call fcn.0040f530
test eax, eax
jne 0x40c52c
push dword [ebp - 0xc0]
mov ecx, edi
push esi
call fcn.00410280
push 0x30d
push 0x52
push dword [ebp - 0xe0]
lea eax, [ebp - 0xd0]
push str.6._s._d._d
push eax
call fcn.00401a85
mov eax, dword [ebp - 0xd0]
add esp, 0x10
add eax, 0xfffffff0
mov dword [ebp - 0xf0], esp
mov esi, esp
push eax
call fcn.004014d8
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0xbc]
add eax, 0xfffffff0
mov dword [ebp - 0xf0], esp
mov esi, esp
push eax
call fcn.004014d8
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x94]
mov dword [esi], eax
call fcn.004506e0
push ebx
push ebx
lea ecx, [ebp - 0x94]
call fcn.0040c1ad
test eax, eax
je 0x40c5cb
push dword [ebp - 0xc8]
push dword [ebp - 0x90]
call fcn.0044e5d0
pop ecx
pop ecx
lea ecx, [ebp - 0x130]
call fcn.0040440e
mov dword [ebp - 0xcc], eax
call fcn.0044e3a0
lea ecx, [ebp - 0x94]
call fcn.0044ef40
mov ecx, dword [ebp - 0xc0]
add ecx, 0xfffffff0
jmp 0x40cbd8
push esi
lea ecx, [ebp - 0xc8]
call fcn.0040145d
cmp edi, ebx
je 0x40c76c
push 0x4cd850
push str.singleProcess
mov ecx, edi
call fcn.00410280
push 0x52
push dword [ebp - 0xe0]
lea eax, [ebp - 0xd0]
push str.6._s._d.5
push eax
call fcn.00401a85
add esp, 0x10
push dword [ebp - 0xd0]
mov ecx, edi
push str.specificVersion
call fcn.00410280
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00401b16
push dword [eax]
mov ecx, edi
push str.specificBindId
call fcn.00410280
mov ecx, dword [ebp - 0xec]
add ecx, 0xfffffff0
call fcn.004011af
push 0x32d
push str.specificCapability
mov ecx, edi
call fcn.00410370
push ebx
push 0x4ce920
mov ecx, edi
call fcn.0040f530
test eax, eax
jne 0x40c698
push 0x4ce91c
push 0x4ce920
mov ecx, edi
call fcn.00410280
push ebx
push str.baseFolder
mov ecx, edi
call fcn.0040f530
test eax, eax
jne 0x40c6bb
push dword [0x4fe85c]
mov ecx, edi
push str.baseFolder
call fcn.00410280
push 0x4ce90c
push 1
lea eax, [ebp - 0xd4]
push 1
push eax
call fcn.0041ed40
add esp, 0xc
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0040338d
add esp, 0xc
push eax
lea ecx, [ebp - 0xc8]
call fcn.0040195e
mov ecx, dword [ebp - 0xec]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.004011af
push ebx
push 0x4ce908
mov ecx, edi
call fcn.0040f530
test eax, eax
je 0x40c727
lea ecx, [ebp - 0xc8]
call fcn.00401417
push esi
lea ecx, [ebp - 0xb4]
call fcn.0040145d
push ebx
lea eax, [ebp - 0xb4]
push eax
push 0x4ce900
mov ecx, edi
call fcn.0040f3d0
test eax, eax
je 0x40c75e
push dword [ebp - 0xb4]
call fcn.0047e601
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff0
call fcn.004011af
mov edi, dword [ebp - 0xc8]
cmp dword [edi - 0xc], ebx
je 0x40c790
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call fcn.00412530
push 1
push 1
call fcn.00411e40
add esp, 0xc
push ebx
push 1
push 0x4cdb38
push str.User_Configuration
call fcn.0041f1b0
push 0x3c
call fcn.0047e06e
add esp, 0x14
cmp eax, ebx
je 0x40c7b9
mov ecx, eax
call fcn.004066d8
jmp 0x40c7bb
xor eax, eax
push eax
lea ecx, [ebp - 0xdc]
call fcn.004059bf
cmp dword [ebp - 0xdc], ebx
jne 0x40c872
mov ecx, dword [ebp - 0xd8]
cmp ecx, ebx
je 0x40c7e2
call fcn.004029fa
lea ecx, [edi - 0x10]
call fcn.004011af
mov ecx, dword [ebp - 0xe4]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0xd0]
add ecx, 0xfffffff0
call fcn.004011af
lea ecx, [ebp - 0x120]
call fcn.004042b7
lea ecx, [ebp - 0x12c]
call fcn.004042b7
mov ecx, dword [ebp - 0xe8]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0xe0]
add ecx, 0xfffffff0
call fcn.004011af
lea ecx, [ebp - 0xf8]
call fcn.00401625
mov ecx, dword [ebp - 0xb8]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0xbc]
add ecx, 0xfffffff0
call fcn.004011af
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e4d2
leave
ret 0x10
push str.GlobalSingleP_Inst_Mutex
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xc0], ebx
call fcn.00410680
pop ecx
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00402049
mov eax, dword [eax]
push str.SingleMain
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00410630
mov ecx, dword [ebp - 0xd4]
add esp, 0x10
neg eax
sbb al, al
inc al
add ecx, 0xfffffff0
mov byte [ebp - 0xc1], al
call fcn.004011af
cmp byte [ebp - 0xc1], bl
je 0x40c978
mov ecx, dword [ebp - 0xd8]
cmp ecx, ebx
je 0x40c8f4
call fcn.004029fa
lea ecx, [edi - 0x10]
call fcn.004011af
mov ecx, dword [ebp - 0xe4]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0xd0]
add ecx, 0xfffffff0
call fcn.004011af
lea ecx, [ebp - 0x120]
call fcn.004042b7
lea ecx, [ebp - 0x12c]
call fcn.004042b7
mov ecx, dword [ebp - 0xe8]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0xe0]
add ecx, 0xfffffff0
call fcn.004011af
lea ecx, [ebp - 0xf8]
call fcn.00401625
mov ecx, dword [ebp - 0xb8]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0xbc]
add ecx, 0xfffffff0
call fcn.004011af
mov eax, ebx
jmp 0x40c861
mov ecx, dword [ebp - 0xdc]
push ebx
push ebx
call fcn.0040c20b
test eax, eax
je 0x40cb54
push 0x53
pop eax
push 0x6f
mov word [ebp - 0x4c], ax
pop eax
push 0x66
mov word [ebp - 0x4a], ax
pop eax
push 0x74
pop esi
push 0x77
mov word [ebp - 0x48], ax
mov eax, esi
mov word [ebp - 0x46], ax
pop eax
push 0x61
mov word [ebp - 0x44], ax
pop eax
push 0x72
mov ecx, eax
mov word [ebp - 0x42], cx
pop ecx
push 0x65
pop edi
push 0x5c
mov word [ebp - 0x40], cx
mov ecx, edi
mov word [ebp - 0x3e], cx
pop ecx
push 0x43
mov word [ebp - 0x3c], cx
pop ecx
push 0x48
mov word [ebp - 0x3a], cx
pop ecx
push 0x6d
mov word [ebp - 0x38], cx
mov ecx, esi
mov word [ebp - 0x36], cx
pop ecx
push 0x6c
mov word [ebp - 0x34], cx
pop ecx
push 0x44
mov word [ebp - 0x32], cx
pop ecx
push 0x69
mov word [ebp - 0x30], cx
pop ecx
push 0x6c
mov word [ebp - 0x2e], cx
mov ecx, eax
mov word [ebp - 0x2c], cx
pop ecx
push 0x6f
mov word [ebp - 0x2a], cx
pop ecx
push 0x67
mov word [ebp - 0x28], cx
pop ecx
push 0x5c
mov word [ebp - 0x26], cx
pop ecx
push 0x49
mov word [ebp - 0x24], cx
mov word [ebp - 0x22], cx
pop ecx
push 0x6e
mov word [ebp - 0x20], cx
pop ecx
mov word [ebp - 0x1e], cx
mov ecx, esi
mov word [ebp - 0x1c], cx
mov ecx, edi
push 0x72
mov word [ebp - 0x1a], cx
pop ecx
push 0x6e
mov word [ebp - 0x18], cx
pop ecx
mov word [ebp - 0x16], cx
push 0x69
mov ecx, eax
mov word [ebp - 0x14], cx
mov ecx, esi
mov word [ebp - 0x12], cx
pop ecx
push 0x6f
mov word [ebp - 0x10], cx
pop ecx
push 0x6e
mov word [ebp - 0xe], cx
pop ecx
push 0x6c
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
push 0xf003f
lea eax, [ebp - 0x4c]
push eax
mov word [ebp - 0xc], cx
push reloc.DSOUND.dll_DirectSoundCreate
lea ecx, [ebp - 0x150]
call fcn.00411b10
push 0x41
pop eax
push 0x75
mov word [ebp - 0xac], ax
pop eax
mov word [ebp - 0xaa], ax
push 0x6f
mov eax, esi
mov word [ebp - 0xa8], ax
pop eax
mov word [ebp - 0xa6], ax
push 0x44
pop eax
mov word [ebp - 0xa4], ax
mov eax, edi
mov word [ebp - 0xa2], ax
push 0x63
mov eax, esi
mov word [ebp - 0xa0], ax
pop eax
mov word [ebp - 0x9c], ax
xor eax, eax
mov word [ebp - 0x98], ax
lea eax, [ebp - 0xd4]
push eax
push ebx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x150]
mov word [ebp - 0x9e], di
mov word [ebp - 0x9a], si
mov dword [ebp - 0xd4], ebx
call fcn.00410a10
cmp eax, 1
je 0x40cb38
push 1
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x150]
call fcn.00411070
lea ecx, [ebp - 0x150]
call fcn.00411960
lea ecx, [ebp - 0x130]
call fcn.0040440e
mov edi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xdc]
cmp eax, ebx
je 0x40cb7a
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40cb7a
mov eax, dword [ebp - 0xdc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
cmp ecx, ebx
je 0x40cb95
call fcn.004029fa
call fcn.00403d99
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc0], ebx
je 0x40cbb6
push dword [ebp - 0xc0]
call esi
mov dword [ebp - 0xc0], ebx
cmp dword [ebp - 0xb4], ebx
je 0x40cbc6
push dword [ebp - 0xb4]
call esi
mov ecx, dword [ebp - 0xd8]
cmp ecx, ebx
je 0x40cbd5
call fcn.004029fa
lea ecx, [edi - 0x10]
call fcn.004011af
mov esi, 0x4fe724
mov ecx, esi
call fcn.00406bf1
call fcn.00410510
mov ecx, esi
call fcn.00406bca
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ebx, dword [ebp - 0xcc]
jmp 0x40c8fc