Function at 0x434e90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f6a8
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00452de0
mov eax, dword [eax]
cmp eax, dword [0x5c55a4]
je 0x434f48
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x28]
push eax
call fcn.00453060
mov esi, dword [eax]
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00452de0
mov eax, dword [eax]
cmp eax, dword [0x5c55a4]
je 0x434f19
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x30]
push eax
call fcn.00452e60
push esi
mov edx, ebx
xor ecx, ecx
call fcn.004c6960
add esp, 4
mov esi, 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, 1
mov ecx, 0x5afc30
call fcn.004c66d0
mov esi, eax
mov dl, 1
mov ecx, edi
call fcn.004c66d0
nop
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x434f80
test cl, cl
je 0x434f7c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x434f80
add eax, 2
add esi, 2
test cl, cl
jne 0x434f60
xor eax, eax
jmp 0x434f85
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43517d
mov eax, dword [0x5c6340]
cmp eax, 5
jl 0x434fb1
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc eax
mov dword [0x5c6340], eax
push eax
push str.m__d.txt
push 0x104
push 0x5c5fe8
call fcn.00424a70
add esp, 0x10
mov esi, dword [0x5c6340]
cmp esi, 1
jne 0x435015
push 0
push edi
push 0x5c5fe8
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
call edi
test eax, eax
jne 0x43500d
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x5c6340]
jmp 0x43501b
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
cmp esi, 1
jle 0x435068
push 0x104
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.004d7120
dec esi
mov dword [0x5c6340], esi
push esi
push str.m__d.txt
push 0x104
lea eax, [ebp - 0x138]
push eax
call fcn.00424a70
add esp, 0x1c
push 0
lea eax, [ebp - 0x138]
push eax
push 0x5c5fe8
call edi
test eax, eax
je 0x434fee
mov esi, 1
mov dword [ebp - 0x1c], esi
mov dl, 1
mov ecx, 0x5afc30
call fcn.004c66d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0x5afc30
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435090
sub ecx, edx
push ecx
push 0
push 0x5afc30
call fcn.004d7120
add esp, 0xc
mov ecx, ebx
mov edx, 0x5afc30
sub edx, ebx
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4350b2
mov ecx, 0x5b0598
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4350c6
sub ecx, edx
sar ecx, 1
push ecx
push 0
push 0x5b0598
call fcn.004d7120
push 0x5afc30
push 0x554934
push 0x104
push 0x5b0598
call fcn.00431a10
add esp, 0x1c
mov eax, dword [0x5c60f8]
test eax, eax
jne 0x43512e
push 0x100
call fcn.004da034
add esp, 4
mov dword [0x5c60f8], eax
test eax, eax
jne 0x43512e
push ecx
lea ecx, [eax + 0x29]
call fcn.004c3fd0
add esp, 4
mov eax, dword [0x5c60f8]
push ebx
push 0x100
push eax
call fcn.004d97bd
add esp, 0xc
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00452de0
mov eax, dword [eax]
cmp eax, dword [0x5c55a4]
je 0x43518f
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
call fcn.00452e60
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.004c7060
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret