Function at 0x404030
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42c120
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esi + 0x11e]
push edi
cmp eax, ebp
je 0x404246
jmp 0x404064
xor ebp, ebp
mov al, byte [esi + 0xf1]
test al, al
jne 0x40426a
mov eax, dword [esi + 0x116]
lea ecx, [esi + 0x112]
mov edx, dword [eax]
mov edi, dword [eax + 8]
cmp edx, ebp
mov dword [ecx + 4], edx
je 0x40408f
mov dword [edx + 4], ebp
jmp 0x404092
mov dword [ecx + 8], ebp
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov dword [ecx + 0x10], eax
mov eax, dword [ecx + 0xc]
dec eax
mov dword [ecx + 0xc], eax
jne 0x4040a8
call fcn.00405020
mov ecx, dword [esi + 0xe4]
mov eax, ebx
push eax
mov eax, dword [edi]
push eax
lea ebp, [edi + 0x1c]
push ecx
push str._s_s_d
push ebp
inc ebx
call fcn.0041bb64
mov eax, dword [ebp]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4383ec
lea ecx, [esp + 0x14]
call fcn.00421453
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00421774
push 0x4383e4
lea ecx, [esp + 0x14]
call fcn.0042174d
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x1e6]
push edx
call fcn.00401170
lea eax, [edi + 8]
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00421614
mov edx, dword [0x4388b0]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
mov byte [esp + 0x2c], 2
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ebp
call fcn.0042115a
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x3c], 3
call fcn.0042115a
mov ecx, esi
mov byte [esp + 0x38], 2
call fcn.00404320
mov eax, dword [esi + 0x25e]
push 0
push 0
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x13e]
mov ebp, dword [esi + 0x136]
test eax, eax
jne 0x4041c3
mov ecx, dword [esi + 0x146]
push 0xc
lea edx, [esi + 0x142]
push ecx
push edx
call fcn.0041c040
mov ecx, dword [esi + 0x146]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 8]
jl 0x4041c3
inc ecx
mov edx, dword [esi + 0x13e]
mov dword [eax], edx
mov dword [esi + 0x13e], eax
sub eax, 0xc
dec ecx
jne 0x4041af
mov eax, dword [esi + 0x13e]
mov ecx, dword [eax]
mov dword [esi + 0x13e], ecx
mov dword [eax + 4], ebp
mov dword [eax], 0
mov ebp, dword [esi + 0x13a]
inc ebp
mov dword [esi + 0x13a], ebp
mov dword [eax + 8], 0
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x136]
test ecx, ecx
je 0x4041ff
mov dword [ecx], eax
jmp 0x404205
mov dword [esi + 0x132], eax
lea ecx, [esp + 0x14]
mov dword [esi + 0x136], eax
mov byte [esp + 0x2c], 1
call fcn.004213e5
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call fcn.004213e5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004213e5
mov eax, dword [esi + 0x11e]
test eax, eax
jne 0x404062
mov al, byte [esi + 0xf1]
test al, al
jne 0x40426a
mov ecx, esi
call fcn.00402d50
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x58]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret