Function at 0x43c750
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f2c60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0
test esi, esi
je 0x43c9aa
test eax, eax
je 0x43c9aa
lea ecx, [ebx + 8]
mov eax, esi
mov dword [esp + 0x24], ecx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x43c7c6
sub eax, edi
sar eax, 1
mov edi, eax
mov eax, dword [ecx + 0x10]
push esi
call fcn.00419440
test eax, eax
je 0x43c9aa
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c7f0
mov ecx, dword [esp + 0x24]
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [ecx + 0x10]
push esi
call fcn.00419440
test eax, eax
je 0x43c9aa
cmp byte [ebx + 0x40], 0
jne 0x43c825
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
mov cl, byte [ebx + 0x41]
xor edx, edx
xor esi, esi
mov byte [esp + 0x13], cl
mov word [esp + 0x2c], dx
push esi
or eax, 0xffffffff
lea ecx, [ebx + 0x24]
lea edx, [esp + 0x30]
mov byte [ebx + 0x41], 0
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], esi
call fcn.004068f0
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c862
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebx + 0x24]
call fcn.00404e70
mov eax, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov dword [ebx + 4], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebx
mov byte [esp + 0x5c], 1
call fcn.0043cb00
mov esi, eax
test esi, esi
js 0x43c918
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
test al, al
je 0x43c918
xor edi, edi
lea ebx, [esp + 0x14]
call fcn.0043ccf0
mov esi, dword [esp + 0x24]
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x43c8cf
mov eax, dword [esi]
jmp 0x43c8d1
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], edi
jb 0x43c8e6
mov eax, dword [esi]
jmp 0x43c8e8
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
test eax, eax
je 0x43c905
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x1c]
push esi
mov byte [edi + 0x41], cl
call fcn.00404f60
jmp 0x43c98b
mov dword [esp + 0x58], 1
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [esp + 0x14], edx
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
test al, al
jne 0x43c95e
lea eax, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.0043ccd0
lea esi, [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00438d50
xor al, al
jmp 0x43c9ac
push 0
or eax, 0xffffffff
lea ecx, [esp + 0x30]
lea edx, [ebx + 0x24]
call fcn.004068f0
mov cl, byte [esp + 0x13]
and esi, 0xffff
mov byte [ebx + 0x41], cl
cmp esi, 2
je 0x43c98b
cmp esi, 0xd
je 0x43c98b
cmp esi, 5
jne 0x43c93b
lea eax, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.0043ccd0
lea esi, [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00438d50
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret 0xc