Function at 0x429470
Capabilities:
Delete file

Disassembly:
sub esp, 0x96c
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x968], eax
push ebx
push ebp
mov ebx, edx
xor ebp, ebp
test ebx, ebx
push esi
mov esi, ecx
je 0x42977a
push edi
push ebp
push ebp
lea eax, [esp + 0x780]
push eax
lea ecx, [esp + 0x384]
push ecx
push ebx
call fcn.0043d3fc
add esp, 0x14
test esi, esi
je 0x4294ce
lea edx, [esp + 0x78]
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4294c0
jmp 0x42951c
xor eax, eax
mov cl, byte [esp + eax + 0x378]
mov byte [esp + eax + 0x78], cl
add eax, 1
test cl, cl
jne 0x4294d0
lea eax, [esp + 0x778]
mov edx, eax
jmp 0x4294f0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4294f0
lea edi, [esp + 0x78]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x429502
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429523
sub eax, edx
mov al, byte [esp + eax + 0x77]
cmp al, 0x5c
je 0x429559
cmp al, 0x2f
je 0x429559
cmp al, 0x3a
je 0x429559
lea edi, [esp + 0x78]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x429545
mov dx, word [0x4536b0]
mov word [edi], dx
push 0
push 0
lea eax, [esp + 0x480]
push eax
lea ecx, [esp + 0x284]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.0043d3fc
push ebx
call fcn.00428f60
mov esi, eax
add esp, 0x18
test esi, esi
mov dword [esp + 0x14], esi
je 0x42975f
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00428730
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x429756
mov eax, dword [esp + 0x20]
test eax, eax
je 0x429756
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebp
jle 0x429756
cmp dword [esp + 0x10], 0
push esi
jne 0x4295d2
call fcn.00428ac0
jmp 0x4295d7
call fcn.00428b10
add esp, 4
test eax, eax
jne 0x429751
push eax
push eax
push eax
push eax
push 0x100
lea ecx, [esp + 0x58c]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
call fcn.00428a80
mov ebp, eax
add esp, 0x20
test ebp, ebp
jne 0x429751
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
lea ecx, [esp + 0x878]
push ecx
lea edx, [esp + 0x67c]
push edx
push ebp
mov dword [esp + 0x28], eax
lea eax, [esp + 0x584]
push ebp
push eax
call fcn.0043d3fc
add esp, 0x14
xor eax, eax
jmp 0x429640
mov cl, byte [esp + eax + 0x278]
mov byte [esp + eax + 0x178], cl
add eax, 1
test cl, cl
jne 0x429640
lea eax, [esp + 0x478]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429660
lea edi, [esp + 0x178]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x429675
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x678]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x429698
lea edi, [esp + 0x178]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
nop
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4296b0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x878]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4296d1
lea edi, [esp + 0x178]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4296e8
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [esp + 0x980], 0
rep movsb byte es:[edi], byte [esi]
jne 0x42971a
lea ecx, [esp + 0x178]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x429736
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push edx
push ebx
push eax
lea eax, [esp + 0x184]
call fcn.004292e0
add esp, 0xc
mov ebp, eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jl 0x4295c3
jmp 0x429756
mov ebp, 1
push esi
call fcn.004290e0
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x968]
xor ecx, esp
call fcn.0043b3fc
add esp, 0x96c
ret
mov ecx, dword [esp + 0x974]
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b3fc
add esp, 0x96c
ret