Function at 0x473220
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bce0
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x55f43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x45c], ecx
lea ecx, [ebp - 0x1e0]
call sub.mfc100.dll_Ordinal_423
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xf8]
call sub.mfc100.dll_Ordinal_423
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
push 0x528d3c
lea ecx, [ebp - 0xdc]
push ecx
call fcn.004766f0
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push str._s.
lea eax, [ebp - 0x1c4]
push eax
call fcn.004766f0
add esp, 0xc
push 0
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x440]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x460], eax
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x464], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x464]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x1e0]
call sub.mfc100.dll_Ordinal_4188
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x440]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp - 0xfc], 0
je 0x4733fd
lea ecx, [ebp - 0x1e0]
call sub.mfc100.dll_Ordinal_4207
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x1e0]
call sub.mfc100.dll_Ordinal_7317
test eax, eax
jne 0x4733f8
push 0xc8
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x1e0]
call sub.mfc100.dll_Ordinal_4936
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x468]
mov dword [ebp - 0x46c], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x46c]
call dword [sym.imp.mfc100.dll_Ordinal_4498]
push eax
push 0xc8
lea edx, [ebp - 0x2ac]
push edx
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x444]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x1e0]
call fcn.004584d0
test eax, eax
je 0x4733a1
jmp 0x4732fb
lea eax, [ebp - 0x2ac]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x528d4c
lea edx, [ebp - 0x374]
push edx
call fcn.004766f0
add esp, 0x10
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x448]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x470]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x448]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x4732fb
lea ecx, [ebp - 0x1e0]
call sub.mfc100.dll_Ordinal_2525
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp dword [ebp + 0xc], 0
je 0x473586
push 0
lea edx, [ebp - 0x1c4]
push edx
lea ecx, [ebp - 0x44c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x478], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x478]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0xf8]
call sub.mfc100.dll_Ordinal_4188
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp - 0xfc], 0
je 0x473571
lea ecx, [ebp - 0xf8]
call sub.mfc100.dll_Ordinal_4207
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0xf8]
call sub.mfc100.dll_Ordinal_7317
test eax, eax
jne 0x47356c
push 0xc8
lea ecx, [ebp - 0x450]
push ecx
lea ecx, [ebp - 0xf8]
call sub.mfc100.dll_Ordinal_4936
mov dword [ebp - 0x47c], eax
mov edx, dword [ebp - 0x47c]
mov dword [ebp - 0x480], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x480]
call dword [sym.imp.mfc100.dll_Ordinal_4498]
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.00476720
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0xf8]
call fcn.004584d0
test eax, eax
je 0x473515
jmp 0x473475
lea ecx, [ebp - 0x43c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0x528d54
lea eax, [ebp - 0x1c4]
push eax
call fcn.004766f0
add esp, 0x10
lea ecx, [ebp - 0x1c4]
push ecx
lea ecx, [ebp - 0x454]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp - 0x484]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x454]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x473475
lea ecx, [ebp - 0xf8]
call sub.mfc100.dll_Ordinal_2525
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x458], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
call sub.mfc100.dll_Ordinal_979
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call sub.mfc100.dll_Ordinal_979
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00501b98
mov esp, ebp
pop ebp
ret 0xc