Function at 0x473e2c
Capabilities:
Delete file

Disassembly:
mov eax, 0x4b7884
call fcn.00483228
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
jne 0x473e53
push 1
pop eax
mov dword [esi + 0x18], eax
jmp 0x47406b
lea edi, [esi + 0x28]
lea eax, [ebp - 0x18]
push edi
push eax
mov ecx, 0x4e8288
call fcn.0044e2fe
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0049d9c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0049d8d8
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.004633b6
push 1
lea eax, [esi + 0x58]
pop edi
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], edi
call fcn.004634be
add esp, 0x14
push 0x4df9cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0049d946
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046323b
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0049d8d8
cmp byte [0x4e8490], bl
je 0x474005
lea eax, [esi + 0x5c]
push str..LNK
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0049db21
push edi
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 6
call fcn.0049d64d
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 7
call fcn.0049d64d
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0049d9c5
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0049d8d8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x473ff4
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
push ebx
push eax
mov ecx, 0x4e83a0
xor edi, edi
call fcn.00407b16
push ecx
lea eax, [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x28], esp
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0049d64d
push ebx
call fcn.00447289
pop ecx
mov byte [ebp - 4], 6
pop ecx
call fcn.0044c9c8
add esp, 0xc
test eax, eax
jne 0x473ff7
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.0049d64d
lea eax, [ebp - 0x20]
push eax
call fcn.00447289
add esp, 4
lea eax, [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x2c], esp
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.0049d64d
push ebx
call fcn.00447289
pop ecx
pop ecx
call fcn.004480c1
pop ecx
lea edx, [ebp - 0x10]
mov ecx, dword [ebp + 8]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.00498632
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0049d8d8
jmp 0x473ff7
push 2
pop edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0049d8d8
jmp 0x474042
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0049dcbc
push eax
call fcn.004665aa
pop ecx
pop ecx
push ebx
lea ecx, [esi + 0x5c]
call fcn.0049dcbc
push eax
call fcn.0046667c
mov edi, eax
pop ecx
neg edi
sbb edi, edi
push ebx
and edi, 0xfffffffe
lea ecx, [ebp - 0x14]
inc edi
inc edi
call fcn.0049dcbc
push eax
call fcn.0046636d
pop ecx
lea ecx, [ebp - 0x14]
mov dword [esi + 0x18], edi
mov byte [ebp - 4], 2
call fcn.0049d8d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0049d8d8
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4