Function at 0x41dfc0
Capabilities:
Check mutex on windows
Delete file
Inspect load icon resource
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d064c
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor esi, esi
push str.DD8982A9_2114_4335_8970_A8CAA220ED04
push esi
push esi
mov dword [ebp - 0x2a4], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x250], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x250]
cmp eax, 0xb7
mov ecx, 1
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x250], 0
test esi, esi
je 0x41e04b
mov dword [edi + 0x254], 1
xor eax, eax
jmp 0x41e66c
call fcn.0041e690
mov ecx, eax
call fcn.004205b0
call fcn.0041c3e0
mov ecx, eax
call fcn.0041a0e0
xorps xmm0, xmm0
lea ecx, [ebp - 0x224]
movlpd qword [ebp - 0x224], xmm0
call fcn.0040a2d0
push dword [ebp - 0x2a4]
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.0040a9b0
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004a4df0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea esi, [edi + 0x25c]
push esi
push 0x4d3d9c
lea ecx, [ebp - 0x224]
call fcn.0040aa80
push esi
push 0x4d3da0
lea ecx, [ebp - 0x224]
call fcn.0040aa80
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 1
push eax
push 0x4d3db0
lea ecx, [ebp - 0x224]
call fcn.0040aa00
test eax, eax
je 0x41e152
mov ecx, dword [ebp - 0x248]
test ecx, ecx
je 0x41e152
lea edx, [edi + 0x294]
lea eax, [ebp - 0x258]
cmp edx, eax
je 0x41e1ae
cmp dword [ebp - 0x244], 8
push ecx
cmovae eax, dword [ebp - 0x258]
mov ecx, edx
push eax
call fcn.00408140
jmp 0x41e1ae
lea eax, [ebp - 0x270]
mov ecx, edi
push eax
call fcn.0041dc20
mov esi, eax
lea eax, [edi + 0x294]
cmp eax, esi
je 0x41e19d
mov ecx, eax
call fcn.00407ef0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi + 0x294], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x2a4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x270]
call fcn.00407ef0
lea esi, [edi + 0x25c]
lea eax, [edi + 0x260]
push eax
push 0x4d3db8
lea ecx, [ebp - 0x224]
call fcn.0040aa80
push 0x4d3f48
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x24c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41e21f
push dword [edi + 0x24c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
mov dword [edi + 0x24c], 0
jne 0x41e566
push 0
push 0x4d3dc0
push 0x4d3dc8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x41e566
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push eax
push 0x4d3de8
lea ecx, [ebp - 0x224]
call fcn.0040aa80
test eax, eax
je 0x41e505
cmp dword [ebp - 0x228], 0x3039
jne 0x41e505
mov ecx, edi
call fcn.0041d920
lea esi, [edi + 0x27c]
test eax, eax
jne 0x41e287
push esi
push 0x4d3df0
lea ecx, [ebp - 0x224]
call fcn.0040aa00
cmp dword [edi + 0x28c], 0
je 0x41e566
push esi
call fcn.004092d0
add esp, 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call esi
push eax
call fcn.00425960
push 0x4f5018
lea eax, [ebp - 0x240]
push 0x4f5018
push eax
call fcn.00407550
add esp, 0xc
cmp dword [ebp - 0x230], 0
mov byte [ebp - 4], 2
jne 0x41e2de
push str.AD1AF411_5E61_4D03_AA05_690DB1A4F80A
lea ecx, [ebp - 0x240]
call fcn.00407ec0
xorps xmm0, xmm0
mov dword [ebp - 0x29c], 0
push 0
movlpd qword [ebp - 0x294], xmm0
movlpd qword [ebp - 0x288], xmm0
movlpd qword [ebp - 0x280], xmm0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x2a0], 0x30
call esi
cmp dword [ebp - 0x22c], 8
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push 0
push 0
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x298], 0x420160
call esi
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [ebp - 0x22c], 8
lea esi, [ebp - 0x240]
push 0
cmovae esi, dword [ebp - 0x240]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x86ca0080
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x248], eax
test eax, eax
je 0x41e4f0
push edi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [edi + 0x25c], 0
jne 0x41e419
cmp dword [edi + 0x260], 0
jne 0x41e419
push dword [edi + 0x248]
lea ecx, [edi + 0x268]
call fcn.00420870
test eax, eax
je 0x41e4f0
mov ecx, edi
call fcn.004098e0
push 0
push 0
push 0x41e8f0
lea ecx, [edi + 0x3d4]
call fcn.0041eb30
mov edi, 1
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x2a4], edi
call fcn.00407ef0
jmp 0x41e56e
push 0
lea eax, [edi + 0x27c]
mov dword [edi + 0x3dc], 1
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00407870
add esp, 0xc
cmp dword [ebp - 0x260], 0
mov byte [ebp - 4], 3
je 0x41e465
cmp dword [ebp - 0x25c], 0x10
lea eax, [ebp - 0x270]
cmovae eax, dword [ebp - 0x270]
push eax
call fcn.0040b540
add esp, 4
mov ecx, edi
call fcn.0041fa00
mov ecx, edi
call fcn.0041d7e0
mov ecx, edi
call fcn.0041fc30
mov ecx, edi
call fcn.0041d680
cmp dword [edi + 0x290], 8
lea esi, [edi + 0x27c]
mov eax, esi
jb 0x41e494
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.0041d410
cmp dword [esi + 0x14], 8
jb 0x41e4a4
mov esi, dword [esi]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, edi
call fcn.0041d5a0
mov edx, dword [ebp - 0x25c]
cmp edx, 0x10
jb 0x41e4f0
mov ecx, dword [ebp - 0x270]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e4e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e689
push edx
push ecx
call fcn.004a1326
add esp, 8
xor edi, edi
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x2a4], edi
call fcn.00407ef0
jmp 0x41e56e
mov ecx, edi
call fcn.0041d920
test eax, eax
jne 0x41e54a
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x21c]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41e526
sub edx, ecx
lea eax, [ebp - 0x21c]
sar edx, 1
lea ecx, [edi + 0x27c]
push edx
push eax
call fcn.00408140
jmp 0x41e559
lea eax, [edi + 0x27c]
push eax
call fcn.00409320
add esp, 4
push dword [ebp - 0x2a4]
mov ecx, edi
call fcn.0041cfd0
xor edi, edi
mov dword [ebp - 0x2a4], edi
lea ecx, [ebp - 0x258]
call fcn.00407ef0
mov eax, dword [ebp - 0x224]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x224]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x220], 0
cmp esi, eax
je 0x41e65f
mov ecx, dword [esi + 0x34]
mov edi, dword [esi]
cmp ecx, 8
jb 0x41e5e0
mov eax, dword [esi + 0x20]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41e5d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e689
mov eax, edx
push ecx
push eax
call fcn.004a1326
add esp, 8
xor eax, eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 7
mov word [esi + 0x20], ax
mov ecx, dword [esi + 0x1c]
cmp ecx, 8
jb 0x41e62a
mov eax, dword [esi + 8]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41e620
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e689
mov eax, edx
push ecx
push eax
call fcn.004a1326
add esp, 8
xor eax, eax
mov dword [esi + 0x18], 0
push 0x38
mov dword [esi + 0x1c], 7
push esi
mov word [esi + 8], ax
call fcn.004a1326
mov eax, dword [ebp - 0x224]
add esp, 8
mov esi, edi
cmp edi, eax
jne 0x41e5a4
mov edi, dword [ebp - 0x2a4]
push 0x38
push eax
call fcn.004a1326
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret 4
call fcn.004a8d39
int3