Function at 0x429210
Capabilities:
Delete file

Disassembly:
sub esp, 0x96c
mov eax, dword [0x4630e0]
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 0x42951a
push edi
push ebp
push ebp
lea eax, [esp + 0x780]
push eax
lea ecx, [esp + 0x384]
push ecx
push ebx
call fcn.0043d0dc
add esp, 0x14
test esi, esi
je 0x42926e
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 0x429260
jmp 0x4292bc
xor eax, eax
mov cl, byte [esp + eax + 0x378]
mov byte [esp + eax + 0x78], cl
add eax, 1
test cl, cl
jne 0x429270
lea eax, [esp + 0x778]
mov edx, eax
jmp 0x429290
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429290
lea edi, [esp + 0x78]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4292a2
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 0x4292c3
sub eax, edx
mov al, byte [esp + eax + 0x77]
cmp al, 0x5c
je 0x4292f9
cmp al, 0x2f
je 0x4292f9
cmp al, 0x3a
je 0x4292f9
lea edi, [esp + 0x78]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4292e5
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.0043d0dc
push ebx
call fcn.00428d00
mov esi, eax
add esp, 0x18
test esi, esi
mov dword [esp + 0x14], esi
je 0x4294ff
lea eax, [esp + 0x20]
push eax
push esi
call fcn.004284d0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4294f6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4294f6
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebp
jle 0x4294f6
cmp dword [esp + 0x10], 0
push esi
jne 0x429372
call fcn.00428860
jmp 0x429377
call fcn.004288b0
add esp, 4
test eax, eax
jne 0x4294f1
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.00428820
mov ebp, eax
add esp, 0x20
test ebp, ebp
jne 0x4294f1
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.0043d0dc
add esp, 0x14
xor eax, eax
jmp 0x4293e0
mov cl, byte [esp + eax + 0x278]
mov byte [esp + eax + 0x178], cl
add eax, 1
test cl, cl
jne 0x4293e0
lea eax, [esp + 0x478]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429400
lea edi, [esp + 0x178]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x429415
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 0x429438
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 0x429450
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 0x429471
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 0x429488
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 0x4294ba
lea ecx, [esp + 0x178]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4294d6
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push edx
push ebx
push eax
lea eax, [esp + 0x184]
call fcn.00429080
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 0x429363
jmp 0x4294f6
mov ebp, 1
push esi
call fcn.00428e80
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x968]
xor ecx, esp
call fcn.0043b76b
add esp, 0x96c
ret
mov ecx, dword [esp + 0x974]
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b76b
add esp, 0x96c
ret