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

Disassembly:
push ebp
push ebx
sub esp, 0x114
mov eax, dword [esp + 0x130]
mov word [esp + 0x62], ax
mov dword [esp + 0xd4], sym.___gxx_personality_sj0
mov dword [esp + 0xd8], 0x4707f0
lea edx, [esp + 0x110]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], 0x4412a7
mov dword [esp + 0xe4], esp
lea eax, [esp + 0xbc]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov ecx, dword [esp + 0x12c]
add ecx, 0x6c
mov dword [esp + 0x40], ecx
mov dword [esp], ecx
mov dword [esp + 0xc0], 0xffffffff
call method.std::ctype_wchar_t__const_std::use_facet_std.ctype_wchar_t____std::locale_const_
mov dword [esp + 0x34], eax
mov dword [esp], 0x47120c
call method.std::locale::id._M_id___const
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x12c]
mov eax, dword [ebx + 0x6c]
mov edx, dword [esp + 0x44]
shl edx, 2
mov ecx, dword [eax + 0xc]
add edx, ecx
mov dword [esp + 0x30], edx
mov ebx, dword [edx]
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x44106c
mov eax, dword [esp + 0x134]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x24]
mov bx, word [ebx + 0x3c]
cmp word [eax], bx
je 0x440c88
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x108], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x68], eax
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
mov ebx, dword [esp + 0x34]
mov edx, dword [ebx]
mov ecx, dword [esp + 0x28]
lea eax, [ecx + eax*2]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 8
mov dword [esp], ebx
mov eax, dword [edx + 0x14]
mov dword [esp + 0xc0], 0xffffffff
call eax
sub eax, dword [esp + 0x28]
sar eax, 1
mov dword [esp + 0x58], eax
jne 0x4408fc
mov ebx, dword [esp + 0x12c]
mov dword [ebx + 8], 0
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x128]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
lea eax, [esp + 0xbc]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
add esp, 0x114
pop ebx
pop ebp
ret
lea eax, [esp + 0x10c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._S_construct_unsigned_int__wchar_t__std::allocator_wchar_t__const_
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x58]
shl eax, 1
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc0], 1
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.reserve_unsigned_int_
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x58]
sub edx, eax
mov dword [esp + 0x64], edx
test edx, edx
jle 0x440ab7
test eax, eax
js 0x44118c
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x440fdc
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x64]
shl eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax - 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc0], 1
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_replace_aux_unsigned_int__unsigned_int__unsigned_int__wchar_t_
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xa4], eax
mov edx, dword [ebx + 8]
mov dword [esp + 0xa8], edx
mov ecx, dword [ebx + 0x14]
mov word [esp + 0xb0], cx
mov eax, dword [esp + 0x100]
mov edx, dword [eax - 4]
test edx, edx
js 0x4409fb
lea eax, [esp + 0x100]
mov dword [esp], eax
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_leak_hard__
mov eax, dword [esp + 0x100]
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ebx*2]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
movzx edx, word [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.wchar_t_std.__add_grouping_wchar_t__wchar_t__wchar_t__char_const__unsigned_int__wchar_t_const__wchar_t_const_
mov dword [esp + 0xac], eax
mov edx, dword [esp + 0x100]
mov ebx, dword [edx - 4]
test ebx, ebx
js 0x440a6e
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc0], 1
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_leak_hard__
mov edx, dword [esp + 0x100]
mov eax, dword [esp + 0xac]
sub eax, edx
sar eax, 1
mov edx, dword [edx - 0xc]
cmp eax, edx
ja 0x4412c3
mov dword [esp + 0xc], 0
sub edx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc0], 1
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_mutate_unsigned_int__unsigned_int__unsigned_int_
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x30]
test eax, eax
jle 0x440b7e
mov ecx, dword [esp + 0x24]
mov cx, word [ecx + 0x12]
mov word [esp + 0x9e], cx
mov eax, dword [esp + 0x100]
mov edx, dword [eax - 0xc]
lea ebx, [edx + 1]
mov dword [esp + 0x84], ebx
cmp ebx, dword [eax - 8]
jbe 0x441014
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc0], 1
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.reserve_unsigned_int_
mov eax, dword [esp + 0x100]
mov edx, dword [eax - 0xc]
mov cx, word [esp + 0x9e]
mov word [eax + edx*2], cx
mov dword [eax - 4], 0
mov ebx, dword [esp + 0x84]
mov dword [eax - 0xc], ebx
mov word [eax + ebx*2], 0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
test eax, eax
js 0x441240
mov eax, dword [edx + 0x30]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x28]
lea eax, [ebx + ecx*2]
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc0], 1
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_wchar_t_const__unsigned_int_
mov eax, dword [esp + 0x12c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax - 0xc]
mov dword [esp + 0x88], eax
test dword [esp + 0x74], 0x200
jne 0x440cc0
mov dword [esp + 0x8c], 0
lea eax, [esp + 0x10d]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc0], 1
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._S_construct_unsigned_int__wchar_t__std::allocator_wchar_t__const_
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x88]
add eax, dword [esp + 0x8c]
mov dword [esp + 0x6c], eax
shl eax, 1
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.reserve_unsigned_int_
mov ecx, dword [esp + 0x74]
and ecx, 0xb0
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0x12c]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x5c], ebx
cmp ecx, 0x10
je 0x441058
mov byte [esp + 0x9d], 0
mov dword [esp + 0x2c], 0
movzx eax, word [esp + 0x62]
mov dword [esp + 0x90], eax
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x6c]
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x2c]
movsx eax, byte [esp + ecx + 0x108]
cmp eax, 4
ja case.default.0x440c81
jmp dword [eax*4 + 0x472f14]
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x108], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x68], eax
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x44087b
add ecx, 2
mov dword [esp + 0x28], ecx
jmp 0x44087b
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x8c], edx
jmp 0x440bb6
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x44119c
inc dword [esp + 0x2c]
cmp dword [esp + 0x2c], 4
jne 0x440c70
cmp dword [esp + 0x38], 1
jbe 0x440d20
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
add eax, 2
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_wchar_t_const__unsigned_int_
mov eax, dword [esp + 0x104]
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x5c], ecx
jbe 0x440d90
movzx eax, word [esp + 0x62]
cmp dword [esp + 0x80], 0x20
je 0x441150
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_replace_aux_unsigned_int__unsigned_int__unsigned_int__wchar_t_
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x128]
mov dword [esp + 0x70], ecx
mov ebx, dword [esp + 0x124]
mov dword [esp + 0x54], ebx
mov dl, byte [esp + 0x128]
mov byte [esp + 0x9c], dl
test dl, dl
jne 0x440de3
mov edx, dword [ebx]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
mov eax, dword [edx + 0x30]
mov dword [esp + 0xc0], 2
call eax
cmp dword [esp + 0x3c], eax
jne 0x4412a0
mov al, byte [esp + 0x9c]
mov bl, byte [esp + 0x9c]
mov byte [esp + 0x70], bl
mov edx, dword [esp + 0x70]
mov dl, al
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xf8], edx
mov byte [esp + 0xfc], al
mov dword [esp + 0x124], edx
mov byte [esp + 0x128], al
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x78], ecx
mov ebp, dword [0x47f044]
test ebp, ebp
jne 0x441024
mov ebx, dword [esp + 0x78]
mov eax, dword [ebx - 4]
lea edx, [eax - 1]
mov dword [ebx - 4], edx
test eax, eax
jle 0x441220
mov eax, dword [esp + 0x100]
mov dword [esp + 0x7c], eax
mov ebx, dword [0x47f044]
test ebx, ebx
jne 0x441040
mov edx, dword [esp + 0x7c]
mov eax, dword [edx - 4]
lea edx, [eax - 1]
mov ecx, dword [esp + 0x7c]
mov dword [ecx - 4], edx
test eax, eax
jg 0x4408b7
lea eax, [esp + 0x10f]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
sub eax, 0xc
mov dword [esp], eax
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::_Rep._M_destroy_std::allocator_wchar_t__const_
jmp 0x4408b7
cmp byte [esp + 0x9d], 0
je case.default.0x440c81
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_unsigned_int__wchar_t_
jmp case.default.0x440c81
mov ebx, dword [esp + 0x12c]
test byte [ebx + 0xd], 2
je case.default.0x440c81
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_wchar_t_const__unsigned_int_
jmp case.default.0x440c81
cmp byte [esp + 0x9d], 0
jne 0x440eb2
mov eax, dword [esp + 0x104]
mov edx, dword [eax - 0xc]
lea ecx, [edx + 1]
mov dword [esp + 0x98], ecx
cmp ecx, dword [eax - 8]
ja 0x440f5a
mov ecx, dword [eax - 4]
test ecx, ecx
jle 0x440f89
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.reserve_unsigned_int_
mov eax, dword [esp + 0x104]
mov edx, dword [eax - 0xc]
mov cx, word [esp + 0x62]
mov word [eax + edx*2], cx
mov dword [eax - 4], 0
mov ebx, dword [esp + 0x98]
mov dword [eax - 0xc], ebx
mov word [eax + ebx*2], 0
jmp case.default.0x440c81
lea eax, [esp + 0x100]
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const_
jmp case.default.0x440c81
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc0], 1
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.assign_wchar_t_const__unsigned_int_
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x30]
jmp 0x440ab7
mov ecx, dword [eax - 4]
test ecx, ecx
jg 0x440aec
jmp 0x440b1b
mov dword [esp + 4], 0xffffffff
mov eax, ecx
sub eax, 4
mov dword [esp], eax
call method.__gnu_cxx.__exchange_and_add_int_volatile__int_
jmp 0x440e48
mov dword [esp + 4], 0xffffffff
sub eax, 4
mov dword [esp], eax
call method.__gnu_cxx.__exchange_and_add_int_volatile__int_
jmp 0x440e7a
cmp dword [esp + 0x6c], ebx
setb byte [esp + 0x9d]
jmp 0x440c4d
mov dword [esp], 0x54
mov dword [esp + 0xc0], 5
call sym.operator_new_unsigned_int_
mov dword [esp + 0x50], eax
mov dword [eax + 4], 0
mov dword [eax], method.std::__moneypunct_cache_wchar_t__false_.__moneypunct_cache__
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov word [eax + 0x12], 0
mov word [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov byte [eax + 0x52], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 0xc0], 4
call method.std::__moneypunct_cache_wchar_t__false_._M_cache_std::locale_const_
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x12c]
mov eax, dword [edx + 0x6c]
mov dword [esp], eax
mov dword [esp + 0xc0], 0xffffffff
call method.std::locale::_Impl._M_install_cache_std::locale::facet_const__unsigned_int_
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
mov dword [esp + 0x24], ecx
jmp 0x44083a
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
sub eax, ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_unsigned_int__wchar_t_
mov eax, dword [esp + 0x104]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x3c], ebx
jmp 0x440d90
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x64], ecx
jmp 0x440967
mov ecx, dword [esp + 0x68]
mov cx, word [ecx]
mov word [esp + 0xb2], cx
mov eax, dword [esp + 0x104]
mov edx, dword [eax - 0xc]
lea ebx, [edx + 1]
mov dword [esp + 0xa0], ebx
cmp ebx, dword [eax - 8]
jbe 0x441290
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
lea eax, [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 0xc0], 2
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.reserve_unsigned_int_
mov eax, dword [esp + 0x104]
mov edx, dword [eax - 0xc]
mov cx, word [esp + 0xb2]
mov word [eax + edx*2], cx
mov dword [eax - 4], 0
mov ebx, dword [esp + 0xa0]
mov dword [eax - 0xc], ebx
mov word [eax + ebx*2], 0
jmp case.default.0x440c81
lea eax, [esp + 0x10e]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
sub eax, 0xc
mov dword [esp], eax
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::_Rep._M_destroy_std::allocator_wchar_t__const_
jmp 0x440e50
movzx eax, word [edx + 0x3e]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
neg eax
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc0], 1
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_unsigned_int__wchar_t_
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
lea eax, [esp + 0x100]
mov dword [esp], eax
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_wchar_t_const__unsigned_int_
jmp 0x440b7e
mov ebx, dword [eax - 4]
test ebx, ebx
jg 0x4411c8
jmp 0x4411f7
mov al, 1
jmp 0x440dea
mov dword [esp], str.basic_string::erase
mov dword [esp + 0xc0], 1
call method.std.__throw_out_of_range_char_const_
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xb8], ebx
lea eax, [esp + 0x100]
mov dword [esp], eax
call fcn.00444270
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 0xc0], 0xffffffff
call dbg._Unwind_SjLj_Resume
lea eax, [esp + 0x104]
mov dword [esp], eax
call fcn.00444270
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xb8], edx
jmp 0x4412e8