Function at 0x4325f0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4d57fc]
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 0x43264e
mov dword [edi], fcn.00482d60
mov eax, edi
mov dword [edi + 4], 0
jmp 0x432a03
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x14]
jb 0x43263a
mov ecx, ebx
call fcn.0041ff10
test al, al
je 0x43263a
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.004340e0
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x432676
mov ecx, dword [ebx]
push dword [ebx + 0x10]
push ecx
mov ecx, eax
call fcn.00433680
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00410b20
test esi, esi
jne 0x43263a
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.0041ffa0
mov esi, dword [ebp + 0x10]
mov byte [ebp - 4], 1
test esi, esi
je 0x4327ee
lea eax, [ebp - 0x44]
xor bl, bl
push esi
push eax
lfence
call fcn.00432550
add esp, 8
test al, al
je 0x4327d6
lea eax, [ebp - 0x44]
xor esi, esi
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041caf0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 0
je 0x43279b
mov eax, esi
inc esi
cmp eax, dword [ebp + 0x14]
jae 0x43279b
lea eax, [ebp - 0x5c]
push eax
call fcn.004318d0
add esp, 4
test al, al
je 0x432733
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 0x432731
lea ecx, [ebp - 0x5c]
mov dword [edi], fcn.00482d60
mov dword [edi + 4], eax
call fcn.00410b20
lea ecx, [ebp - 0x44]
call fcn.00410b20
mov eax, edi
jmp 0x432a03
mov bl, 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041ffa0
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041d100
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x432782
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432778
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432a1f
push edx
push ecx
call fcn.00461556
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x4326d5
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00410b20
test bl, bl
je 0x4327d3
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x60], 0x4d502c
push eax
call fcn.00433880
add esp, 8
cmp dword [ebp - 0x64], 0
jne 0x432a24
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push esi
push eax
lfence
call fcn.00432550
add esp, 8
test al, al
jne 0x4329bc
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.00408a50
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.00461526
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 0x43290d
push ebx
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041bc70
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x84], eax
test al, al
jne 0x432902
cmp dword [ebp - 0x60], 0x6666666
je 0x432a36
lea eax, [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x7c], 0
push 0x28
lfence
call fcn.00461526
mov esi, eax
add esp, 4
mov dword [ebp - 0x7c], esi
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 6
push ebx
call fcn.0041caf0
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.0041f310
mov eax, dword [ebp - 0x64]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x74]
add ebx, 0x18
jmp 0x432858
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00431740
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.0041bc20
push 0x28
push dword [ebp - 0x64]
call fcn.00461556
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push fcn.00402420
push 1
push 0x18
push eax
call fcn.0046205e
test bl, bl
jne 0x4329bc
mov esi, dword [ebp - 0x78]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x43296a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x68], 0xffffffff
jb 0x432980
mov esi, dword [esi]
push 0x180
push 0x20
push 0x501
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.004921e4
add esp, 0x14
test eax, eax
jne 0x4329bc
push 0x4bf5c0
push dword [ebp - 0x68]
call fcn.004911a6
add esp, 8
test eax, eax
jne 0x4329d5
push dword [ebp - 0x68]
call fcn.0049239f
add esp, 4
mov dword [edi], fcn.00482d60
lea ecx, [ebp - 0x44]
mov dword [edi + 4], 0
call fcn.00410b20
mov eax, edi
jmp 0x432a03
lea ecx, [ebp - 0x44]
mov dword [edi], fcn.00482d60
mov dword [edi + 4], eax
call fcn.00410b20
mov eax, edi
jmp 0x432a03
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.00461564
mov esp, ebp
pop ebp
ret
call fcn.0046d841
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push eax
push str.create_directories
call fcn.004332d0
call fcn.0041f840
int3