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

Disassembly:
push 0xffffffffffffffff
push 0x421ded
mov eax, dword fs:[0]
push eax
sub esp, 0xc28
mov eax, dword [0x43501c]
xor eax, esp
mov dword [esp + 0xc20], eax
push ebp
push edi
mov eax, dword [0x43501c]
xor eax, esp
push eax
lea eax, [esp + 0xc34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc48]
xor eax, eax
cmp dword [esp + 0xc44], eax
mov dword [esp + 0xc3c], eax
mov byte [esp + 0xf], al
mov dword [esp + 0x14], eax
jbe 0x40ed4a
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x40eb58
xor eax, eax
push 0x84
push eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x78]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x88
lea edx, [esp + 0x74]
push edx
push ebp
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [esp + 0x14]
push ebp
push eax
push 0x417
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x10]
push ecx
push 0x88
lea edx, [esp + 0x74]
push edx
push ebp
push esi
call edi
mov ecx, dword [esp + 0x7c]
push 0
push 0x338
lea eax, [esp + 0xfc]
push eax
push ecx
push esi
call edi
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x10]
push edx
push 0x400
lea eax, [esp + 0x434]
push eax
push ecx
push esi
call edi
lea edx, [esp + 0x124]
push edx
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0xc3c], 1
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov ecx, dword [eax]
push ecx
push 0x428e1c
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp eax, dword [ecx]
je 0x40ecc7
mov edx, dword [ecx]
push edx
add eax, 1
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP80.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_]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xc40], 2
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0xc3c], 1
call dword [sym.imp.MSVCP80.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 [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov edx, dword [ecx]
push edx
push 0x428e1c
lea ecx, [esp + 0xc54]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp eax, dword [ecx]
je 0x40ecc7
mov ecx, dword [ecx]
push ecx
add eax, 1
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0xc58]
call dword [sym.imp.MSVCP80.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_]
push eax
lea ecx, [esp + 0xc50]
mov byte [esp + 0xc40], 3
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x34]
mov byte [esp + 0xc3c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xc50]
push ecx
call sub.K8Common.dll_public:_static_int___cdecl_GameMgr::GMStringUtils::CompareNoCase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
test eax, eax
jne 0x40ece5
mov byte [esp + 0xf], 1
mov edx, dword [esp + 0x70]
lea eax, [ebp + 0x88]
push eax
push edx
push 0x44b
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x10]
push eax
push 0x400
lea ecx, [esp + 0x434]
push ecx
lea eax, [ebp + 0x88]
push eax
push esi
call edi
lea ecx, [esp + 0x50]
mov byte [esp + 0xc3c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp byte [esp + 0xf], 0
jne 0x40ed4a
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0xc44]
mov dword [esp + 0x14], eax
jb 0x40eb56
lea ecx, [esp + 0xc4c]
mov dword [esp + 0xc3c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0xc34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0xc20]
xor ecx, esp
call fcn.00420f36
add esp, 0xc34
ret