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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41c5d0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10cc
call fcn.0041be10
mov eax, dword [0x427020]
xor eax, esp
mov dword [esp + 0x10c8], eax
push ebx
push esi
push edi
mov eax, dword [0x427020]
xor eax, esp
push eax
lea eax, [esp + 0x10e0]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xd8], 0
mov dword [esp + 0x1c], esi
jne 0x40b6f0
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x1000
lea eax, [esp + 0xd8]
push eax
mov dword [esp + 0x10f0], 0
call fcn.00409bb0
test eax, eax
jle 0x40b3b8
lea ebx, [ebx]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.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_]
push 0
push str._r_n_r_n
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp dword [ecx], eax
jne 0x40b33c
push 0x1000
lea edx, [esp + 0xd8]
push edx
call fcn.00409bb0
test eax, eax
jg 0x40b2f0
jmp 0x40b3b8
lea edi, [eax + 4]
mov eax, dword [ecx]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP80.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, [esi + 0xa8]
mov byte [esp + 0x10ec], 1
call dword [sym.imp.MSVCP80.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 + 0x20]
mov byte [esp + 0x10e8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push edi
push 0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP80.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, [esi + 0xc4]
mov byte [esp + 0x10ec], 2
call dword [sym.imp.MSVCP80.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 + 0x20]
mov byte [esp + 0x10e8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esi + 0xd8], 0
je 0x40b6d8
push 0
lea ebx, [esi + 0xc4]
push 0x42275c
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov edi, eax
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp dword [eax], edi
je 0x40b6d8
push edi
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP80.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, [esi + 0x108]
mov byte [esp + 0x10ec], 3
call dword [sym.imp.MSVCP80.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 + 0x20]
mov byte [esp + 0x10e8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add edi, 2
push edi
push 0x42275c
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp dword [edx], eax
mov dword [esp + 0x14], eax
je 0x40b6b9
jmp 0x40b449
mov eax, dword [esp + 0x14]
sub eax, edi
push eax
push edi
lea eax, [esp + 0xc0]
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP80.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 0
push 0x422760
lea ecx, [esp + 0xc0]
mov byte [esp + 0x10f0], 4
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, eax
cmp dword [ecx], edi
je 0x40b674
push edi
push 0
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP80.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 0
push 0x422750
lea ecx, [esp + 0x6c]
mov byte [esp + 0x10f0], 5
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_not_of_char_const___unsigned_int_const]
push eax
push 0
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP80.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_]
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [eax]
push eax
push eax
push 0x422750
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_not_of_char_const___unsigned_int_const]
add eax, 1
push eax
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP80.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_]
cmp dword [esp + 0x78], 0
je 0x40b662
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
add edi, 1
push edi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP80.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 0
push 0x422750
lea ecx, [esp + 0x88]
mov byte [esp + 0x10f0], 6
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_not_of_char_const___unsigned_int_const]
push eax
push 0
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP80.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_]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ecx]
push eax
push eax
push 0x422750
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_not_of_char_const___unsigned_int_const]
add eax, 1
push eax
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP80.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_]
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov edi, dword [eax]
mov esi, dword [eax + 4]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
lea edx, [esp + 0x44]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push esi
push edi
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [sym.imp.MSVCR80.dll_tolower]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x60]
push ebx
push ecx
call fcn.0040dfa0
mov eax, dword [esp + 0x84]
mov esi, 0x10
add esp, 0x1c
cmp dword [esp + 0x7c], esi
jae 0x40b5f0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x10e8], 7
cmp dword [esp + 0x98], esi
mov eax, dword [esp + 0x84]
jae 0x40b61a
lea eax, [esp + 0x84]
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
push edx
add ecx, 0x124
call fcn.0040cdc0
mov ecx, eax
call dword [0x41e154]
lea ecx, [esp + 0x20]
mov byte [esp + 0x10e8], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x80]
mov byte [esp + 0x10e8], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x64]
mov byte [esp + 0x10e8], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, dword [esp + 0x14]
add edi, 2
push edi
lea ebx, [esi + 0xc4]
push 0x42275c
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
lea ecx, [esp + 0xb8]
mov dword [esp + 0x14], eax
mov byte [esp + 0x10e8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x14]
cmp dword [eax], ecx
jne 0x40b445
lea ecx, [esp + 0x9c]
mov dword [esp + 0x10e8], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, 1
jmp 0x40b6f2
lea ecx, [esp + 0x9c]
mov dword [esp + 0x10e8], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x10e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c8]
xor ecx, esp
call fcn.00413588
mov esp, ebp
pop ebp
ret