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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x420396
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
xor ebp, ebp
push edi
cmp esi, ebp
je 0x409788
mov al, byte [esp + 0x88]
push ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x428878
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x428878
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov cl, byte [esp + 0x88]
push ebp
mov byte [esp + 0x20], cl
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x88], ebp
call fcn.0040be50
mov ecx, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ecx
mov bl, byte [esi]
mov byte [esp + 0x80], 1
test bl, bl
je 0x409568
mov eax, ebp
sub eax, 0
je 0x4094e9
dec eax
je 0x40946a
dec eax
jne 0x40954b
cmp bl, 0x22
jne 0x409413
lea edx, [esp + 0x28]
lea eax, [esp + 0x14]
push edx
push ecx
push eax
lea ecx, [esp + 0x28]
xor ebp, ebp
call fcn.0040bd60
mov edi, 0x428878
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x428878
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
jmp 0x40954b
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x30]
sub edx, ecx
cmp edx, 1
ja 0x40942c
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov eax, dword [esp + 0x30]
push 0
lea ecx, [esp + 0x2c]
lea esi, [eax + 1]
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40954b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [edx + ecx]
movsx ecx, bl
mov ch, cl
mov byte [eax], cl
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
jmp 0x40954b
cmp bl, 0x20
jne 0x4094a9
lea eax, [esp + 0x28]
xor ebp, ebp
push eax
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040bd60
mov edi, 0x428878
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x428878
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
jmp 0x40954b
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
mov edx, dword [esp + 0x30]
sub eax, edx
cmp eax, 1
ja 0x4094c2
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [esp + 0x30]
push 0
lea esi, [ecx + 1]
lea ecx, [esp + 0x2c]
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40954b
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add eax, edx
jmp 0x409453
cmp bl, 0x22
jne 0x4094f5
mov ebp, 2
jmp 0x40954b
cmp bl, 0x20
je 0x40954b
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, 1
ja 0x409512
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edx, dword [esp + 0x30]
push 0
lea ecx, [esp + 0x2c]
lea esi, [edx + 1]
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x409546
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
movsx edx, bl
add eax, ecx
mov dh, dl
push esi
lea ecx, [esp + 0x2c]
mov byte [eax], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov ebp, 1
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x88], eax
mov bl, byte [eax]
test bl, bl
jne 0x4093bb
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x409589
lea edx, [esp + 0x28]
lea eax, [esp + 0x88]
push edx
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.0040bd60
cmp dword [esp + 0x24], esi
ja 0x4095db
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x88]
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 0
call fcn.0040bd50
mov eax, dword [eax]
lea ecx, [esp + 0x90]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0040bdc0
mov edx, dword [esp + 0x20]
push edx
call fcn.0041f590
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
jmp 0x409825
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
cmp esi, eax
je 0x409732
mov ebp, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
lea eax, [esp + 0x88]
lea ecx, [esp + 0x58]
push eax
push 0x428878
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
lea ecx, [esp + 0x13]
mov byte [esp + 0x80], 2
push ecx
push 0x428878
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
lea edi, [esi + 8]
push 1
lea edx, [esp + 0x4c]
push 0
push edx
mov ecx, edi
mov byte [esp + 0x8c], 3
call dword [sym.imp.MSVCP60.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 0x4265cc
push eax
mov byte [esp + 0x88], 4
call ebp
add esp, 8
lea ecx, [esp + 0x48]
mov bl, al
mov byte [esp + 0x80], 3
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
test bl, bl
je 0x4096fc
mov eax, dword [esi + 0x10]
mov ecx, edi
push eax
lea eax, [esp + 0x3c]
push 1
push eax
call dword [sym.imp.MSVCP60.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_]
mov esi, dword [esi]
mov eax, dword [esp + 0x20]
cmp esi, eax
mov byte [esp + 0x80], 5
je 0x4097a0
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x38]
mov edx, dword [ecx]
lea ecx, [esp + 0x58]
push edx
push 0
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x4096bf
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x90]
call fcn.00401240
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, dword [esi]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x84], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x20]
cmp esi, eax
jne 0x4095ef
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 0
call fcn.0040bd50
mov edx, dword [eax]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.0040bdc0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041f590
add esp, 4
xor eax, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
push 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x84], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x88]
push edx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 0
call fcn.0040bd50
mov ecx, dword [eax]
lea edx, [esp + 0x90]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0040bdc0
mov eax, dword [esp + 0x20]
push eax
call fcn.0041f590
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret