Function at 0x409590
Capabilities:
Delete directory

Disassembly:
sub esp, 0x66c
mov eax, dword [section..data]
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 [0x4e6030]
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 0x409621
mov edx, 0x4b330c
mov ecx, 0x4b32d0
call fcn.00478640
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x58]
mov edx, 0x4b3e80
push 0x30
push eax
mov ecx, 0x4b32d0
call fcn.00478640
push eax
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x409902
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, 0x4b4024
mov ecx, 0x4b32d0
call fcn.00478640
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 0x4b402c
push eax
call esi
lea eax, [esp + 0x468]
push eax
lea eax, [esp + 0x264]
push eax
call esi
push 0x4b4034
lea eax, [esp + 0x264]
push eax
call esi
push 0x24
mov edx, 0x4b3314
mov ecx, 0x4b32d0
call fcn.00478640
push eax
lea eax, [esp + 0x268]
push eax
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4098fd
push 2
push 0x400
call fcn.004909d3
add esp, 8
mov ebx, eax
push 0x4e5c20
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x468]
push eax
push ebx
call esi
mov ecx, ebx
call fcn.004028e0
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 [0x4e6030]
call edi
push eax
call ebp
push 0
push 0
push 0x1009
push 0x2740
push dword [0x4e6030]
call edi
push eax
call ebp
push 0
push 0
push 0x1009
push 0x2741
push dword [0x4e6030]
call edi
push eax
call ebp
push 0
push 0
push 0x1009
push 0x2742
push dword [0x4e6030]
call edi
push eax
call ebp
push 0
push 0
push 0x1009
push 0x2743
push dword [0x4e6030]
call edi
push eax
call ebp
push 0
push 0
push 0x1009
push 0x2744
push dword [0x4e6030]
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 [0x4e6030]
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.0048fb10
add esp, 0xc
push 0
push 0
push 0x1004
push 0x2744
push dword [0x4e6030]
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 [0x4e6030]
call esi
push eax
call ebp
push 0
push 0
push 0x1004
push 0x2742
push dword [0x4e6030]
add edi, eax
call esi
push eax
call ebp
push 0
push 0
push 0x1004
push 0x2741
push dword [0x4e6030]
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 [0x4e6030]
call edi
push eax
call ebp
push eax
push 0
push 0
push 0x1004
push 0x2745
push dword [0x4e6030]
call edi
push eax
call ebp
push eax
mov edx, 0x4b37a0
mov ecx, 0x4b32d0
call fcn.00478640
push eax
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.0040a420
add esp, 0x18
lea eax, [esp + 0x58]
push eax
push 1
push 0x40b
push dword [0x4e5c10]
call ebp
push ebx
call fcn.004909de
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x66c
ret