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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e5c74
push eax
mov dword fs:[0], esp
mov eax, dword [0x5340ac]
sub esp, 0x54
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x437ee1
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x20], ebp
jne 0x437eeb
mov eax, 0x80004005
jmp 0x438266
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 0x437f12
mov eax, 0x80004005
jmp 0x438266
mov dword [esp + 0x1c], edi
push 0x53a3c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 1
call fcn.00404b80
mov eax, dword [0x534040]
mov bl, 2
cmp eax, edi
mov byte [esp + 0x6c], bl
jne 0x437f8b
cmp dword [0x53403c], edi
jne 0x437f8b
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x6c], 3
je 0x437f60
mov ecx, eax
call fcn.00431c60
jmp 0x437f62
xor eax, eax
mov edx, dword [0x525888]
mov ecx, 0x538d90
push edx
push 0x4031b0
mov byte [esp + 0x74], bl
mov dword [0x53403c], eax
call fcn.00402180
mov dword [0x534040], 1
mov ecx, dword [esp + 0x24]
mov esi, dword [0x53403c]
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 0x437fd2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, edi
je 0x43801b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x438266
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov edx, dword [eax]
push ecx
push 0x5285b0
push eax
call dword [edx]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x6c], 4
cmp eax, edi
jne 0x438025
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x6c], 0
cmp eax, edi
je 0x438005
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, edi
je 0x43801b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x438266
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 0x438044
mov ecx, ebp
call fcn.00448dd0
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 0x43807b
mov eax, dword [ecx + 4]
cmp eax, edi
je 0x43807b
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 4
cmp edx, 1
jbe 0x43807b
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 0x438228
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x438228
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 0x4380e0
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 0x43810a
mov eax, dword [esp + 0x44]
cmp eax, edi
jne 0x4380f8
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.00448800
xor ebp, ebp
jmp 0x438202
cmp dword [esp + 0x10], edi
je 0x4381e4
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.004c3620
mov eax, dword [esp + 0x44]
mov byte [esp + 0x6c], 7
cmp eax, edi
jne 0x438148
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.004c3690
mov ecx, dword [esp + 0x34]
cmp ecx, edi
je 0x438196
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 4
cmp eax, edi
jle 0x438196
xor esi, esi
mov edi, eax
jmp 0x438176
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + ecx + 4]
test eax, eax
jne 0x438183
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.00448800
xor ebp, ebp
add esi, 0x10
dec edi
jne 0x438172
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 6
call fcn.004c3660
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp esi, edi
mov byte [esp + 0x6c], 5
je 0x4381c9
push 0
mov ecx, esi
call fcn.0043a500
add esi, 0x10
cmp esi, edi
jne 0x4381b5
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 0x4381fe
mov eax, dword [esp + 0x44]
cmp eax, edi
jne 0x4381f1
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.00448800
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 0x438086
mov eax, dword [esp + 0x18]
mov byte [esp + 0x6c], 1
cmp eax, edi
je 0x43823b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x6c], 0
cmp eax, edi
je 0x43824e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, edi
je 0x438264
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