Function at 0x449d40
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x5f82a5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x18], 0
mov dword [ebp], vtable.GameMgr::GMBTTask.0
mov dword [ebp + fcn.00489120], vtable.GameMgr::GMBTTask.1.0
mov ecx, ebp
mov dword [esp + 0x40], 0xa
call fcn.0044b880
mov esi, dword [ebp + 0x1f8]
test esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esp + 0x17], 0
je 0x449dd9
mov eax, dword [esi]
test eax, eax
je 0x449dca
mov eax, dword [eax + 0x10]
cmp eax, 0xffffffff
je 0x449dca
push 0xffffffffffffffff
push eax
call ebx
test eax, eax
jne 0x449dca
mov esi, dword [esi]
test esi, esi
je 0x449dca
call fcn.00430380
mov edi, dword [ebp + 0x1f8]
test edi, edi
je 0x449dd9
call fcn.00405f30
mov esi, dword [ebp + 0x218]
test esi, esi
je 0x449e14
mov eax, dword [esi]
test eax, eax
je 0x449e05
mov eax, dword [eax + 0x10]
cmp eax, 0xffffffff
je 0x449e05
push 0xffffffffffffffff
push eax
call ebx
test eax, eax
jne 0x449e05
mov esi, dword [esi]
test esi, esi
je 0x449e05
call fcn.00430380
mov edi, dword [ebp + 0x218]
test edi, edi
je 0x449e14
call fcn.00405f30
lea esi, [ebp + 0x1e0]
test esi, esi
je 0x449e30
mov eax, dword [esi]
test eax, eax
je 0x449e30
cmp dword [eax], 0
je 0x449e30
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call ebx
cmp dword [ebp + 0x1dc], 0
je 0x449e3e
mov byte [esp + 0x17], 1
test esi, esi
je 0x449e56
mov esi, dword [esi]
test esi, esi
je 0x449e56
cmp dword [esi], 0
je 0x449e56
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp byte [esp + 0x17], 0
je 0x449e68
mov edx, dword [ebp + 0x21c]
push 0xffffffffffffffff
push edx
call ebx
cmp byte [ebp + 0x14], 0
je 0x449ee8
call fcn.00429490
cmp dword [eax + 0x18], 0
je 0x449eba
call fcn.00429490
mov ebx, dword [eax + 0x18]
lea edi, [ebp + 0x188]
lea esi, [esp + 0x1c]
call fcn.0043d560
mov byte [esp + 0x40], 0xb
mov edx, dword [ebx]
push 3
push eax
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
mov byte [esp + 0x40], 0xa
cmp dword [esp + 0x34], 0x10
jb 0x449eba
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0059b877
add esp, 4
cmp byte [ebp + 0x14], 0
je 0x449ee8
push ebp
lea esi, [esp + 0x20]
call fcn.0045e740
mov byte [esp + 0x40], 0xc
push eax
mov dword [esp + 0x1c], 1
call fcn.0042a620
add esp, 4
test al, al
je 0x449ee8
mov bl, 1
jmp 0x449eea
xor bl, bl
mov dword [esp + 0x40], 0xa
test byte [esp + 0x18], 1
je 0x449f0d
cmp dword [esp + 0x34], 8
jb 0x449f0d
mov edx, dword [esp + 0x20]
push edx
call fcn.0059b877
add esp, 4
test bl, bl
mov edi, 7
je 0x449f5d
push ebp
lea esi, [esp + 0x20]
call fcn.0045e740
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x449f2f
mov eax, dword [eax + 4]
jmp 0x449f32
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esp + 0x34], esi
jb 0x449f4c
mov eax, dword [esp + 0x20]
push eax
call fcn.0059b877
add esp, 4
xor ebx, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jmp 0x449f5f
xor ebx, ebx
cmp dword [ebp + 0x2f4], 8
jb 0x449f77
mov eax, dword [ebp + 0x2e0]
push eax
call fcn.0059b877
add esp, 4
mov dword [ebp + 0x2f4], edi
mov dword [ebp + 0x2f0], ebx
lea esi, [ebp + 0x224]
mov word [ebp + 0x2e0], bx
call fcn.0040dd60
mov eax, dword [ebp + 0x21c]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x449fb4
push eax
call esi
test eax, eax
jne 0x449fb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x449fba
mov dword [ebp + 0x21c], ebx
mov eax, dword [ebp + 0x1e0]
cmp eax, ebx
je 0x449fdc
cmp dword [eax], ebx
je 0x449fcd
mov ecx, dword [eax]
push ecx
call esi
mov eax, dword [ebp + 0x1e0]
push eax
call fcn.0059b877
add esp, 4
mov esi, 8
cmp dword [ebp + 0x1d8], esi
jb 0x449ff8
mov eax, dword [ebp + 0x1c4]
push eax
call fcn.0059b877
add esp, 4
mov dword [ebp + 0x1d8], edi
mov dword [ebp + 0x1d4], ebx
mov word [ebp + 0x1c4], bx
cmp dword [ebp + 0x1bc], esi
jb 0x44a022
mov eax, dword [ebp + 0x1a8]
push eax
call fcn.0059b877
add esp, 4
mov dword [ebp + 0x1bc], edi
mov dword [ebp + 0x1b8], ebx
mov word [ebp + 0x1a8], bx
cmp dword [ebp + 0x1a0], esi
jb 0x44a04c
mov eax, dword [ebp + 0x18c]
push eax
call fcn.0059b877
add esp, 4
mov dword [ebp + 0x1a0], edi
mov dword [ebp + 0x19c], ebx
mov word [ebp + 0x18c], bx
mov eax, dword [ebp + 0x17c]
cmp eax, ebx
mov dword [ebp + method.GameMgr::GMBuffer_unsigned_char_.virtual_0], vtable.GameMgr::GMBuffer_unsigned_char_.0
je 0x44a082
push eax
call fcn.0059b877
add esp, 4
mov dword [ebp + 0x17c], ebx
cmp dword [ebp + 0x170], esi
jb 0x44a099
mov eax, dword [ebp + 0x15c]
push eax
call fcn.0059b877
add esp, 4
mov dword [ebp + 0x170], edi
mov dword [ebp + 0x16c], ebx
mov word [ebp + 0x15c], bx
cmp dword [ebp + 0x154], esi
jb 0x44a0c3
mov eax, dword [ebp + 0x140]
push eax
call fcn.0059b877
add esp, 4
mov dword [ebp + 0x154], edi
mov dword [ebp + 0x150], ebx
mov ecx, ebp
mov word [ebp + 0x140], bx
mov dword [esp + 0x40], 0xffffffff
call fcn.0045e160
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4