Function at 0x424ab0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484b98
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x49a11c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], ebx
cmp dword [ebx + 0x10], 0
mov dword [ebp - 4], 0
jne 0x424b0e
mov dword [edi], fcn.0045c490
mov eax, edi
mov dword [edi + 4], 0
jmp 0x424ec3
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x14]
jb 0x424afa
mov ecx, ebx
call fcn.00426260
test al, al
je 0x424afa
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.004262c0
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x424b36
mov ecx, dword [ebx]
push dword [ebx + 0x10]
push ecx
mov ecx, eax
call fcn.00425940
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00416c00
test esi, esi
jne 0x424afa
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.0041b1b0
mov esi, dword [ebp + 0x10]
mov byte [ebp - 4], 1
test esi, esi
je 0x424cae
lea eax, [ebp - 0x44]
xor bl, bl
push esi
push eax
lfence
call fcn.004249f0
add esp, 8
test al, al
je 0x424c96
lea eax, [ebp - 0x44]
xor esi, esi
push eax
lea ecx, [ebp - 0x5c]
call fcn.00415a70
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 0
je 0x424c5b
mov eax, esi
inc esi
cmp eax, dword [ebp + 0x14]
jae 0x424c5b
lea eax, [ebp - 0x5c]
push eax
call fcn.00424300
add esp, 4
test al, al
je 0x424bf3
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x424bf1
lea ecx, [ebp - 0x5c]
mov dword [edi], fcn.0045c490
mov dword [edi + 4], eax
call fcn.00416c00
lea ecx, [ebp - 0x44]
call fcn.00416c00
mov eax, edi
jmp 0x424ec3
mov bl, 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041b1b0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00423e20
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x424c42
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424c38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424edf
push edx
push ecx
call fcn.0042e020
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x424b95
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00416c00
test bl, bl
je 0x424c93
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x60], 0x4991a8
push eax
call fcn.00425b40
add esp, 8
cmp dword [ebp - 0x64], 0
jne 0x424ee4
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push esi
push eax
lfence
call fcn.004249f0
add esp, 8
test al, al
jne 0x424e7c
push 0xc
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.RPC_Control
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0041a660
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x64], 0
lea esi, [ebp - 0x14]
mov dword [ebp - 0x60], 0
push 0x28
lfence
call fcn.0042dff0
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x74], eax
cmp ebx, esi
je 0x424dcd
push ebx
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x64]
call fcn.004141b0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x84], eax
test al, al
jne 0x424dc2
cmp dword [ebp - 0x60], 0x6666666
je 0x424ef6
lea eax, [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x7c], 0
push 0x28
lfence
call fcn.0042dff0
mov esi, eax
add esp, 4
mov dword [ebp - 0x7c], esi
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 6
push ebx
call fcn.00415a70
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x64]
push esi
push dword [ebp - 0x88]
mov dword [esi], eax
push dword [ebp - 0x8c]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0x7c], 0
call fcn.00419190
mov eax, dword [ebp - 0x64]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x74]
add ebx, 0x18
jmp 0x424d18
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004241a0
mov ecx, dword [ebp - 0x64]
add esp, 0xc
mov bl, al
lea eax, [ebp - 0x64]
push dword [ecx + 4]
mov ecx, eax
push eax
call fcn.00414160
push 0x28
push dword [ebp - 0x64]
call fcn.0042e020
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push fcn.00416810
push 1
push 0x18
push eax
call fcn.0042eb38
test bl, bl
jne 0x424e7c
mov esi, dword [ebp - 0x78]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x424e2a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x68], 0xffffffff
jb 0x424e40
mov esi, dword [esi]
push 0x180
push 0x20
push 0x501
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.0045e8a8
add esp, 0x14
test eax, eax
jne 0x424e7c
push 0x48a854
push dword [ebp - 0x68]
call fcn.0045d86a
add esp, 8
test eax, eax
jne 0x424e95
push dword [ebp - 0x68]
call fcn.0045ea63
add esp, 4
mov dword [edi], fcn.0045c490
lea ecx, [ebp - 0x44]
mov dword [edi + 4], 0
call fcn.00416c00
mov eax, edi
jmp 0x424ec3
lea ecx, [ebp - 0x44]
mov dword [edi], fcn.0045c490
mov dword [edi + 4], eax
call fcn.00416c00
mov eax, edi
jmp 0x424ec3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042e033
mov esp, ebp
pop ebp
ret
call fcn.0045c36b
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push eax
push str.create_directories
call fcn.004253a0
call fcn.00419c50
int3