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

Disassembly:
push 0xffffffffffffffff
push 0x43a86d
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x455028]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x4e8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4fc]
mov dword [esp + 0x2c], eax
xor esi, esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x4f0], esi
mov dword [esp + 0x24], esi
call dword [0x44382c]
lea ecx, [esp + 0x4f8]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x4f4], 1
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], esi
call dword [0x443834]
lea ecx, [esp + 0x1c]
call dword [0x44382c]
push str._67
push ecx
mov byte [esp + 0x4f8], 3
lea edx, [esp + 0x500]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [0x443834]
lea eax, [esp + 0x40]
push eax
call fcn.0041f0d0
add esp, 0xc
push 0x444b98
xor ebx, ebx
lea eax, [esp + 0x3c]
mov byte [esp + 0x4f4], 4
call fcn.0041c410
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [0x443834]
lea ecx, [esp + 0x8c]
push ecx
call fcn.0041f0d0
add esp, 0xc
mov byte [esp + 0x4f0], 5
mov edx, dword [esp + 0x94]
sub edx, dword [esp + 0x90]
mov edi, dword [sym.imp.MSVCR90.dll_wcstoul]
sar edx, 2
xor ebp, ebp
test edx, edx
jbe 0x40fe3e
mov edi, edi
cmp ebp, esi
jne 0x40fc42
xor ebx, ebx
lea eax, [esp + 0x84]
call fcn.0041c410
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
jmp 0x40fe22
cmp ebp, 1
jne 0x40fce6
mov ebx, ebp
lea eax, [esp + 0x84]
call fcn.0041c410
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push 0x445548
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::FindOneOf]
cmp eax, 0xffffffff
je 0x40fcb5
push 0x2d
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Remove]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
call dword [0x443834]
mov ecx, dword [esp + 0x54]
push 0x10
push esi
push ecx
call edi
add esp, 0xc
lea ecx, [esp + 0x54]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
sub dword [esp + 0x34], esi
jmp 0x40fe22
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x68]
call dword [0x443834]
mov eax, dword [esp + 0x64]
push 0x10
push esi
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x64]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x34], esi
jmp 0x40fe22
cmp ebp, 2
jne 0x40fd8a
mov ebx, ebp
lea eax, [esp + 0x84]
call fcn.0041c410
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push 0x445548
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::FindOneOf]
cmp eax, 0xffffffff
je 0x40fd59
push 0x2d
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Remove]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x54]
call dword [0x443834]
mov edx, dword [esp + 0x50]
push 0x10
push esi
push edx
call edi
add esp, 0xc
lea ecx, [esp + 0x50]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
sub dword [esp + 0x30], esi
jmp 0x40fe22
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x5c]
call dword [0x443834]
mov ecx, dword [esp + 0x58]
push 0x10
push esi
push ecx
call edi
add esp, 0xc
lea ecx, [esp + 0x58]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x30], esi
jmp 0x40fe22
cmp ebp, 3
jne 0x40fe22
mov ebx, ebp
lea eax, [esp + 0x84]
call fcn.0041c410
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push 0x445548
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::FindOneOf]
lea ecx, [esp + 0x1c]
cmp eax, 0xffffffff
je 0x40fdfa
push 0x2d
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Remove]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x60]
call dword [0x443834]
mov eax, dword [esp + 0x5c]
push 0x10
push esi
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x5c]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
sub dword [esp + 0x20], esi
jmp 0x40fe22
push ecx
lea ecx, [esp + 0x1c]
call dword [0x443834]
mov edx, dword [esp + 0x18]
push 0x10
push esi
push edx
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x90]
inc ebp
sar eax, 2
xor esi, esi
cmp ebp, eax
jb 0x40fc20
lea ecx, [esp + 0xa0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push ecx
mov byte [esp + 0x4f4], 6
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x444d84
call dword [0x443828]
lea ecx, [esp + 0x3c]
push ecx
call fcn.00409a70
add esp, 8
mov ebp, eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
cmp ebp, 0xffffffff
je 0x40ff62
push 0x444d80
call dword [0x443828]
lea edx, [esp + 0x3c]
push edx
call fcn.00409a70
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
je 0x40fed7
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x44]
sar eax, 2
cmp ebx, eax
jb 0x40feb8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x44]
push ecx
lea eax, [ecx + ebx*4]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call dword [0x443834]
call fcn.00409950
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x44]
sar edx, 2
cmp ebp, edx
jb 0x40feec
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x44]
push ecx
lea eax, [eax + ebp*4]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call dword [0x443834]
call fcn.00409950
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
push esi
push eax
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call dword [0x443834]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx]
lea eax, [esp + 0x78]
push eax
call fcn.0040eb10
add esp, 0x14
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x4f4], 7
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x68]
mov byte [esp + 0x4f0], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x410100
push 0x444d78
call dword [0x443828]
lea edx, [esp + 0x3c]
push edx
call fcn.00409a70
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x410076
push 0x424
lea eax, [esp + 0xc4]
push 0
push eax
mov dword [esp + 0xc8], 0
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x50]
add esp, 0xc
sar ecx, 2
push 0x428
lea ebx, [esp + 0xc0]
cmp esi, ecx
jb 0x40ffc8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x48]
push ecx
lea eax, [edx + esi*4]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
call dword [0x443834]
lea esi, [esp + 0x20]
call fcn.004099f0
mov eax, dword [eax]
mov ebp, dword [esp + 0x34]
add esp, 4
push eax
mov eax, dword [ebp + 0x30]
push eax
call fcn.00414830
add esp, 0xc
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor ebx, ebx
cmp esi, ebx
je 0x410102
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xd0]
push ecx
push edx
push eax
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call dword [0x443834]
mov ecx, dword [ebp]
lea eax, [esp + 0x78]
push eax
call fcn.0040eb10
add esp, 0x14
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x4f4], 8
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x68]
mov byte [esp + 0x4f0], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x410102
mov esi, dword [esp + 0x2c]
lea ecx, [esi + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call dword [0x443834]
mov bl, 9
mov byte [esp + 0x4f0], bl
mov eax, dword [esi + 0x34]
call fcn.00414ae0
mov ecx, dword [eax + 0x38]
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [eax + 0x1c]
push ecx
push edx
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
call dword [0x443834]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esi]
call fcn.0040eb10
add esp, 0x14
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x4f4], 0xa
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x68]
mov byte [esp + 0x4f0], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x4f0], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor ebx, ebx
cmp dword [esp + 0xb4], ebx
je 0x41018f
cmp dword [esp + 0xb8], 0x10
mov eax, dword [esp + 0xa4]
jae 0x410127
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.MSVCR90.dll_atol]
mov esi, eax
add esi, dword [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x44554c
call dword [0x443828]
lea edx, [esp + 0x3c]
push edx
call fcn.00409a70
add esp, 8
cmp eax, 0xffffffff
jne 0x41018b
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0040f2b0
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0x10
push ebx
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x30]
add esi, ecx
mov dword [esp + 0x24], esi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x445550
call dword [0x443828]
lea edx, [esp + 0x3c]
push edx
call fcn.00409a70
add esp, 8
cmp eax, 0xffffffff
je 0x4102c2
mov ebx, eax
push 0x444b98
lea eax, [esp + 0x3c]
call fcn.0041c410
push ecx
mov dword [esp + 0x20], esp
mov esi, esp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call dword [0x443834]
call fcn.004099f0
lea eax, [esp + 0x74]
add esp, 4
push eax
call fcn.0041f0d0
add esp, 0xc
mov bl, 0xb
mov byte [esp + 0x4f0], bl
mov edi, dword [esp + 0x74]
cmp edi, dword [esp + 0x78]
jbe 0x41020a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x68]
lea ecx, [esp + 0x18]
push ecx
xor ecx, ecx
call fcn.0041fd10
add esp, 4
push edi
push esi
push eax
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x78]
mov byte [esp + 0x500], 0xc
call fcn.004039c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x4f0], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push ecx
lea esi, [esp + 0x6c]
call fcn.00410580
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x4f0], 0xd
mov esi, dword [esp + 0x74]
xor ebx, ebx
cmp esi, ebx
je 0x41029c
mov edi, dword [esp + 0x78]
cmp esi, edi
je 0x410293
lea esp, [esp]
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
add esi, 4
cmp esi, edi
jne 0x410280
mov esi, dword [esp + 0x74]
push esi
call sub.mfc90u.dll_delete
add esp, 4
mov byte [esp + 0x4f0], 6
mov edx, dword [esp + 0x68]
push edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call sub.mfc90u.dll_delete
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x4f0], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x4f0], 0xe
mov esi, dword [esp + 0x90]
cmp esi, ebx
je 0x410314
mov edi, dword [esp + 0x94]
cmp esi, edi
je 0x41030b
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
add esi, 4
cmp esi, edi
jne 0x4102f5
mov esi, dword [esp + 0x90]
push esi
call sub.mfc90u.dll_delete
add esp, 4
mov byte [esp + 0x4f0], 4
mov eax, dword [esp + 0x84]
push eax
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call sub.mfc90u.dll_delete
add esp, 4
mov byte [esp + 0x4f0], 0xf
mov esi, dword [esp + 0x44]
cmp esi, ebx
je 0x41037c
mov edi, dword [esp + 0x48]
cmp esi, edi
je 0x410373
lea esp, [esp]
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
add esi, 4
cmp esi, edi
jne 0x410360
mov esi, dword [esp + 0x44]
push esi
call sub.mfc90u.dll_delete
add esp, 4
mov byte [esp + 0x4f0], 3
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x9c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x4f8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4d0]
xor ecx, esp
call fcn.00436590
add esp, 0x4e0
ret