Function at 0x423250
Capabilities:
Delete file

Disassembly:
sub esp, 0x404
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xfffffffe
jne 0x42326c
mov ecx, 0x473308
call fcn.0041df20
test eax, eax
jl 0x423280
cmp eax, 0x40
jge 0x423280
mov eax, dword [eax*4 + 0x473308]
test eax, eax
jne 0x423285
mov eax, 0x473408
mov ecx, dword [esi + 0xcc0]
push ecx
mov ecx, dword [esi + 0x44]
push eax
call fcn.00406980
mov edx, dword [esi + 0x44]
mov byte [edx + 0x88], 0
mov eax, dword [esi + 0x4c]
cmp eax, 0xfffffffe
jne 0x4232b1
mov ecx, 0x473308
call fcn.0041df20
test eax, eax
jl 0x4232c5
cmp eax, 0x40
jge 0x4232c5
mov eax, dword [eax*4 + 0x473308]
test eax, eax
jne 0x4232ca
mov eax, 0x473408
push ebp
push eax
call fcn.0044d1f0
add esp, 4
test al, al
je 0x4233d2
lea eax, [esp + 0xc]
push eax
call fcn.0044d230
mov al, byte [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
test al, al
je 0x4232fe
lea ecx, [esp + 0xc]
push ecx
call ebp
lea edx, [esp + 0xc]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x4233d2
mov eax, dword [esi + 0x4c]
cmp eax, 0xfffffffe
jne 0x42332a
mov ecx, 0x473308
call fcn.0041df20
test eax, eax
jl 0x42333e
cmp eax, 0x40
jge 0x42333e
mov eax, dword [eax*4 + 0x473308]
test eax, eax
jne 0x423343
mov eax, 0x473408
lea ecx, [esp + 0xc]
lea edx, [esp + 0xc]
sub edi, ecx
push edi
push edx
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4233d2
mov eax, dword [esi + 0x4c]
cmp eax, 0xfffffffe
jne 0x42336f
mov ecx, 0x473308
call fcn.0041df20
test eax, eax
jl 0x423383
cmp eax, 0x40
jge 0x423383
mov eax, dword [eax*4 + 0x473308]
test eax, eax
jne 0x423388
mov eax, 0x473408
push eax
call ebp
mov eax, dword [esi + 0x4c]
test eax, eax
jl 0x4233b5
cmp eax, 0x40
jge 0x4233b5
mov eax, dword [eax*4 + 0x473308]
test eax, eax
je 0x4233b5
push 0x402
push 0x472b1c
push eax
call fcn.0044a7e0
add esp, 0xc
mov eax, dword [esi + 0x44]
push 0
push 1
push 0x407
mov byte [eax + 0x88], 1
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esi + 0x44]
mov al, byte [edx + 0xf582]
pop ebp
test al, al
jne 0x4234af
mov al, byte [esi + 0x48]
test al, al
jne 0x423409
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x44]
mov cl, byte [eax + 0xf582]
test cl, cl
jne 0x423409
push 1
call edi
mov al, byte [esi + 0x48]
test al, al
je 0x4233f1
mov ecx, dword [esi + 0x44]
mov al, byte [ecx + 0xf582]
test al, al
jne 0x4234af
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xf
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 0xf544]
test ecx, ecx
jne 0x42347f
mov eax, dword [eax + 0x84]
test eax, eax
je 0x423446
cmp eax, 2
jne 0x42347f
mov eax, dword [esi + 0x4c]
cmp eax, 0xfffffffe
jne 0x423458
mov ecx, 0x473308
call fcn.0041df20
test eax, eax
jl 0x423474
cmp eax, 0x40
jge 0x423474
mov eax, dword [eax*4 + 0x473308]
test eax, eax
je 0x423474
mov al, byte [eax + 0x819]
jmp 0x423476
mov al, 1
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0xa0], al
mov edx, dword [esi + 0x44]
xor eax, eax
push 0
mov ecx, esi
mov al, byte [edx + 0x88]
push eax
call fcn.00421ef0
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + 0xf544]
mov edx, dword [esi + 0x20]
push 0
push eax
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x44]
mov byte [eax + 0xf582], 0
mov ecx, dword [esi + 0x44]
pop edi
pop esi
mov dword [ecx + 0xf568], 0
add esp, 0x404
ret