Function at 0x46a4b0
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55c1af
push eax
mov dword fs:[0], esp
mov eax, dword [0x5cb0b8]
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x46a4e1
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x20], ebp
jne 0x46a4eb
mov eax, 0x80004005
jmp 0x46a998
mov dword [esp + 0x10], edi
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push ebp
mov dword [esp + 0x7c], edi
call dword [eax + 0xc0]
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x46a514
mov eax, 0x80004005
jmp 0x46a998
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], edi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov dword [esp + 0x1c], edi
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0x74], 1
mov dword [esp + 0x24], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov bl, 2
cmp eax, edi
mov byte [esp + 0x74], bl
jne 0x46a59f
cmp dword [0x5cb0c8], edi
jne 0x46a59f
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
mov byte [esp + 0x74], 3
je 0x46a575
mov ecx, eax
call fcn.0045e9d0
jmp 0x46a577
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [esp + 0x7c], bl
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov byte [esp + 0x74], 1
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
cmp eax, edi
jne 0x46a5eb
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
cmp eax, edi
je 0x46a634
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 0x80004005
jmp 0x46a998
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov ecx, dword [eax]
push edx
push 0x5b68d0
push eax
call dword [ecx]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x74], 4
cmp eax, edi
jne 0x46a63e
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x74], 0
cmp eax, edi
je 0x46a61e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
cmp eax, edi
je 0x46a634
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 0x80004005
jmp 0x46a998
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x90]
cmp dword [esp + 0x2c], edi
je 0x46a661
mov ecx, ebp
mov dword [esp + 0x28], edi
call fcn.00482ad0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
cmp eax, edi
je 0x46a69b
mov eax, dword [ecx + 4]
cmp eax, edi
je 0x46a69b
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 4
cmp edx, 1
jbe 0x46a69b
mov dword [esp + 0x14], edi
mov ebp, 1
mov dword [esp + 0x24], edi
xor ebx, ebx
mov eax, dword [ecx + 4]
cmp eax, edi
je 0x46a84e
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x46a84e
mov dl, byte [ebx + eax]
lea esi, [ebx + eax]
push edi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, dword [eax]
push ecx
push edi
push esi
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x74], 5
cmp eax, edi
jne 0x46a700
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x46a72a
mov eax, dword [esp + 0x4c]
cmp eax, edi
jne 0x46a718
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x20]
push ebp
push eax
call fcn.00482420
xor ebp, ebp
jmp 0x46a825
cmp dword [esp + 0x14], edi
je 0x46a807
mov dl, byte [esp + 0x80]
mov dword [esp + 0x3c], edi
mov byte [esp + 0x38], dl
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 6
call fcn.0052e7e0
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x74], 7
cmp eax, edi
jne 0x46a76b
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.0052e850
mov ecx, dword [esp + 0x3c]
cmp ecx, edi
je 0x46a7b9
mov eax, dword [esp + 0x40]
sub eax, ecx
sar eax, 4
cmp eax, edi
jle 0x46a7b9
xor esi, esi
mov edi, eax
jmp 0x46a799
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x46a7a6
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x20]
push ebp
push eax
call fcn.00482420
xor ebp, ebp
add esi, 0x10
dec edi
jne 0x46a795
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 6
call fcn.0052e820
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp esi, edi
mov byte [esp + 0x74], 5
je 0x46a7ec
push 0
mov ecx, esi
call fcn.0046dcd0
add esi, 0x10
cmp esi, edi
jne 0x46a7d8
mov esi, dword [esp + 0x3c]
push esi
call sub.MFC42.DLL_operatordelete
xor eax, eax
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
xor edi, edi
jmp 0x46a821
mov eax, dword [esp + 0x4c]
cmp eax, edi
jne 0x46a814
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x20]
push ebp
push eax
call fcn.00482420
xor ebp, ebp
mov dword [esp + 0x14], edi
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [esp + 0x24]
inc ecx
add ebx, 0x10
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x80]
jmp 0x46a6a6
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 0x28]
cmp esi, edi
jle 0x46a95a
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_3
push esi
lea edx, [esp + 0x84]
push 0x5bd330
push edx
mov byte [esp + 0x80], 8
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x5d2a80]
add esp, 0xc
mov ecx, 0x5d2a80
mov dword [esp + 0x34], 0x5d2a80
call dword [eax + 4]
mov eax, dword [0x5cb0c0]
mov bl, 9
cmp eax, edi
mov byte [esp + 0x74], bl
jne 0x46a921
cmp dword [0x5cb0bc], edi
jne 0x46a921
push 0x1044
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, edi
mov byte [esp + 0x74], 0xa
je 0x46a8f5
mov ecx, esi
call fcn.0051b870
mov dword [esi], vtable.CComObjectNoRef_class_CMPSContainer_.1.0
mov dword [esi + 4], vtable.CComObjectNoRef_class_CMPSContainer_.0
jmp 0x46a8f7
xor esi, esi
mov ecx, dword [0x5b5894]
mov byte [esp + 0x74], bl
push ecx
push 0x41c8d0
mov ecx, 0x5d0190
mov dword [0x5cb0bc], esi
call fcn.00406500
mov dword [0x5cb0c0], 1
mov edx, dword [0x5d2a80]
mov esi, dword [0x5cb0bc]
mov ecx, 0x5d2a80
mov byte [esp + 0x74], 8
call dword [edx + 8]
lea eax, [esp + 0x80]
mov ecx, esi
push eax
call fcn.0051cf20
lea ecx, [esp + 0x80]
mov byte [esp + 0x74], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov byte [esp + 0x74], 1
cmp eax, edi
je 0x46a96d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x74], 0
cmp eax, edi
je 0x46a980
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
cmp eax, edi
je 0x46a996
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 8