Function at 0x404728
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd54
mov eax, 0x4c8b14
push ebx
push esi
push edi
lea esi, [ebp - 0x258]
mov edi, dword [ebp + 8]
call fcn.00480638
test edi, edi
je 0x404751
cmp dword [ebp + 0xc], 0
jne 0x404765
xor eax, eax
mov edx, dword [ebp - 0x27c]
mov dword fs:[0], edx
jmp 0x404ca4
mov word [ebp - 0x26c], 8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x128], ecx
lea eax, [ebp - 0x78]
push eax
call fcn.004032cc
pop ecx
lea edx, [ebp - 0x128]
add dword [ebp - 0x260], 7
push 0
push 1
push edx
call fcn.00403338
add esp, 0xc
mov ecx, 0x4c8d80
inc dword [ebp - 0x260]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x128]
mov eax, 0x4c8d8c
lea ecx, [ebp - 0x120]
mov dword [edx], eax
push ecx
call fcn.004033c0
pop ecx
lea eax, [ebp - 0x120]
add dword [ebp - 0x260], 4
push eax
mov edx, dword [ebp - 0x128]
push edx
call fcn.004035e8
add esp, 8
inc dword [ebp - 0x260]
mov word [ebp - 0x26c], 0x20
mov word [ebp - 0x26c], 0x2c
push 0x10
push 0x4c865a
lea ecx, [ebp - 0xdc]
push ecx
call fcn.004a4edc
add esp, 0xc
test al, al
je 0x40481d
lea eax, [ebp - 0x120]
jmp 0x40481f
xor eax, eax
test eax, eax
jne 0x40486a
mov ebx, dword [ebp - 0x128]
mov edx, dword [ebx + 8]
or edx, 4
mov dword [ebp - 0x280], edx
cmp dword [ebx + 0x6c], 0
je 0x404843
mov ecx, dword [ebp - 0x280]
jmp 0x40484c
mov ecx, dword [ebp - 0x280]
or ecx, 1
mov dword [ebp - 0x284], ecx
mov eax, dword [ebp - 0x284]
mov dword [ebx + 8], eax
mov edx, dword [ebx + 8]
and edx, dword [ebx + 0x14]
je 0x40486a
push ebx
call fcn.004a0ca8
pop ecx
mov eax, 0x4026f8
push eax
lea edx, [ebp - 0x128]
push edx
call fcn.00403950
add esp, 8
push eax
call fcn.00403148
pop ecx
lea ecx, [ebp - 0x120]
push ecx
call fcn.00403c70
pop ecx
test eax, eax
jne 0x4048de
mov ebx, dword [ebp - 0x128]
mov eax, dword [ebx + 8]
or eax, 4
mov dword [ebp - 0x288], eax
cmp dword [ebx + 0x6c], 0
je 0x4048b7
mov edx, dword [ebp - 0x288]
jmp 0x4048c0
mov edx, dword [ebp - 0x288]
or edx, 1
mov dword [ebp - 0x28c], edx
mov eax, dword [ebp - 0x28c]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
and ecx, dword [ebx + 0x14]
je 0x4048de
push ebx
call fcn.004a0ca8
pop ecx
mov word [ebp - 0x26c], 0x38
lea eax, [esi + 0xb8]
mov dword [esi], eax
lea edx, [esi + 0xb8]
push edx
call fcn.004032cc
pop ecx
add dword [ebp - 0x260], 7
mov ecx, 0x4c8d48
mov dword [esi + 4], ecx
mov eax, 0x4c8d54
mov edx, dword [esi]
mov dword [edx], eax
xor ecx, ecx
mov dword [esi + 8], ecx
push 0
mov eax, dword [esi]
push eax
call fcn.004035e8
add esp, 8
mov edx, 0x4c8d64
inc dword [ebp - 0x260]
mov dword [esi + 4], edx
mov eax, dword [esi]
mov ecx, 0x4c8d70
lea edx, [esi + 0x10]
mov dword [eax], ecx
push edx
call fcn.004033c0
pop ecx
add dword [ebp - 0x260], 4
lea ecx, [esi + 0x10]
push ecx
mov eax, dword [esi]
push eax
call fcn.004035e8
add esp, 8
inc dword [ebp - 0x260]
mov word [ebp - 0x26c], 0x50
push 8
push 0x4c865c
lea edx, [esi + 0x54]
push edx
call fcn.004a4edc
add esp, 0xc
test al, al
je 0x404988
lea ecx, [esi + 0x10]
jmp 0x40498a
xor ecx, ecx
test ecx, ecx
jne 0x4049d1
mov ebx, dword [esi]
mov eax, dword [ebx + 8]
or eax, 4
mov dword [ebp - 0x290], eax
cmp dword [ebx + 0x6c], 0
je 0x4049aa
mov edx, dword [ebp - 0x290]
jmp 0x4049b3
mov edx, dword [ebp - 0x290]
or edx, 1
mov dword [ebp - 0x294], edx
mov eax, dword [ebp - 0x294]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
and ecx, dword [ebx + 0x14]
je 0x4049d1
push ebx
call fcn.004a0ca8
pop ecx
push 0x4db2d0
push esi
call fcn.00403e44
add esp, 8
lea eax, [esi + 0x10]
push eax
call fcn.00403c70
pop ecx
test eax, eax
jne 0x404a30
mov ebx, dword [esi]
mov edx, dword [ebx + 8]
or edx, 4
mov dword [ebp - 0x298], edx
cmp dword [ebx + 0x6c], 0
je 0x404a09
mov ecx, dword [ebp - 0x298]
jmp 0x404a12
mov ecx, dword [ebp - 0x298]
or ecx, 1
mov dword [ebp - 0x29c], ecx
mov eax, dword [ebp - 0x29c]
mov dword [ebx + 8], eax
mov edx, dword [ebx + 8]
and edx, dword [ebx + 0x14]
je 0x404a30
push ebx
call fcn.004a0ca8
pop ecx
dec dword [ebp - 0x260]
sub dword [ebp - 0x260], 4
push 2
lea eax, [esi + 0x10]
push eax
call fcn.00404588
add esp, 8
dec dword [ebp - 0x260]
dec dword [ebp - 0x260]
sub dword [ebp - 0x260], 6
push 0
lea edx, [esi + 0xb8]
push edx
call fcn.004a0f34
mov word [ebp - 0x26c], 0x2c
add esp, 8
mov word [ebp - 0x26c], 0x20
jmp 0x404b0f
push 0x4c8660
call sub.KERNEL32.DLL_DeleteFileA
dec dword [ebp - 0x260]
sub dword [ebp - 0x260], 4
push 2
lea edx, [ebp - 0x120]
push edx
call fcn.00404588
add esp, 8
sub dword [ebp - 0x260], 8
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.00404634
add esp, 8
dec dword [ebp - 0x260]
sub dword [ebp - 0x260], 6
push 0
lea eax, [ebp - 0x78]
push eax
call fcn.004a0f34
mov word [ebp - 0x26c], 0
add esp, 8
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x2a4], ecx
lea eax, [ebp - 0x2a4]
lea edx, [ebp - 0x2a0]
push eax
push edx
mov ecx, dword [ebp + 0xc]
push ecx
push edi
call dword [0x4db2d0]
add esp, 0x10
test eax, eax
jne 0x404bb7
xor eax, eax
mov edx, dword [ebp - 0x27c]
mov dword fs:[0], edx
jmp 0x404ca4
mov ebx, dword [ebp - 0x2a0]
mov al, byte [ebx]
inc ebx
cmp al, 0x4b
jne 0x404bcc
mov dl, byte [ebx]
inc ebx
cmp dl, 0x4b
je 0x404bf5
mov ecx, dword [ebp - 0x2a0]
push ecx
call fcn.0047e448
pop ecx
xor eax, eax
mov dword [ebp - 0x2a0], eax
xor eax, eax
mov edx, dword [ebp - 0x27c]
mov dword fs:[0], edx
jmp 0x404ca4
mov ecx, dword [0x4c8645]
mov dword [ebp - 0x2ac], ecx
mov cl, byte [0x4c8649]
mov byte [ebp - 0x2a8], cl
push 5
push ebx
lea eax, [ebp - 0x2ac]
push eax
call fcn.004801c4
add esp, 0xc
add ebx, 5
lea edx, [ebp - 0x2ac]
push edx
call fcn.00402b10
pop ecx
mov esi, eax
push esi
call fcn.004029e4
pop ecx
mov edi, eax
push esi
call fcn.0047e448
mov eax, dword [ebp - 0x2a4]
mov edx, dword [ebp + 0x14]
sub eax, 5
pop ecx
sub eax, 2
mov dword [edx], eax
push eax
push ebx
call fcn.004022dc
add esp, 8
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2a0]
push ecx
call fcn.0047e448
pop ecx
xor eax, eax
mov dword [ebp - 0x2a0], eax
push edi
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx]
push ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
push edx
call fcn.004028bc
add esp, 0xc
push edi
call fcn.0047e448
pop ecx
mov eax, 1
mov edx, dword [ebp - 0x27c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret