Function at 0x403ba0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x421da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
call fcn.0041b57c
push ebx
push esi
call fcn.00404e00
add esp, 8
call fcn.00417ea8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
push 0x6c
mov dword [esp + 0x78], ebx
call fcn.0041d234
cmp eax, ebx
je 0x403ac2
push 0x6c
push eax
lea ecx, [esp + 0x1c]
call fcn.00402470
mov ebp, dword [esp + 0x14]
push 0x423f08
push ebp
call fcn.0040af32
add esp, 8
test eax, eax
jne 0x403b69
call fcn.00417ea8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x364]
cmp edi, ebx
mov byte [esp + 0x74], 1
mov dword [esp + 0x28], 0x44
je 0x403b1d
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403b14
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00402540
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
je 0x403b61
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
jmp 0x403c60
push 0x423f04
push ebp
call fcn.0040af32
add esp, 8
test eax, eax
lea edi, [esi + 0x364]
lea ecx, [esp + 0x10]
push edi
jne 0x403be5
call fcn.00403610
push ebp
push str..tmp
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 2
call fcn.004025e0
push ebx
push 1
push 0x423edc
call fcn.0041eae2
cmp eax, 1
jne 0x403bc8
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00403710
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x74], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x403c71
call fcn.00403610
push ebp
push str..tmp
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 3
call fcn.004025e0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], str.Open
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 1
mov dword [esp + 0x30], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x403c59
mov edx, dword [esp + 0x60]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x74], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x403ca8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret