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

Disassembly:
push 0xffffffffffffffff
push 0x634f06
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x786f54]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
mov esi, dword [esp + 0x74]
push 2
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 8]
test al, 6
jne 0x56ed02
movzx eax, word [esp + 0x14]
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00610aae
mov cx, word [esp + 0x18]
add esp, 4
mov ebp, eax
xor ebx, ebx
test cx, cx
mov dword [esp + 0x24], ebp
jbe 0x56eb4c
mov edi, ebp
push 2
push edi
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test byte [ecx + esi + 8], 6
jne 0x56ecf9
push 4
lea edx, [edi + 4]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test byte [ecx + esi + 8], 6
jne 0x56ecf9
mov cx, word [esp + 0x14]
movzx edx, cx
add ebx, 1
add edi, 8
cmp ebx, edx
jl 0x56eb01
mov ebx, dword [ebp + 4]
movzx eax, cx
sub eax, 1
test eax, eax
mov dword [esp + 0x30], 0
jle 0x56ede7
mov eax, ebp
mov dword [esp + 0x20], ebp
cmp ebx, dword [eax + 0xc]
movzx edx, word [eax]
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + edx*4]
mov byte [esp + 0x74], 1
mov dword [esp + 0x3c], edx
jae 0x56edc7
push 4
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
test byte [edx + esi + 8], 6
jne 0x56ecf9
mov eax, dword [esp + 0x18]
push eax
call fcn.00610aae
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
mov edi, eax
push edi
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov edx, dword [esi]
mov eax, dword [edx + 4]
test byte [eax + esi + 8], 6
jne 0x56ecf9
mov eax, dword [esp + 0x18]
push 1
push eax
push edi
lea ecx, [esp + 0x5c]
lea ebx, [ebx + eax + 4]
call fcn.00580df0
push edi
mov dword [esp + 0x70], 0
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
push 4
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov edx, dword [esi]
mov eax, dword [edx + 4]
test byte [eax + esi + 8], 6
jne 0x56ee08
mov ecx, dword [esp + 0x18]
push ecx
add ebx, 4
call fcn.00610aae
mov edx, dword [esp + 0x1c]
add esp, 4
mov ebp, eax
push edx
push ebp
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___int_]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test byte [ecx + esi + 8], 6
jne 0x56ee27
mov eax, dword [esp + 0x18]
mov cl, byte [esp + 0x78]
add ebx, eax
test cl, cl
mov dword [esp + 0x1c], ebx
je 0x56ed1b
movsx edx, cl
lea ecx, [esp + 0x28]
push ecx
push eax
push ebp
mov dword [esp + 0x34], edx
call fcn.00583d20
add esp, 0xc
mov ebx, eax
push ebx
lea ecx, [esp + 0x48]
call fcn.0056dab0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
push ebp
mov byte [esp + 0x7c], 1
call fcn.00583ec0
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 0x14
mov dword [esp + 0x40], edi
test edi, edi
mov byte [esp + 0x6c], 2
je 0x56ed0a
lea ecx, [esp + 0x44]
call fcn.0056db00
lea edx, [esp + 0x50]
push edx
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.00580f20
mov edx, dword [esp + 0x34]
push 0
lea eax, [ebx + ebx]
push eax
lea ecx, [edi + 0x14]
push edx
mov byte [esp + 0x78], 3
mov dword [edi], vtable.devtech_private::DictionaryEntry.0
call fcn.00580d80
lea ecx, [esp + 0x44]
call fcn.0056daf0
mov ebx, dword [esp + 0x1c]
jmp 0x56ed63
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
or eax, 0xffffffff
jmp 0x56edf2
lea ecx, [esp + 0x44]
xor edi, edi
call fcn.0056daf0
mov ebx, dword [esp + 0x1c]
jmp 0x56ed63
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
test edi, edi
mov byte [esp + 0x6c], 4
je 0x56ed61
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.00580f20
push 0
push ebx
lea ecx, [edi + 0x14]
push ebp
mov byte [esp + 0x78], 5
mov dword [edi], vtable.devtech_private::DictionaryEntry.0
call fcn.00580d80
mov ebx, dword [esp + 0x1c]
jmp 0x56ed63
xor edi, edi
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp byte [esp + 0x74], 0
jne 0x56ed7c
mov ecx, dword [esp + 0x38]
mov dword [ecx + 4], edi
jmp 0x56ed8f
mov edx, dword [esp + 0x20]
movzx eax, word [edx]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + eax*4], edi
mov byte [esp + 0x74], 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x38], edi
mov dword [esp + 0x6c], 0xffffffff
call fcn.00580ed0
mov edx, dword [esp + 0x20]
cmp ebx, dword [edx + 0xc]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
jb 0x56eb87
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov cx, word [esp + 0x14]
mov eax, edx
mov edx, dword [esp + 0x30]
movzx edi, cx
add edx, 1
add eax, 8
sub edi, 1
cmp edx, edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], eax
jl 0x56eb6b
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00580ed0
or eax, 0xffffffff
jmp 0x56edf2
mov ecx, dword [esp + 0x24]
push ecx
jmp 0x56ee09