Function at 0x409530
Capabilities:
Delete directory

Disassembly:
sub esp, 0x66c
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x664], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x2738
push dword [0x4def88]
call edi
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
push 2
push 0xffffffffffffffff
push 0x100c
push ebx
mov dword [esp + 0x28], ebx
call ebp
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x4095c1
mov edx, 0x4ad0cc
mov ecx, 0x4ad090
call fcn.00477440
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x58]
mov edx, 0x4adc40
push 0x30
push eax
mov ecx, 0x4ad090
call fcn.00477440
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x4098a2
lea ecx, [esp + 0x468]
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0x1073
push ebx
mov dword [esp + 0x44], 0x104
call ebp
mov edx, 0x4adde4
mov ecx, 0x4ad090
call fcn.00477440
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x260]
push 0x4addec
push eax
call esi
lea eax, [esp + 0x468]
push eax
lea eax, [esp + 0x264]
push eax
call esi
push 0x4addf4
lea eax, [esp + 0x264]
push eax
call esi
push 0x24
mov edx, 0x4ad0d4
mov ecx, 0x4ad090
call fcn.00477440
push eax
lea eax, [esp + 0x268]
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x40989d
push 2
push 0x400
call fcn.0048f743
add esp, 8
mov ebx, eax
push 0x4deb78
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x468]
push eax
push ebx
call esi
mov ecx, ebx
call fcn.004028a0
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push 0x1008
push esi
call ebp
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0xb
push eax
push 0
push 0x102b
push esi
mov dword [esp + 0x38], 2
call ebp
push 0
push 0
push 0x1009
push 0x2745
push dword [0x4def88]
call edi
push eax
call ebp
push 0
push 0
push 0x1009
push 0x2740
push dword [0x4def88]
call edi
push eax
call ebp
push 0
push 0
push 0x1009
push 0x2741
push dword [0x4def88]
call edi
push eax
call ebp
push 0
push 0
push 0x1009
push 0x2742
push dword [0x4def88]
call edi
push eax
call ebp
push 0
push 0
push 0x1009
push 0x2743
push dword [0x4def88]
call edi
push eax
call ebp
push 0
push 0
push 0x1009
push 0x2744
push dword [0x4def88]
call edi
push eax
call ebp
mov dword [esp + 0x2c], 0xb
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 2
push eax
push 0
push 0x102b
push 0x2738
push dword [0x4def88]
call edi
push eax
call ebp
xor eax, eax
push 0x206
push eax
mov word [esp + 0x60], ax
lea eax, [esp + 0x62]
push eax
call fcn.0048e880
add esp, 0xc
push 0
push 0
push 0x1004
push 0x2744
push dword [0x4def88]
call edi
push eax
call ebp
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 0
push 0
push 0x1004
push 0x2743
push dword [0x4def88]
call esi
push eax
call ebp
push 0
push 0
push 0x1004
push 0x2742
push dword [0x4def88]
add edi, eax
call esi
push eax
call ebp
push 0
push 0
push 0x1004
push 0x2741
push dword [0x4def88]
lea esi, [edi + eax]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
push eax
call ebp
add eax, esi
push eax
push 0
push 0
push 0x1004
push 0x2740
push dword [0x4def88]
call edi
push eax
call ebp
push eax
push 0
push 0
push 0x1004
push 0x2745
push dword [0x4def88]
call edi
push eax
call ebp
push eax
mov edx, 0x4ad560
mov ecx, 0x4ad090
call fcn.00477440
push eax
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.0040a3c0
add esp, 0x18
lea eax, [esp + 0x58]
push eax
push 1
push 0x40b
push dword [0x4deb68]
call ebp
push ebx
call fcn.0048f74e
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x66c
ret