Function at 0x403750
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x52de80]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esp + 0xe0]
push edi
mov edi, dword [0x55a69c]
push 1
push 0x50d38c
mov dword [esp + 0x1c], 0
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
call fcn.004025a0
lea eax, [esp + 0xe4]
mov ecx, edi
push eax
mov ebx, 1
call fcn.0040be90
test al, al
jne 0x403814
push 7
push str.vmodule
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], al
call fcn.004025a0
lea eax, [esp + 0xcc]
mov ecx, edi
push eax
mov ebx, 3
call fcn.0040be90
mov byte [esp + 0x13], 0
test al, al
je 0x403819
mov byte [esp + 0x13], 1
test bl, 2
je 0x403858
and ebx, 0xfffffffd
cmp dword [esp + 0xe0], 0x10
jb 0x40383a
push dword [esp + 0xcc]
call fcn.004814b9
add esp, 4
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
test bl, 1
je 0x403879
and ebx, 0xfffffffe
cmp dword [esp + 0xf8], 0x10
jb 0x403879
push dword [esp + 0xe4]
call fcn.004814b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x403a1b
cmp dword [0x55a674], 0
je 0x40389b
cmp byte [0x55b9e0], 0
jne 0x403b58
int3
test bl, 4
je 0x4038ac
lea ecx, [esp + 0x18]
and ebx, 0xfffffffb
call fcn.00403be0
mov eax, dword [0x55a660]
push 0x10
mov dword [0x55a674], eax
call fcn.00481491
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x403936
push str.vmodule
lea ecx, [esp + 0x118]
call fcn.00401f90
push 0x50d38c
lea ecx, [esp + 0xe8]
or ebx, 8
call fcn.00401f90
sub esp, 8
lea eax, [esp + 0x11c]
mov ecx, edi
or ebx, 0x70
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040bf40
add esp, 4
mov ecx, edi
push eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.0040bf40
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00415280
mov dword [0x55a660], eax
jmp 0x403940
mov dword [0x55a660], 0
test bl, 0x40
je 0x40397f
and ebx, 0xffffffbf
cmp dword [esp + 0xe0], 0x10
jb 0x403961
push dword [esp + 0xcc]
call fcn.004814b9
add esp, 4
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
test bl, 0x20
je 0x4039be
and ebx, 0xffffffdf
cmp dword [esp + 0x110], 0x10
jb 0x4039a0
push dword [esp + 0xfc]
call fcn.004814b9
add esp, 4
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
test bl, 0x10
je 0x4039fd
and ebx, 0xffffffef
cmp dword [esp + 0xf8], 0x10
jb 0x4039df
push dword [esp + 0xe4]
call fcn.004814b9
add esp, 4
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], 0
mov byte [esp + 0xe4], 0
test bl, 8
je 0x403a1b
cmp dword [esp + 0x128], 0x10
jb 0x403a1b
push dword [esp + 0x114]
call fcn.004814b9
add esp, 4
mov eax, dword [esi]
mov dword [0x5549b4], eax
test al, 1
jne 0x403a3d
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
call fcn.00403500
cmp dword [0x55a680], 0
jne 0x403a61
push 0xffffffffffffffff
push dword [0x55a670]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x403a6d
push dword [0x55a688]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x55a668]
test eax, eax
je 0x403a87
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x55a668], 0
mov edx, dword [0x55a658]
test edx, edx
jne 0x403abe
push 0x18
call fcn.00481491
mov edx, eax
add esp, 4
test edx, edx
je 0x403ab6
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
jmp 0x403ab8
xor edx, edx
mov dword [0x55a658], edx
mov edi, dword [esi + 4]
cmp word [edi], 0
jne 0x403acb
xor ecx, ecx
jmp 0x403adf
mov ecx, edi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403ad0
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.00406500
cmp dword [esi + 0xc], 0
jne 0x403b02
mov eax, dword [0x55a658]
cmp dword [eax + 0x14], 8
jb 0x403afb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00403670
cmp dword [0x55a680], 0
mov bl, al
jne 0x403b35
push dword [0x55a670]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
push dword [0x55a688]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x12c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
push 1
call fcn.004c52a0
int3