Function at 0x434e40
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4743ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [eax], 0
mov ebx, 1
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x434ea4
mov eax, dword [esi]
push 0x104
lea ecx, [ebp - 0x258]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x24]
call fcn.00406110
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
cmp edi, 8
cmovae eax, edx
setae cl
mov byte [ebp + 0xf], cl
cmp word [eax], 0x2f
je 0x434ef9
test cl, cl
lea eax, [ebp - 0x24]
cmovne eax, edx
cmp word [eax], 0x5c
jne 0x434f92
mov edi, dword [0x496c40]
mov eax, 0x7ffffffe
mov ebx, dword [ebp - 0x14]
sub eax, edi
cmp eax, ebx
jb 0x4350bc
cmp dword [0x496c44], 8
lea eax, [ebp - 0x24]
mov ecx, 0x496c30
cmovae ecx, dword [0x496c30]
cmp byte [ebp + 0xf], 0
push ebx
cmovne eax, edx
push eax
push edi
push ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
call fcn.0040a280
lea eax, [ebp - 0x50]
mov ebx, 3
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
call fcn.00415890
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x434f8c
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434f82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4350c1
push edx
push ecx
call fcn.0044c564
add esp, 8
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
cmp edi, 8
jb 0x434fa4
mov ecx, edx
lea eax, [edx + eax*2]
jmp 0x434faa
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x24]
cmp ecx, eax
je 0x434fc9
mov edx, 0x5c
cmp word [ecx], 0x2f
jne 0x434fbc
mov word [ecx], dx
add ecx, 2
cmp ecx, eax
jne 0x434fb3
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp edi, 8
lea eax, [ebp - 0x24]
cmovae eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43506e
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 0x30], str.Could_not_delete_directory.
mov dword [ebp - 0x2c], 0x1b
jb 0x434ff9
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
lea ecx, [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push 5
call fcn.00424090
or ebx, 4
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 2
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, esi
je 0x435063
push eax
call fcn.0044c595
add esp, 4
test esi, esi
jne 0x435046
xor ebx, ebx
push esi
mov dword [edi], ebx
call fcn.0044c595
add esp, 4
jmp 0x435071
mov edi, dword [esi]
add edi, 5
push edi
call fcn.0044c7e5
push edi
mov ebx, eax
push esi
push ebx
call fcn.0044df90
mov edi, dword [ebp + 8]
add esp, 0x10
mov dword [edi], ebx
push esi
call fcn.0044c595
add esp, 4
jmp 0x435071
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x4350a7
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43509d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4350c1
push edx
push ecx
call fcn.0044c564
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.00401760
call fcn.00450fe0
int3