Function at 0x437120
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4d3a00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], ebx
mov esi, ecx
mov edi, dword [0x4d8df4]
mov ecx, edi
push eax
mov dword [ebp - 0x3c], 0x4bbc84
mov dword [ebp - 0x38], 1
call fcn.00434780
test al, al
jne 0x43717e
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], str.vmodule
push eax
mov ecx, edi
mov dword [ebp - 0x38], 7
call fcn.00434780
test al, al
je 0x43724b
cmp dword [0x4d8e14], ebx
je 0x437193
cmp byte [0x4d8ec4], bl
jne 0x437380
int3
mov eax, dword [0x4d8e08]
push 0x10
mov dword [0x4d8e14], eax
call fcn.0047b5be
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x437204
sub esp, 8
mov dword [ebp - 0x4c], str.vmodule
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], 7
mov ecx, edi
mov dword [ebp - 0x44], 0x4bbc84
mov dword [ebp - 0x40], 1
mov ebx, 6
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00434870
add esp, 4
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00434870
mov ecx, dword [ebp - 0x38]
push eax
call fcn.00448df0
mov dword [0x4d8e08], eax
jmp 0x43720a
mov dword [0x4d8e08], ebx
test bl, 4
je 0x437235
and ebx, 0xfffffffb
cmp dword [ebp - 8], 0x10
jb 0x437223
push dword [ebp - 0x1c]
call fcn.0047b56e
add esp, 4
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
test bl, 2
je 0x43724b
cmp dword [ebp - 0x20], 0x10
jb 0x43724b
push dword [ebp - 0x34]
call fcn.0047b56e
add esp, 4
mov eax, dword [esi]
mov dword [0x4d4c28], eax
test al, 1
jne 0x437269
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
call fcn.00436e40
cmp dword [0x4d8e28], 0
jne 0x43728d
push 0xffffffffffffffff
push dword [0x4d8e0c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x437299
push dword [0x4d8e20]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4d8e2c]
test eax, eax
je 0x4372b3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4d8e2c], 0
mov edx, dword [0x4d8e00]
test edx, edx
jne 0x4372ea
push 0x18
call fcn.0047b5be
mov edx, eax
add esp, 4
test edx, edx
je 0x4372e2
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
jmp 0x4372e4
xor edx, edx
mov dword [0x4d8e00], edx
mov edi, dword [esi + 4]
cmp word [edi], 0
jne 0x4372f7
xor ecx, ecx
jmp 0x43730f
mov ecx, edi
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437300
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.00403190
cmp dword [esi + 0xc], 0
jne 0x437332
mov eax, dword [0x4d8e00]
cmp dword [eax + 0x14], 8
jb 0x43732b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00437060
cmp dword [0x4d8e28], 0
mov bl, al
jne 0x437361
push dword [0x4d8e0c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret
push dword [0x4d8e20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047aabf
mov esp, ebp
pop ebp
ret
push 1
call fcn.00480df6
int3