Function at 0x40c1fa
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4e0240]
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, 0x4e0004
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xa0], eax
call fcn.0040145d
push edi
lea ecx, [ebp - 0x98]
call fcn.00402008
push 0x4b6850
lea ecx, [ebp - 0x98]
call fcn.00401811
mov edi, str.LSinglePro
push edi
call fcn.0046dd62
pop ecx
push eax
push edi
mov ecx, 0x4e1ff4
call fcn.0040170b
lea ecx, [ebp - 0xcc]
call fcn.00401d8c
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401a99
xor ebx, ebx
push ebx
push 0x4b796c
lea ecx, [ebp - 0x98]
call fcn.004042d7
test eax, eax
jne 0x40c2d2
push 5
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x98]
call fcn.004069d4
push eax
lea ecx, [ebp - 0x94]
call fcn.0040195e
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
call fcn.004011af
mov dword [0x4e1ff0], 1
jmp 0x40c35b
mov eax, dword [ebp - 0x98]
cmp dword [eax - 0xc], ebx
je 0x40c349
push ebx
push 0x4b7968
lea ecx, [ebp - 0x98]
call fcn.004042d7
test eax, eax
jns 0x40c349
lea ecx, [ebp - 0x8c]
call fcn.004134a0
push 0x4b7948
push dword [ebp - 0x98]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00413da0
cmp dword [eax + 0x14], 8
jb 0x40c322
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x94]
call fcn.004019ae
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.004015dc
lea ecx, [ebp - 0x8c]
call fcn.004134b0
jmp 0x40c35b
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040195e
push dword [ebp - 0x94]
call fcn.0040fda0
push dword [ebp - 0x94]
call fcn.004122d0
push dword [ebp - 0x94]
call fcn.00411f60
push 1
lea eax, [ebp - 0xa8]
push ebx
push eax
call fcn.0041cf60
push dword [eax]
call fcn.00412990
mov ecx, dword [ebp - 0xa8]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.004011af
call fcn.0040e780
push ebx
mov edi, eax
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 - 0xa0]
mov ecx, 0x4e1ee4
push ebx
call fcn.00404495
lea eax, [ebp - 0x104]
push eax
mov ecx, 0x4e1ee4
mov dword [ebp - 0x104], 0x4b6d30
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], ebx
call fcn.004064c7
push esi
lea ecx, [ebp - 0xac]
call fcn.0040145d
push esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xa8], ebx
call fcn.0040145d
push ebx
lea eax, [ebp - 0xc0]
push eax
push 0x4b7944
mov ecx, edi
call fcn.0040ed70
test eax, eax
je 0x40c567
mov eax, dword [ebp - 0xc0]
cmp dword [eax - 0xc], ebx
je 0x40c567
push esi
lea ecx, [ebp - 0x9c]
call fcn.0040145d
push ebx
lea eax, [ebp - 0x9c]
push eax
push 0x4b793c
mov ecx, edi
call fcn.0040ed70
test eax, eax
je 0x40c4bb
push ebx
mov esi, str.baseFolder
push esi
mov ecx, edi
call fcn.0040ef30
test eax, eax
jne 0x40c4bb
mov eax, dword [ebp - 0x9c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0xbc], esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.004014d8
pop ecx
mov ecx, dword [ebp - 0x8c]
add eax, 0x10
mov dword [ecx], eax
push esi
mov ecx, edi
call fcn.0040fc20
push 0x30d
push 0x38
push dword [ebp - 0xc4]
lea eax, [ebp - 0xac]
push str.6._s._d._d
push eax
call fcn.00401a85
mov eax, dword [ebp - 0xac]
add esp, 0x10
add eax, 0xfffffff0
mov dword [ebp - 0xbc], esp
mov esi, esp
push eax
call fcn.004014d8
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
mov dword [ebp - 0xbc], esp
mov esi, esp
push eax
call fcn.004014d8
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x6c]
mov dword [esi], eax
call fcn.00445b30
push ebx
push ebx
lea ecx, [ebp - 0x6c]
call fcn.0040c141
test eax, eax
je 0x40c551
push dword [ebp - 0xa0]
push dword [ebp - 0x68]
call fcn.00444410
pop ecx
pop ecx
lea ecx, [ebp - 0x104]
call fcn.00404411
mov dword [ebp - 0xa8], eax
call fcn.00444240
lea ecx, [ebp - 0x6c]
call fcn.00444ac0
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
jmp 0x40cb77
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040145d
cmp edi, ebx
je 0x40c742
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push 0x4b67c8
call fcn.00402008
push str.singleProcess
mov ecx, edi
call fcn.0040fc20
push 0x38
push dword [ebp - 0xc4]
lea eax, [ebp - 0xac]
push str.6._s._d.5
push eax
call fcn.00401a85
mov eax, dword [ebp - 0xac]
add esp, 0xc
add eax, 0xfffffff0
mov dword [ebp - 0x90], esp
mov dword [ebp - 0xb0], esp
push eax
call fcn.004014d8
mov ecx, dword [ebp - 0xb0]
add eax, 0x10
mov dword [ecx], eax
mov ecx, edi
mov dword [esp], str.specificVersion
call fcn.0040fc20
push ecx
mov eax, esp
mov dword [ebp - 0x90], esp
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401b16
push str.specificBindId
mov ecx, edi
call fcn.0040fc20
push 0x30d
push str.specificCapability
mov ecx, edi
call fcn.0040fd00
push ebx
push 0x4b7878
mov ecx, edi
call fcn.0040ef30
test eax, eax
jne 0x40c64c
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push 0x4b7874
call fcn.00402008
push 0x4b7878
mov ecx, edi
call fcn.0040fc20
push ebx
push str.baseFolder
mov ecx, edi
call fcn.0040ef30
test eax, eax
jne 0x40c691
mov eax, dword [0x4e1ff4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x90], esp
mov dword [ebp - 0xb0], esp
push eax
call fcn.004014d8
mov ecx, dword [ebp - 0xb0]
add eax, 0x10
mov dword [ecx], eax
mov ecx, edi
mov dword [esp], str.baseFolder
call fcn.0040fc20
push 0x4b7864
push 1
lea eax, [ebp - 0x90]
push 1
push eax
call fcn.0041cf60
add esp, 0xc
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0040336c
add esp, 0xc
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040195e
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
call fcn.004011af
push ebx
push 0x4b7860
mov ecx, edi
call fcn.0040ef30
test eax, eax
je 0x40c6fd
lea ecx, [ebp - 0xa0]
call fcn.00401417
push esi
lea ecx, [ebp - 0x8c]
call fcn.0040145d
push ebx
lea eax, [ebp - 0x8c]
push eax
push 0x4b7858
mov ecx, edi
call fcn.0040ed70
test eax, eax
je 0x40c734
push dword [ebp - 0x8c]
call fcn.0046e581
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x8c]
add ecx, 0xfffffff0
call fcn.004011af
mov edi, dword [ebp - 0xa0]
cmp dword [edi - 0xc], ebx
je 0x40c766
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call fcn.00411ed0
push 1
push 1
call fcn.00411780
add esp, 0xc
push ebx
push 1
push 0x4b6ab0
push str.User_Configuration
call fcn.0041d340
push 0x3c
call fcn.0046dfee
add esp, 0x14
cmp eax, ebx
je 0x40c78f
mov ecx, eax
call fcn.00406639
jmp 0x40c791
xor eax, eax
push eax
lea ecx, [ebp - 0xb8]
call fcn.00405920
cmp dword [ebp - 0xb8], ebx
jne 0x40c83a
mov ecx, dword [ebp - 0xb4]
cmp ecx, ebx
je 0x40c7b8
call fcn.00402a25
lea ecx, [edi - 0x10]
call fcn.004011af
mov ecx, dword [ebp - 0xc0]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0xac]
add ecx, 0xfffffff0
call fcn.004011af
lea ecx, [ebp - 0xf4]
call fcn.004042b3
lea ecx, [ebp - 0x100]
call fcn.004042b3
mov ecx, dword [ebp - 0xc4]
add ecx, 0xfffffff0
call fcn.004011af
lea ecx, [ebp - 0xcc]
call fcn.00401625
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0x94]
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.0046e452
leave
ret 0x10
push str.GlobalSingleP_Inst_Mutex
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0x9c], ebx
call fcn.0040ffa0
pop ecx
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00402049
mov eax, dword [eax]
push str.SingleMain
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0040ff50
mov ecx, dword [ebp - 0x90]
add esp, 0x10
neg eax
sbb al, al
inc al
add ecx, 0xfffffff0
mov byte [ebp - 0xa1], al
call fcn.004011af
cmp byte [ebp - 0xa1], bl
je 0x40c932
mov ecx, dword [ebp - 0xb4]
cmp ecx, ebx
je 0x40c8bc
call fcn.00402a25
lea ecx, [edi - 0x10]
call fcn.004011af
mov ecx, dword [ebp - 0xc0]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0xac]
add ecx, 0xfffffff0
call fcn.004011af
lea ecx, [ebp - 0xf4]
call fcn.004042b3
lea ecx, [ebp - 0x100]
call fcn.004042b3
mov ecx, dword [ebp - 0xc4]
add ecx, 0xfffffff0
call fcn.004011af
lea ecx, [ebp - 0xcc]
call fcn.00401625
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
call fcn.004011af
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff0
call fcn.004011af
mov eax, ebx
jmp 0x40c829
mov ecx, dword [ebp - 0xb8]
push ebx
push ebx
call fcn.0040c19f
test eax, eax
je 0x40caf3
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 - 0x124]
call fcn.00411450
push 0x41
pop eax
push 0x75
mov word [ebp - 0x84], ax
pop eax
mov word [ebp - 0x82], ax
push 0x6f
mov eax, esi
mov word [ebp - 0x80], ax
pop eax
mov word [ebp - 0x7e], ax
push 0x44
pop eax
mov word [ebp - 0x7c], ax
mov eax, edi
mov word [ebp - 0x7a], ax
push 0x63
mov eax, esi
mov word [ebp - 0x78], ax
pop eax
mov word [ebp - 0x74], ax
xor eax, eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x90]
push eax
push ebx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x124]
mov word [ebp - 0x76], di
mov word [ebp - 0x72], si
mov dword [ebp - 0x90], ebx
call fcn.00410330
cmp eax, 1
je 0x40cad7
push 1
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x124]
call fcn.00410a20
lea ecx, [ebp - 0x124]
call fcn.004112a0
lea ecx, [ebp - 0x104]
call fcn.00404411
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xb8]
cmp eax, ebx
je 0x40cb19
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40cb19
mov eax, dword [ebp - 0xb8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
cmp ecx, ebx
je 0x40cb34
call fcn.00402a25
call fcn.00403d78
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x9c], ebx
je 0x40cb55
push dword [ebp - 0x9c]
call esi
mov dword [ebp - 0x9c], ebx
cmp dword [ebp - 0x8c], ebx
je 0x40cb65
push dword [ebp - 0x8c]
call esi
mov ecx, dword [ebp - 0xb4]
cmp ecx, ebx
je 0x40cb74
call fcn.00402a25
lea ecx, [edi - 0x10]
call fcn.004011af
mov esi, 0x4e1ee4
mov ecx, esi
call fcn.00406ba2
call fcn.0040fe20
mov ecx, esi
call fcn.00406b7b
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ebx, dword [ebp - 0xa8]
jmp 0x40c8c4