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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x644904]
mov ecx, dword [0x64581c]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [0x645800]
cmp eax, ecx
push esi
push edi
jne 0x56f9a0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
mov dword [ebp - 0x6c], ecx
mov cl, byte [eax + 0x24]
mov dword [ebp - 0x68], edx
mov dl, byte [eax + 0x25]
mov byte [ebp - 0x4b], cl
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 0x2c]
mov byte [ebp - 0x4a], dl
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x54], ecx
mov ecx, dword [0x645ae0]
mov dword [ebp - 0x50], edx
mov dl, byte [eax + 0x26]
mov eax, dword [ecx]
mov byte [ebp - 0x49], dl
call dword [eax + 0x3dc]
cmp esi, eax
jne 0x56f5b6
movzx eax, byte [ebp - 0x4a]
dec eax
je 0x56f39a
sub eax, 2
jne 0x56f9a0
mov ecx, dword [0x645ae0]
push ebx
push edi
call fcn.0049b020
test eax, eax
mov dword [ebp - 0x54], eax
jl 0x56f9a0
mov ecx, dword [0x645ae0]
push eax
call fcn.0049b120
mov ecx, dword [0x645ae0]
mov esi, eax
movzx eax, byte [ebp - 0x4b]
push eax
mov dword [ebp - 0x58], eax
call fcn.0049efe0
mov ecx, dword [esi]
mov edi, eax
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x18]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x14]
push ecx
lea ecx, [edi + 0x18]
mov dword [edi + 0x14], eax
call dword [sym.imp.msvcp71.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__]
mov edx, dword [esi + 0x34]
mov dword [edi + 0x34], edx
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x3c], ecx
mov edx, dword [esi + 0x40]
mov dword [edi + 0x40], edx
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x48], ecx
mov edx, dword [esi + 0x4c]
mov dword [edi + 0x4c], edx
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x54], ecx
mov edx, dword [esi + 0x58]
mov dword [edi + 0x58], edx
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov ecx, dword [esi + 0x60]
mov dword [edi + 0x60], ecx
mov edx, dword [esi + 0x64]
mov dword [edi + 0x64], edx
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov ecx, dword [esi + 0x6c]
mov dword [edi + 0x6c], ecx
mov edx, dword [esi + 0x70]
mov dword [edi + 0x70], edx
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov ecx, dword [esi + 0x78]
mov dword [edi + 0x78], ecx
mov edx, dword [esi + 0x7c]
mov dword [edi + 0x7c], edx
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov ecx, dword [esi + 0x88]
mov dword [edi + 0x88], ecx
mov edx, dword [esi + 0x8c]
mov dword [edi + 0x8c], edx
mov eax, dword [esi + 0x90]
mov dword [edi + 0x90], eax
mov ecx, dword [esi + 0x94]
mov dword [edi + 0x94], ecx
mov edx, dword [esi + 0x98]
mov dword [edi + 0x98], edx
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
mov ecx, dword [esi + 0xa0]
mov dword [edi + 0xa0], ecx
mov edx, dword [esi + 0xa4]
mov dword [edi + 0xa4], edx
mov eax, dword [esi + 0xa8]
mov dword [edi + 0xa8], eax
mov ecx, dword [esi + 0xac]
mov dword [edi + 0xac], ecx
mov edx, dword [esi + 0xb4]
mov dword [edi + 0xb4], edx
mov eax, dword [esi + 0xb0]
mov dword [edi + 0xb0], eax
mov cx, word [esi + 0x80]
mov word [edi + 0x80], cx
mov edx, dword [esi + 0xb8]
mov dword [edi + 0xb8], edx
mov eax, dword [esi + 0xbc]
mov dword [edi + 0xbc], eax
xor ebx, ebx
nop
mov ecx, dword [ebp - 0x58]
push 1
push 0
push ebx
push ecx
mov ecx, dword [0x645ae0]
call fcn.0049ed00
mov eax, dword [esi + 0xcc]
cmp dword [eax + ebx*4], 0
je 0x56f256
mov edx, dword [ebp - 0x58]
mov ecx, dword [0x645ae0]
push ebx
push edx
call fcn.0049ec60
test eax, eax
jne 0x56f256
push 0x10
call fcn.005c8833
mov ecx, dword [esi + 0xcc]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0xc], edx
add esp, 4
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0xcc]
mov edx, dword [ecx + ebx*4]
mov ecx, dword [edx]
mov edx, dword [ebp - 0x58]
push 1
push eax
push ebx
mov dword [eax], ecx
mov ecx, dword [0x645ae0]
push edx
call fcn.0049ed00
inc ebx
cmp ebx, 0xd
jl 0x56f1e0
mov esi, dword [ebp - 0x54]
mov ecx, dword [0x645ae0]
push 1
push 0
push esi
call fcn.004a83f0
mov ecx, dword [0x645ae0]
push 0
push esi
call fcn.0049b060
mov eax, dword [ebp - 0x5c]
mov ecx, dword [0x645ae0]
push eax
push esi
call fcn.0049b090
mov ecx, dword [0x646304]
call fcn.00532bd0
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0xae
call dword [edx + 0x54]
mov ecx, dword [0x646074]
mov eax, dword [ecx]
push 0xe8
call dword [eax + 0x54]
mov al, byte [ebp - 0x49]
test al, al
jne 0x56f332
mov ecx, dword [0x645858]
mov esi, dword [ecx]
mov ecx, edi
call fcn.004f7cc0
push eax
mov eax, dword [0x645858]
push 1
push 0x5f1f50
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [esi + 0x84]
add esp, 0x14
mov eax, dword [0x64582c]
test eax, eax
mov dword [ebp - 4], 2
je 0x56f313
mov esi, dword [eax]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
mov ecx, dword [0x64582c]
push eax
push 0x85
call dword [esi + 0x4c]
push 0
push 0xc2
push 0x615bdc
push 8
sub esp, 0x1c
lea edx, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x50], esp
push edx
jmp 0x56f532
cmp al, 1
jne 0x56f9a0
mov eax, dword [0x645858]
mov esi, dword [eax]
mov ecx, edi
call fcn.004f7cc0
mov ecx, dword [ebp - 0x50]
push eax
mov eax, dword [0x645858]
push 1
push ecx
push 0x615bcc
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [esi + 0x84]
add esp, 0x18
mov eax, dword [0x64582c]
test eax, eax
mov dword [ebp - 4], 3
je 0x56f391
mov esi, dword [eax]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
mov ecx, dword [0x64582c]
push eax
push 0x85
call dword [esi + 0x4c]
push 0
push 0xc9
jmp 0x56f31a
mov ecx, dword [0x645ae0]
mov eax, dword [ecx]
lea edx, [ebp - 0x6c]
push edx
call dword [eax + 0x418]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x60], ebx
jl 0x56f9a0
mov ecx, dword [0x645ae0]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x404]
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
mov dword [ebp - 0x54], eax
movzx eax, byte [ebp - 0x4b]
push eax
mov dword [ebp - 0x58], eax
call dword [edx + 0x90]
mov edi, eax
test edi, edi
je 0x56f440
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov edx, dword [edi]
mov ecx, edi
mov ebx, eax
call dword [edx + 0x60]
cmp ebx, eax
jne 0x56f46a
mov eax, dword [esi]
mov ebx, dword [edi]
mov ecx, esi
call dword [eax + 0x68]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x68]
add esi, eax
push esi
mov ecx, edi
call dword [ebx + 0x64]
mov ecx, dword [0x645ae0]
mov ebx, dword [ebp - 0x60]
mov eax, dword [ecx]
push 1
push 0
push ebx
call dword [eax + 0x3f8]
jmp 0x56f46d
mov ecx, dword [0x645ae0]
mov eax, dword [ebp - 0x58]
mov edx, dword [ecx]
push 1
push esi
push eax
call dword [edx + 0x80]
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
push 0
push 0
push ebx
call dword [edx + 0x3f8]
jmp 0x56f46d
mov ebx, dword [ebp - 0x60]
mov ecx, dword [0x645ae0]
mov eax, dword [ecx]
push 0
push ebx
call dword [eax + 0x3fc]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
push eax
push ebx
call dword [edx + 0x400]
mov ecx, dword [0x646304]
call fcn.00532ac0
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0xa
call dword [edx + 0x54]
mov ecx, dword [0x646304]
call fcn.00532bd0
mov ecx, dword [0x646074]
mov eax, dword [ecx]
push 0xae
call dword [eax + 0x54]
mov al, byte [ebp - 0x49]
test al, al
jne 0x56f555
mov edx, dword [ebp - 0x64]
mov eax, dword [0x645858]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x54]
push edx
push 0x5f1fa0
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x84]
add esp, 0x14
mov eax, dword [0x64582c]
test eax, eax
mov dword [ebp - 4], 0
je 0x56f51b
mov esi, dword [eax]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
mov ecx, dword [0x64582c]
push eax
push 0x85
call dword [esi + 0x4c]
push 0
push 0x54
push 0x615bdc
push 8
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call dword [sym.imp.msvcp71.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__]
call fcn.004c3510
add esp, 0x2c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x56f9a0
cmp al, 1
jne 0x56f9a0
mov edx, dword [ebp - 0x64]
mov eax, dword [0x645858]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x54]
push edx
mov edx, dword [ebp - 0x50]
push edx
push 0x615bcc
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x84]
add esp, 0x18
mov eax, dword [0x64582c]
test eax, eax
mov dword [ebp - 4], 1
je 0x56f5ad
mov esi, dword [eax]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
mov ecx, dword [0x64582c]
push eax
push 0x85
call dword [esi + 0x4c]
push 0
push 0x5b
jmp 0x56f51f
mov ecx, dword [0x646564]
mov ecx, dword [ecx + 0x64]
mov edx, dword [ecx]
call dword [edx + 0x3c]
cmp esi, eax
jne 0x56f9a0
movzx eax, byte [ebp - 0x4a]
dec eax
je 0x56f7da
sub eax, 2
jne 0x56f9a0
mov ecx, dword [0x645ae0]
push ebx
push edi
call fcn.0049ab60
mov esi, eax
test esi, esi
jl 0x56f9a0
mov ecx, dword [0x645ae0]
push esi
call fcn.0049ac60
mov ecx, dword [0x645ae0]
push ebx
push edi
call fcn.0049efa0
mov edi, eax
test edi, edi
jl 0x56f9a0
mov ecx, dword [0x645ae0]
push edi
call fcn.0049efe0
mov cl, byte [ebp - 0x49]
test cl, cl
jne 0x56f6b2
mov ecx, dword [0x645858]
mov ebx, dword [ecx]
mov ecx, eax
call fcn.004f7cc0
push eax
mov eax, dword [0x645858]
push 1
push 0x615ba8
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ebx + 0x84]
add esp, 0x14
mov eax, dword [0x64582c]
test eax, eax
mov dword [ebp - 4], 6
je 0x56f685
mov ebx, dword [eax]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
mov ecx, dword [0x64582c]
push eax
push 0x85
call dword [ebx + 0x4c]
push 0
push 0x123
push 0x615bdc
push 8
sub esp, 0x1c
lea edx, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x50], esp
push edx
call dword [sym.imp.msvcp71.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__]
call fcn.004c3510
lea ecx, [ebp - 0x2c]
jmp 0x56f73c
cmp cl, 1
jne 0x56f74c
mov ecx, dword [0x645858]
mov edx, dword [ebp - 0x54]
mov ebx, dword [ecx]
push edx
mov ecx, eax
call fcn.004f7cc0
mov ecx, dword [0x645858]
push eax
push 1
push 0x615b98
lea eax, [ebp - 0x48]
push eax
push ecx
call dword [ebx + 0x84]
add esp, 0x18
mov eax, dword [0x64582c]
test eax, eax
mov dword [ebp - 4], 7
je 0x56f714
mov ebx, dword [eax]
lea ecx, [ebp - 0x48]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
mov ecx, dword [0x64582c]
push eax
push 0x85
call dword [ebx + 0x4c]
push 0
push 0x12a
push 0x615bdc
push 8
sub esp, 0x1c
lea edx, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x50], esp
push edx
call dword [sym.imp.msvcp71.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__]
call fcn.004c3510
lea ecx, [ebp - 0x48]
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [0x645ae0]
push 0
push 0
push esi
call fcn.004a8380
mov ecx, dword [0x645ae0]
push 0
push esi
call fcn.0049aba0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [0x645ae0]
push eax
push esi
call fcn.0049abd0
mov ecx, dword [0x645ae0]
push edi
call fcn.004a8460
mov ecx, dword [0x646304]
call fcn.00532b90
mov ecx, dword [0x645858]
mov edx, dword [ecx]
push 0x5fb37c
call dword [edx + 0x60]
test eax, eax
je 0x56f7c5
mov ecx, dword [0x646074]
mov eax, dword [ecx]
push 0xaf
call dword [eax + 0x54]
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0xe8
call dword [edx + 0x54]
mov ecx, dword [0x646074]
mov eax, dword [ecx]
push 0xa5
call dword [eax + 0x54]
jmp 0x56f9a0
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
lea eax, [ebp - 0x6c]
push eax
call dword [edx + 0x33c]
mov edi, eax
test edi, edi
jl 0x56f90c
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
push edi
call dword [edx + 0x314]
mov esi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
call dword [edx + 0x10]
mov ecx, dword [0x645ae0]
push 1
push 0
mov esi, eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x308]
mov al, byte [ebp - 0x49]
test al, al
jne 0x56f882
mov eax, dword [0x645858]
mov ecx, dword [eax]
push esi
push ebx
push 0x615b78
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x84]
add esp, 0x14
mov eax, dword [0x64582c]
test eax, eax
mov dword [ebp - 4], 4
je 0x56f879
mov esi, dword [eax]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
mov ecx, dword [0x64582c]
push eax
push 0x85
call dword [esi + 0x4c]
push 0
push 0xeb
jmp 0x56f8db
cmp al, 1
jne 0x56f90c
mov edx, dword [ebp - 0x54]
mov eax, dword [0x645858]
mov ecx, dword [eax]
push edx
push esi
push ebx
push 0x615b98
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x84]
add esp, 0x18
mov eax, dword [0x64582c]
test eax, eax
mov dword [ebp - 4], 5
je 0x56f8d4
mov esi, dword [eax]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
mov ecx, dword [0x64582c]
push eax
push 0x85
call dword [esi + 0x4c]
push 0
push 0xf2
push 0x615bdc
push 8
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x50], esp
mov ecx, esp
push eax
call dword [sym.imp.msvcp71.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__]
call fcn.004c3510
lea ecx, [ebp - 0x2c]
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
lea eax, [ebp - 0x6c]
push eax
call dword [edx + 0x94]
test eax, eax
jl 0x56f935
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
push 1
push 0
push eax
call dword [edx + 0x80]
mov ecx, dword [0x645ae0]
mov eax, dword [ecx]
push 0
push edi
call dword [eax + 0x30c]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
push eax
push edi
call dword [edx + 0x310]
mov ecx, dword [0x646304]
call fcn.00532ac0
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0xa
call dword [edx + 0x54]
mov ecx, dword [0x646304]
call fcn.00532b90
mov ecx, dword [0x645858]
mov eax, dword [ecx]
push 0x5fb37c
call dword [eax + 0x60]
test eax, eax
je 0x56f9a0
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0xaf
call dword [edx + 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, 2
call fcn.005c8895
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret