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

Disassembly:
push 0xffffffffffffffff
push 0x1013bc49
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa4]
test esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0
jne 0x10125573
push 0x1014c8c8
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 eax, ebx
jmp 0x10125836
lea ebp, [edx + esi]
cmp esi, ebp
mov ecx, esi
jae 0x1012559d
lea esp, [esp]
mov al, byte [ecx]
cmp al, 0x5c
je 0x1012560a
cmp al, 0x22
je 0x1012560a
cmp al, 0x20
jl 0x1012560a
cmp al, 0x80
jb 0x1012560a
add ecx, 1
cmp ecx, ebp
jb 0x10125580
push 0x101536f8
lea ecx, [esp + 0x40]
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__]
push esi
push eax
mov edi, 1
lea eax, [esp + 0x28]
mov dword [esp + 0xa4], edi
mov esi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____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___char_const__]
push eax
call esi
push 0x101536f8
push eax
push ebx
mov byte [esp + 0xb4], 2
call esi
add esp, 0x18
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edi
mov byte [esp + 0x9c], 1
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 + 0x3c]
mov byte [esp + 0x9c], 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, ebx
jmp 0x10125836
lea ecx, [esp + 0x74]
lea edi, [edx + edx + 3]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ebx, 3
push edi
lea ecx, [esp + 0x78]
mov dword [esp + 0xa0], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::reserve_unsigned_int_]
push 0x101536f8
lea ecx, [esp + 0x78]
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_char_const__]
cmp esi, ebp
mov eax, esi
mov dword [esp + 0x14], eax
je 0x101257fa
lea esp, [esp]
movsx eax, byte [eax]
add eax, 0xfffffff8
cmp eax, 0x54
ja case.0x10125666.11
movzx ecx, byte [eax + 0x1012587c]
jmp dword [ecx*4 + 0x1012585c]
push 0x1015c704
lea ecx, [esp + 0x78]
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_char_const__]
jmp 0x101257e7
push 0x1015c708
lea ecx, [esp + 0x78]
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_char_const__]
jmp 0x101257e7
push 0x1015c70c
lea ecx, [esp + 0x78]
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_char_const__]
jmp 0x101257e7
push 0x1015c710
lea ecx, [esp + 0x78]
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_char_const__]
jmp 0x101257e7
push 0x1015c714
lea ecx, [esp + 0x78]
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_char_const__]
jmp 0x101257e7
push 0x1015c718
lea ecx, [esp + 0x78]
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_char_const__]
jmp 0x101257e7
push 0x1015c71c
lea ecx, [esp + 0x78]
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_char_const__]
jmp 0x101257e7
mov edx, ebp
lea esi, [esp + 0x14]
call fcn.10125390
mov edi, eax
lea edx, [edi - 0x20]
cmp edx, 0x5f
lea ecx, [esp + 0x74]
ja 0x1012571e
push edi
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_char_]
jmp 0x101257e7
cmp edi, 0x10000
push 0x1015c720
jae 0x10125758
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_char_const__]
push edi
lea esi, [esp + 0x40]
call fcn.10125460
add esp, 4
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 4
call dword [0x1014645c]
mov ecx, esi
jmp 0x101257da
sub edi, 0x10000
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_char_const__]
mov eax, edi
shr eax, 0xa
add eax, 0xd800
push eax
lea esi, [esp + 0x24]
call fcn.10125460
add esp, 4
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 5
call dword [0x1014645c]
mov ecx, esi
mov byte [esp + 0x9c], bl
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 0x1015c720
lea ecx, [esp + 0x78]
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_char_const__]
and edi, 0x3ff
add edi, 0xdc00
push edi
lea esi, [esp + 0x5c]
call fcn.10125460
add esp, 4
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 6
call dword [0x1014645c]
mov ecx, esi
mov byte [esp + 0x9c], bl
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 [esp + 0x14]
add eax, 1
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x10125650
push 0x101536f8
lea ecx, [esp + 0x78]
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_char_const__]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 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, esi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.1012d370
add esp, 0x8c
ret