Function at 0x4a4e60
Capabilities:
Check if file exists
Delete directory
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x60d922
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x72d150]
xor eax, esp
mov dword [esp + 0x2cc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x2e4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2f4]
xor ebp, ebp
cmp byte [esp + 0x2f8], 0
mov dword [esp + 0x14], ebx
je 0x4a5260
push 0xffffffffffffffff
push ebp
xor eax, eax
mov esi, 7
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], ax
call fcn.00402410
mov dword [esp + 0x2ec], ebp
cmp dword [esp + 0x80], ebp
je 0x4a4efa
push 0x2f
push 1
lea ecx, [esp + 0x74]
call fcn.00434310
push 0x2a
push 1
lea ecx, [esp + 0x74]
call fcn.00434310
lea ecx, [esp + 0x88]
call fcn.00559b40
mov edx, dword [esp + 0x70]
mov edi, 8
mov byte [esp + 0x2ec], 1
cmp dword [esp + 0x84], edi
jae 0x4a4f31
lea edx, [esp + 0x70]
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebp
mov word [esp + 0x54], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4a4f45
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x58]
call fcn.004037b0
push ebp
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x2f4], 2
call fcn.00559c70
mov bl, al
mov byte [esp + 0x2ec], 1
cmp dword [esp + 0x68], edi
jb 0x4a4f96
mov eax, dword [esp + 0x54]
push eax
call fcn.005be738
add esp, 4
test bl, bl
je 0x4a51d9
mov edi, edi
lea ecx, [esp + 0x88]
call fcn.00559bf0
add eax, 0x2c
xor ecx, ecx
mov word [esp + 0x38], cx
mov ebx, 7
mov ecx, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
lea esi, [ecx + 2]
jmp 0x4a4fd0
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x4a4fd0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.004037b0
mov edx, dword [esp + 0x14]
push 0x2f
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x2f8], 3
call fcn.004345c0
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x304], 4
call fcn.0040f1e0
add esp, 0x18
mov byte [esp + 0x2ec], 6
cmp dword [esp + 0x30], edi
jb 0x4a5039
mov eax, dword [esp + 0x1c]
push eax
call fcn.005be738
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], cx
cmp dword [esp + 0x48], ebp
jne 0x4a5095
call fcn.004895c0
test al, al
jne 0x4a5095
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x4a5095
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push str._sName.empty__
push str.PnzAssert:__s
push 0x6b
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzDirectory.cpp
push 2
push eax
call edx
add esp, 0x18
lea ecx, [esp + 0x88]
call fcn.00559bf0
test byte [eax], 0x10
je 0x4a5170
mov eax, dword [esp + 0x48]
push 1
push 0x68a994
push eax
push ebp
lea ecx, [esp + 0x44]
call fcn.00412520
test eax, eax
je 0x4a510e
mov ecx, dword [esp + 0x48]
push 2
push 0x692a4c
push ecx
push ebp
lea ecx, [esp + 0x44]
call fcn.00412520
test eax, eax
je 0x4a510e
mov edx, dword [esp + 0x300]
mov ebx, dword [esp + 0x2fc]
push edx
push ebx
lea eax, [esp + 0x58]
push 1
push eax
call fcn.004a4e60
add esp, 0x10
test al, al
jne 0x4a5109
test bl, bl
je 0x4a51a3
mov ebx, 7
cmp dword [esp + 0x68], edi
jb 0x4a5121
mov ecx, dword [esp + 0x54]
push ecx
call fcn.005be738
add esp, 4
xor edx, edx
mov byte [esp + 0x2ec], 1
mov word [esp + 0x54], dx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebx
cmp dword [esp + 0x4c], edi
jb 0x4a514b
mov eax, dword [esp + 0x38]
push eax
call fcn.005be738
add esp, 4
xor ecx, ecx
mov word [esp + 0x38], cx
lea ecx, [esp + 0x88]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebx
call fcn.00559b70
test al, al
jne 0x4a4fa0
jmp 0x4a51de
fldz
mov edx, dword [esp + 0x300]
push ecx
fstp dword [esp]
push edx
push ebp
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.004a5940
add esp, 0x14
test al, al
jne 0x4a510e
cmp byte [esp + 0x2fc], al
jne 0x4a510e
lea ecx, [esp + 0x50]
call fcn.00401bf0
lea ecx, [esp + 0x34]
call fcn.00401bf0
lea ecx, [esp + 0x88]
mov byte [esp + 0x2ec], 0
call fcn.00559c60
lea ecx, [esp + 0x6c]
call fcn.00401bf0
xor al, al
jmp 0x4a539e
mov ebx, 7
lea ecx, [esp + 0x88]
call fcn.0042aa20
mov byte [esp + 0x2ec], 0
lea ecx, [esp + 0x88]
test al, al
je 0x4a521f
call fcn.00559c60
cmp dword [esp + 0x84], edi
jb 0x4a5218
mov edx, dword [esp + 0x70]
push edx
call fcn.005be738
add esp, 4
xor al, al
jmp 0x4a539e
call fcn.00559c60
mov dword [esp + 0x2ec], 0xffffffff
cmp dword [esp + 0x84], edi
jb 0x4a5245
mov eax, dword [esp + 0x70]
push eax
call fcn.005be738
add esp, 4
xor ecx, ecx
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], ebp
mov word [esp + 0x70], cx
jmp 0x4a5265
mov edi, 8
lea esi, [ebx + 4]
cmp dword [ebx + 0x18], edi
jb 0x4a5271
mov eax, dword [esi]
jmp 0x4a5273
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4a52d4
cmp byte [esp + 0x300], 0
je 0x4a539c
call fcn.004895c0
test al, al
jne 0x4a539c
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x4a539c
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebx + 0x18], edi
jb 0x4a52c4
mov esi, dword [esi]
push esi
push str.Directory__S_was_successfully_deleted.
push 0x85
jmp 0x4a538b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x4a5345
cmp edi, 3
je 0x4a5345
call fcn.004895c0
test al, al
jne 0x4a5335
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x4a5335
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebx + 0x18], 8
jb 0x4a5317
mov esi, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push edi
push esi
push str.Failed_to_delete_directory__path:__S__error:__i
push 0x91
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzDirectory.cpp
push 1
push eax
call edx
add esp, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [esp + 0x2fc]
jmp 0x4a539e
cmp byte [esp + 0x300], 0
je 0x4a539c
call fcn.004895c0
test al, al
jne 0x4a539c
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x4a539c
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebx + 0x18], 8
jb 0x4a5380
mov esi, dword [esi]
push esi
push str.Directory__S_does_not_exist.
push 0x8d
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodeUtilsPnzDirectory.cpp
push ebp
push eax
call edx
add esp, 0x18
mov al, 1
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2cc]
xor ecx, esp
call fcn.005cd251
add esp, 0x2dc
ret