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

Disassembly:
push 0xffffffffffffffff
push 0x634e56
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x786f54]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
mov ebp, dword [esp + 0x7c]
xor esi, esi
push 4
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
xor ebx, ebx
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 [ebp]
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebp + 8]
test al, 6
je 0x56e3a4
or eax, 0xffffffff
jmp 0x56e6d4
mov edi, dword [esp + 0x14]
cmp edi, esi
jne 0x56e3b3
xor eax, eax
jmp 0x56e6d4
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00610aae
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [eax*4]
push ecx
push edi
mov ecx, ebp
mov dword [esp + 0x40], edi
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 [ebp]
mov eax, dword [edx + 4]
test byte [eax + ebp + 8], 6
je 0x56e403
mov dword [esp + 0x18], 0xffffffff
jmp 0x56e6a9
mov ecx, dword [esp + 0x14]
mov edi, dword [edi + ecx*4 - 4]
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00610aae
add esp, 4
lea ecx, [edi*4]
push ecx
push eax
mov ecx, ebp
mov dword [esp + 0x2c], eax
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 [ebp]
mov eax, dword [edx + 4]
test byte [eax + ebp + 8], 6
jne 0x56e3f6
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00610aae
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [ecx + ecx]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x30], eax
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 [ebp]
mov ecx, dword [eax + 4]
test byte [ecx + ebp + 8], 6
jne 0x56e3f6
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebx
jbe 0x56e6a9
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
movzx edx, word [ecx]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + edx*4]
mov edx, dword [esp + 0x20]
cmp ebx, dword [edx]
mov byte [esp + 0x7c], 1
mov dword [esp + 0x44], ecx
jae 0x56e674
mov eax, dword [esp + 0x24]
mov edi, dword [eax + ebx*4]
push edi
add ebx, 1
call fcn.00610aae
add esp, 4
mov esi, eax
push edi
push esi
mov ecx, ebp
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 [ebp]
mov edx, dword [ecx + 4]
test byte [edx + ebp + 8], 6
jne 0x56e3f6
push 1
push edi
push esi
lea ecx, [esp + 0x64]
call fcn.00580df0
push esi
mov dword [esp + 0x78], 0
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x28]
mov edi, dword [eax + ebx*4]
add ebx, 1
push edi
mov dword [esp + 0x44], ebx
call fcn.00610aae
add esp, 8
mov esi, eax
push edi
push esi
mov ecx, ebp
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 [ebp]
mov edx, dword [ecx + 4]
test byte [edx + ebp + 8], 6
jne 0x56e695
mov al, byte [esp + 0x80]
test al, al
je 0x56e5f3
lea ecx, [esp + 0x2c]
push ecx
movsx eax, al
push edi
push esi
mov dword [esp + 0x38], eax
call fcn.00583d20
add esp, 0xc
mov ebx, eax
push ebx
lea ecx, [esp + 0x50]
call fcn.0056dab0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x50]
push eax
push edi
push esi
mov byte [esp + 0x84], 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 + 0x48], edi
test edi, edi
mov byte [esp + 0x74], 2
je 0x56e5e0
lea ecx, [ebx + ebx]
push ecx
lea ecx, [esp + 0x50]
call fcn.0056db00
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, edi
call fcn.0056d800
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.0056daf0
mov ebx, dword [esp + 0x3c]
jmp 0x56e61e
xor eax, eax
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.0056daf0
mov ebx, dword [esp + 0x3c]
jmp 0x56e61e
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov byte [esp + 0x74], 3
je 0x56e61a
push edi
push esi
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call fcn.0056d800
jmp 0x56e61c
xor eax, eax
mov edi, eax
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor esi, esi
cmp byte [esp + 0x7c], 0
jne 0x56e639
mov edx, dword [esp + 0x40]
mov dword [edx + 4], edi
jmp 0x56e64c
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax]
mov edx, dword [esp + 0x30]
mov dword [edx + ecx*4], edi
mov byte [esp + 0x7c], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x40], edi
mov dword [esp + 0x74], 0xffffffff
call fcn.00580ed0
mov eax, dword [esp + 0x20]
cmp ebx, dword [eax]
jb 0x56e4d3
mov ecx, dword [esp + 0x44]
mov dword [edi + 4], ecx
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], 2
add dword [esp + 0x20], 4
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
jb 0x56e4b0
jmp 0x56e6a9
or eax, 0xffffffff
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], eax
mov dword [esp + 0x74], eax
call fcn.00580ed0
mov edx, dword [esp + 0x38]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esp + 0x30]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x28]
add esp, 0x10
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8