Function at 0x4406a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x523691
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x80], edi
mov esi, dword [esp + 0x8c]
mov ecx, esi
mov dword [esp + 0x14], edi
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::length_void_const]
test eax, eax
jne 0x440719
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.00518060
add esp, 8
mov dword [esp + 0x80], 1
push eax
lea ecx, [esp + 0x38]
call fcn.00437490
push 0x58cdb4
lea ecx, [esp + 0x38]
push ecx
call sub.MSVCR90.dll__CxxThrowException
push 9
push edi
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
mov dword [esp + 0x80], 2
push 0x546940
push eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
test al, al
jne 0x44076b
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::length_void_const]
dec eax
push eax
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_const]
cmp word [eax], 0x5d
jne 0x44076b
xor bl, bl
jmp 0x44076d
mov bl, 1
mov dword [esp + 0x80], edi
mov eax, 1
mov dword [esp + 0x14], eax
and eax, 0xfffffffe
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
je 0x4407c4
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.00518060
add esp, 8
mov dword [esp + 0x80], 3
push eax
lea ecx, [esp + 0x38]
call fcn.00437490
push 0x58cdb4
lea ecx, [esp + 0x38]
push ecx
call sub.MSVCR90.dll__CxxThrowException
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::length_void_const]
sub eax, 0xa
push eax
push 9
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
mov dword [esp + 0x80], 4
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00518db0
add esp, 8
mov bl, 6
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x1c]
call fcn.0043e370
mov ebp, dword [esp + 0x88]
mov ecx, ebp
call fcn.00469590
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
or dword [esp + 0x14], 2
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x440905
lea ebx, [ebx]
mov ecx, dword [esp + 0x90]
push ecx
cmp esi, eax
jb 0x440862
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x2c]
sub esp, 0x1c
lea eax, [edi + edx]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0xa0], 7
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xa4], bl
call fcn.00518a30
add esp, 0x20
mov byte [esp + 0x84], 8
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00438fb0
add esp, 0xc
mov byte [esp + 0x80], 9
push eax
mov ecx, ebp
call fcn.004404c0
mov byte [esp + 0x80], 8
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add edi, 0x1c
cmp esi, eax
jb 0x440850
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x1c]
call fcn.0043e4a0
mov eax, ebp
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret