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

Disassembly:
push 0xffffffffffffffff
push 0x438e05
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x455028]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x1bc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1cc]
xor ebp, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], ebp
mov ebx, 1
lea esi, [esp + 0x1d0]
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c4], ebx
call fcn.00420040
mov ecx, edi
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 + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMFC]
mov byte [esp + 0x1c4], 2
mov eax, dword [esp + 0x1d0]
push 3
lea edx, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xa4], edx
call fcn.004107e0
mov byte [esp + 0x1c4], 3
mov ecx, dword [esp + 0x9c]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::operator_1]
mov byte [esp + 0x1c4], 2
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0xa0]
cmp eax, edx
je 0x40ebf8
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea ecx, [esp + 0x198]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x1c4], 4
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
xor esi, esi
cmp eax, ebp
jle 0x40ec69
mov edi, dword [sym.imp.MSVCR90.dll_strtol]
push 2
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Mid]
mov eax, dword [eax]
push 0x10
push ebp
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], al
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
mov edx, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x19c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
mov eax, dword [esp + 0x14]
add esi, 2
cmp esi, dword [eax - 0xc]
jl 0x40ec20
cmp dword [esp + 0x1dc], ebp
jne 0x40ec79
mov dword [esp + 0x1dc], ebx
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x160]
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 ebp
push 0x445540
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1cc], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Find]
cmp eax, 0xffffffff
je 0x40ecf7
cdq
sub eax, edx
sar eax, 1
push eax
push ebp
lea edx, [esp + 0x130]
push edx
lea ecx, [esp + 0x1a4]
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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x164]
mov byte [esp + 0x1c8], 6
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 + 0x128]
mov byte [esp + 0x1c4], 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_]
jmp 0x40ed0c
lea eax, [esp + 0x198]
push eax
lea ecx, [esp + 0x164]
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__]
push 4
call sub.mfc90u.dll_new
add esp, 4
cmp eax, ebp
je 0x40ed22
lea ecx, [esp + 0x2c]
mov dword [eax], ecx
jmp 0x40ed24
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov ebx, dword [esp + 0x1d4]
mov byte [esp + 0x1c4], 8
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], ebp
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x58], 1
lea esp, [esp]
mov esi, dword [esp + 0x4c]
push 0x1c
lea edx, [esp + 0x60]
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [esp + 0x6c], 0x1000
mov dword [esp + 0x48], eax
jne 0x40f1bd
cmp dword [esp + 0x70], 0x100
jae 0x40f1bd
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x1d8]
sub edi, ebx
add edi, dword [esp + 0x68]
mov dword [esp + 0x18], edi
cmp eax, ebp
je 0x40edbf
mov ecx, dword [esp + 0x20]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x40edbf
sub eax, ecx
mov dword [esp + 0x18], eax
mov edi, eax
push edi
call sub.mfc90u.dll_new__
add esp, 4
push ebp
push edi
push eax
push ebx
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [esp + 0x17c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x1c4], 9
mov eax, dword [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x184]
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__::append_char_const___unsigned_int_]
lea ecx, [esp + 0x128]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x144]
mov byte [esp + 0x1c4], 0xa
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMFC]
push 1
lea ecx, [esp + 0x164]
push ecx
lea ecx, [esp + 0x184]
mov byte [esp + 0x1cc], 0xc
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40efe9
lea edx, [esp + 0x198]
push edx
lea ecx, [esp + 0x148]
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 eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::operator]
mov ecx, dword [esp + 0x158]
push ecx
push ebp
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x188]
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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x12c]
mov byte [esp + 0x1c8], 0xd
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 + 0x78]
mov byte [esp + 0x1c4], 0xc
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0
push 0x445540
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Find]
mov esi, eax
cmp esi, 0xffffffff
je 0x40ef29
mov eax, esi
cdq
sub eax, edx
mov edi, eax
push 1
sar edi, 1
push edi
lea ecx, [esp + 0x130]
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__::erase_unsigned_int__unsigned_int_]
push 1
push edi
lea ecx, [esp + 0x14c]
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__::erase_unsigned_int__unsigned_int_]
push 2
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Delete]
push 0
push 0x445540
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Find]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40eed7
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x12c]
push ecx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
je 0x40efc7
mov edx, dword [esp + 0x38]
lea esi, [ebx + ebp]
mov dword [esp + 0x50], esi
test edx, edx
jne 0x40ef5d
xor ecx, ecx
jmp 0x40ef66
mov ecx, dword [esp + 0x40]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x3c]
mov edi, eax
sub edi, edx
sar edi, 2
cmp edi, ecx
jae 0x40ef80
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x3c], eax
jmp 0x40efac
mov esi, eax
cmp edx, eax
jbe 0x40ef8c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
push esi
push eax
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x3c]
call fcn.00415560
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x1dc], 0
jl 0x40efc3
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x28], ecx
test ecx, ecx
jle 0x40efef
mov edi, dword [esp + 0x18]
inc ebp
push ebp
lea ecx, [esp + 0x164]
push ecx
lea ecx, [esp + 0x184]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40ee55
mov eax, dword [esp + 0x3c]
jmp 0x40eff3
mov edi, dword [esp + 0x18]
sub eax, dword [esp + 0x38]
sar eax, 2
test eax, eax
jbe 0x40f161
push 1
push 2
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
cmp dword [esp + 0x1dc], 0
mov byte [esp + 0x1c4], 0xe
mov edi, dword [esp + 0x3c]
jl 0x40f084
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x38], edi
jbe 0x40f037
call ebx
mov eax, dword [esp + 0x2c]
mov esi, eax
mov ebp, esi
mov dword [esp + 0x54], edi
test eax, eax
jne 0x40f05b
call ebx
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
ja 0x40f066
test esi, esi
je 0x40f05f
mov esi, dword [esi]
jmp 0x40f061
mov eax, dword [eax]
jmp 0x40f04b
xor esi, esi
cmp ecx, dword [esi + 0xc]
jae 0x40f068
call ebx
lea esi, [edi - 4]
test ebp, ebp
jne 0x40f07f
call ebx
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40f07a
call ebx
mov edx, dword [esi]
push edx
jmp 0x40f0f9
mov eax, dword [ebp]
jmp 0x40f073
cmp dword [esp + 0x38], edi
jbe 0x40f090
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1dc]
mov ecx, dword [esp + 0x2c]
cdq
xor eax, edx
sub eax, edx
neg eax
mov esi, ecx
mov ebx, esi
mov dword [esp + 0x54], edi
mov ebp, eax
test ecx, ecx
jne 0x40f0c8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor ecx, ecx
lea edi, [edi + ebp*4]
cmp edi, dword [ecx + 0x10]
ja 0x40f0d3
test esi, esi
je 0x40f0cc
mov esi, dword [esi]
jmp 0x40f0ce
mov ecx, dword [ecx]
jmp 0x40f0b8
xor esi, esi
cmp edi, dword [esi + 0xc]
jae 0x40f0dd
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
call esi
jmp 0x40f0e3
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
jne 0x40f29a
call esi
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40f0f6
call esi
mov eax, dword [edi]
push eax
lea ecx, [esp + 0xa0]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xa0]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov byte [esp + 0x1c4], 0xf
mov ecx, dword [esp + 0x44]
push eax
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 + 0x78]
mov byte [esp + 0x1c4], 0xe
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 edx, dword [esp + 0x1d8]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x20], edx
mov byte [esp + 0x1c4], 0xc
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push eax
call sub.mfc90u.dll_delete__
add dword [esp + 0x24], edi
add esp, 4
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0x144]
mov byte [esp + 0x1c4], 0xa
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 + 0x128]
mov byte [esp + 0x1c4], 9
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 + 0x17c]
mov byte [esp + 0x1c4], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor ebp, ebp
cmp dword [esp + 0x48], 0x1c
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
lea ebx, [edx + ecx]
jne 0x40f1f3
cmp dword [esp + 0x1d8], ebp
je 0x40ed60
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x1d8]
sbb eax, eax
neg eax
cmp eax, ebp
jne 0x40ed60
mov byte [esp + 0x1c4], 0x10
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x40f20c
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov byte [esp + 0x1c4], 5
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [esp + 0x160]
mov byte [esp + 0x1c4], 4
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 + 0x198]
mov byte [esp + 0x1c4], 2
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 + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0x1d0]
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 + 0x44]
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.00436590
add esp, 0x1b4
ret
mov eax, dword [ebx]
jmp 0x40f0ef