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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e85f4
push eax
mov dword fs:[0], esp
mov eax, dword [0x5371bc]
sub esp, 0x54
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x438101
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x20], ebp
jne 0x43810b
mov eax, 0x80004005
jmp 0x438486
mov dword [esp + 0x14], edi
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push ebp
mov dword [esp + 0x74], edi
call dword [eax + 0xc0]
cmp dword [esp + 0x14], edi
jne 0x438132
mov eax, 0x80004005
jmp 0x438486
mov dword [esp + 0x1c], edi
push 0x53d480
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 1
call fcn.00404b30
mov eax, dword [0x537160]
mov bl, 2
cmp eax, edi
mov byte [esp + 0x6c], bl
jne 0x4381ab
cmp dword [0x53715c], edi
jne 0x4381ab
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x6c], 3
je 0x438180
mov ecx, eax
call fcn.00431f10
jmp 0x438182
xor eax, eax
mov edx, dword [0x528890]
mov ecx, 0x53bea0
push edx
push 0x4031c0
mov byte [esp + 0x74], bl
mov dword [0x53715c], eax
call fcn.00402190
mov dword [0x537160], 1
mov ecx, dword [esp + 0x24]
mov esi, dword [0x53715c]
mov byte [esp + 0x6c], 1
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
push esi
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
cmp eax, edi
jne 0x4381f2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, edi
je 0x43823b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x438486
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov edx, dword [eax]
push ecx
push 0x52b5d0
push eax
call dword [edx]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x6c], 4
cmp eax, edi
jne 0x438245
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x6c], 0
cmp eax, edi
je 0x438225
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, edi
je 0x43823b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x438486
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], edi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x90]
cmp dword [esp + 0x28], edi
je 0x438264
mov ecx, ebp
call fcn.00449030
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
cmp eax, edi
je 0x43829b
mov eax, dword [ecx + 4]
cmp eax, edi
je 0x43829b
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 4
cmp edx, 1
jbe 0x43829b
mov dword [esp + 0x10], edi
mov ebp, 1
mov dword [esp + 0x24], edi
xor ebx, ebx
mov eax, dword [ecx + 4]
cmp eax, edi
je 0x438448
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x438448
mov dl, byte [ebx + eax]
lea esi, [ebx + eax]
push edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x44], 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 + 0x4c]
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 + 0x44]
mov byte [esp + 0x6c], 5
cmp eax, edi
jne 0x438300
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 0x43832a
mov eax, dword [esp + 0x44]
cmp eax, edi
jne 0x438318
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.00448a60
xor ebp, ebp
jmp 0x438422
cmp dword [esp + 0x10], edi
je 0x438404
mov dl, byte [esp + 0x78]
mov dword [esp + 0x34], edi
mov byte [esp + 0x30], dl
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 6
call fcn.004c5ee0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x6c], 7
cmp eax, edi
jne 0x438368
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 + 0x30]
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.004c5f50
mov ecx, dword [esp + 0x34]
cmp ecx, edi
je 0x4383b6
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 4
cmp eax, edi
jle 0x4383b6
xor esi, esi
mov edi, eax
jmp 0x438396
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x4383a3
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.00448a60
xor ebp, ebp
add esi, 0x10
dec edi
jne 0x438392
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 6
call fcn.004c5f20
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp esi, edi
mov byte [esp + 0x6c], 5
je 0x4383e9
push 0
mov ecx, esi
call fcn.0043a720
add esi, 0x10
cmp esi, edi
jne 0x4383d5
mov esi, dword [esp + 0x34]
push esi
call sub.MFC42.DLL_operatordelete
xor eax, eax
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
xor edi, edi
jmp 0x43841e
mov eax, dword [esp + 0x44]
cmp eax, edi
jne 0x438411
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.00448a60
xor ebp, ebp
mov dword [esp + 0x10], edi
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], 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 + 0x78]
jmp 0x4382a6
mov eax, dword [esp + 0x18]
mov byte [esp + 0x6c], 1
cmp eax, edi
je 0x43845b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x6c], 0
cmp eax, edi
je 0x43846e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, edi
je 0x438484
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8