Function at 0x100c4c30
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101923f4
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101ebb68]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x101ebb68]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.10033560
xor ebx, ebx
push eax
lea esi, [esp + 0x30]
mov dword [esp + 0x8c], ebx
call fcn.100c58d0
add esp, 4
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x100c4ccd
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c4ccd
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c4ccd
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x88], 3
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCR100.dll___RTtypeid]
add esp, 4
push eax
mov ecx, 0x101fa038
call dword [sym.imp.MSVCR100.dll_public:_bool___thiscall_type_info::operator_class_type_info_const__const]
test al, al
je 0x100c4ee8
push edi
lea esi, [esp + 0x28]
call fcn.1009e4a0
add esp, 4
mov byte [esp + 0x88], 4
mov eax, dword [esp + 0x24]
mov cl, byte [eax + 0x10]
mov eax, dword [eax + 0x14]
mov byte [esp + 0x17], cl
cmp eax, ebx
jne 0x100c4d2d
mov edx, dword [0x101ff4b8]
mov eax, dword [edx + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10108390
mov byte [esp + 0x88], 5
push str.SD_FILE_RENAME_IMPL
cmp byte [esp + 0x1b], bl
je 0x100c4d71
push str.Rename_File_Successful___
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push ecx
call fcn.100c4f50
jmp 0x100c4e3b
push str.Rename_File_Failed___
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
push 0x48
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x88], 6
cmp eax, ebx
je 0x100c4da7
push eax
call fcn.100c4470
jmp 0x100c4da9
xor eax, eax
push eax
lea edx, [esp + 0x1c]
mov byte [esp + 0x8c], 5
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.100c5a50
mov byte [esp + 0x88], 7
mov eax, dword [esp + 0x18]
mov byte [eax + 0x24], bl
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x28], 0xffffffff
mov ecx, dword [esp + 0x18]
push 0xd
add ecx, 0x2c
push str.unknown_error
call fcn.1000c100
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x18]
push eax
call edx
mov byte [esp + 0x88], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x100c4e3b
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c4e3b
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c4e3b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x3c], vtable.TransferIO::FileBaseInfo.0
lea ebx, [esp + 0x3c]
mov byte [esp + 0x88], 8
call fcn.10108490
lea ecx, [esp + 0x40]
call fcn.10145dc0
mov ecx, ebx
mov byte [esp + 0x88], 4
call fcn.10124c50
mov byte [esp + 0x88], 3
mov esi, dword [esp + 0x28]
test esi, esi
je 0x100c4ea5
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c4ea5
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c4ea5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x88], 0xffffffff
mov esi, dword [esp + 0x30]
test esi, esi
je 0x100c4ee1
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c4ee1
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c4ee1
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, 0xf
jmp 0x100c4f29
mov dword [esp + 0x88], 0xffffffff
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x100c4f24
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c4f24
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c4f24
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, 8
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.10178946
mov esp, ebp
pop ebp
ret 4