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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5e14c6
push eax
mov eax, 0x1260
mov dword fs:[0], esp
call fcn.005bd2d0
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1290]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x1278], esi
jne 0x56d41c
lea ecx, [esp + 0x1280]
mov dword [esp + 0x1278], 0xffffffff
call fcn.00597110
or eax, 0xffffffff
jmp 0x56dfd2
lea ecx, [esp + 0x5c]
call fcn.0056bfc0
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x5c]
push eax
mov byte [esp + 0x127c], 1
call fcn.00592d40
test eax, eax
je 0x56dfa8
mov ecx, dword [ebx + 0x1c]
push ecx
lea ecx, [esp + 0x60]
call fcn.005713f0
test eax, eax
je 0x56dfa8
mov eax, dword [esp + 0x1294]
mov ebp, dword [esp + 0x1290]
mov edx, dword [esp + 0x128c]
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x1288]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], edx
call fcn.005971d0
mov edi, 0x619c18
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x1278], 2
push ecx
push 0x619c18
push edx
push esi
lea ecx, [esp + 0x34]
call fcn.005030a0
cmp eax, esi
jne 0x56d4fa
lea eax, [esp + 0xd0]
push 0x15
push eax
mov ecx, 0x626e68
call fcn.0056aec0
mov ecx, dword [0x5e5150]
mov byte [esp + 0x1278], 3
push ecx
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.004120f0
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x127c], 2
call fcn.00401850
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x90]
push edx
push eax
lea ecx, [esp + 0x1288]
call fcn.00597190
cmp dword [esp + 0x98], esi
jne 0x56dcfa
push 4
lea ecx, [esp + 0x60]
call fcn.0056c1d0
cmp eax, esi
je 0x56de68
cmp dword [esp + 0x129c], 0xffffffff
je 0x56d5e3
mov eax, dword [esp + 0x12bc]
test eax, eax
jne 0x56d5e3
lea ecx, [esp + 0xe0]
call fcn.005806a0
push 0xff
mov byte [esp + 0x127c], 5
call fcn.005bcf2f
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x12a0]
add esp, 4
mov ebp, eax
push ecx
push edx
lea ecx, [esp + 0xe8]
call fcn.00580c40
mov edi, eax
xor esi, esi
test edi, edi
jle 0x56d5a5
push esi
lea ecx, [esp + 0xe4]
call fcn.00580d80
inc esi
cmp esi, edi
jl 0x56d593
mov ecx, dword [ebx + 0x1c]
push 0
push 0
push 1
push 0
push 0
push 1
lea eax, [esp + 0xf8]
push ebp
push eax
call fcn.00579f40
test ebp, ebp
je 0x56d5cf
push ebp
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1278], 2
call fcn.005807b0
xor esi, esi
cmp dword [ebx + 0x18], esi
je 0x56d96d
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
lea edi, [ebx + 0x20]
push ecx
push eax
push eax
call fcn.00592ca0
add esp, 0xc
mov esi, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push esi
call fcn.005b0ee0
lea ecx, [esp + 0x84]
mov dword [edi + 8], esi
mov dword [esp + 0x78], 0
call fcn.00544b40
mov cl, byte [esp + 0x24]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push 0
mov byte [esp + 0x128c], 6
mov byte [esi], cl
mov ecx, esi
call fcn.00401850
mov edx, dword [0x5e5150]
lea eax, [esp + 0x34]
push edx
push 0
push eax
mov ecx, esi
call fcn.004120f0
mov ecx, dword [0x619a6c]
call fcn.00544bf0
cmp word [esp + 0x58], 0
jle 0x56d7d1
movsx ecx, word [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x90]
lea ecx, [esp + 0x1280]
push edx
push ebp
call fcn.00597190
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x56d75b
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x56d7b2
mov ecx, dword [ebx + 0x10]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x14], ecx
je 0x56d7b2
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
mov ecx, ebx
sub ecx, esi
sar ecx, 2
test ecx, ecx
jle 0x56d700
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp dword [esi + eax*4], ebp
lea edx, [esi + eax*4]
jae 0x56d6fa
add edx, 4
mov esi, edx
or edx, 0xffffffff
sub edx, eax
add ecx, edx
jmp 0x56d6fc
mov ecx, eax
test ecx, ecx
jg 0x56d6dd
cmp esi, ebx
je 0x56d7b2
cmp ebp, dword [esi]
jb 0x56d7b2
cmp dword [esp + 0xa0], 0xffff
jae 0x56d7b2
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x70]
movsx ecx, ax
inc eax
push edx
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x78], ecx
push 1
push eax
mov ecx, edi
mov dword [esp + 0x7c], ebp
call fcn.0056e810
mov ecx, dword [esp + 0x9c]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x24], esp
push ecx
push eax
jmp 0x56d79b
cmp dword [esp + 0xa0], 0xffff
jae 0x56d7b2
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], ebp
push ecx
push 1
push eax
mov ecx, edi
mov dword [esp + 0x80], edx
call fcn.0056e810
mov eax, dword [esp + 0x9c]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x24], esp
push eax
push edx
lea ecx, [esp + 0x1298]
call fcn.005971d0
mov ecx, dword [0x619a6c]
call fcn.00545120
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc edx
add ebp, 0x40
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
jne 0x56d688
mov eax, dword [edi + 4]
test eax, eax
jne 0x56d7dc
xor esi, esi
jmp 0x56d7e4
mov esi, dword [edi + 8]
sub esi, eax
sar esi, 3
push esi
push 0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.0056e610
mov ecx, dword [esp + 0x12a4]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0x1c]
push ecx
push edx
push eax
lea ecx, [ebx + 0x30]
call fcn.00594a40
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [0x619a6c]
call fcn.00545270
test al, al
je 0x56dc36
mov dl, byte [esp + 0x13]
xor edi, edi
xor ebp, ebp
mov byte [esp + 0x44], dl
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
cmp esi, edi
mov byte [esp + 0x1278], 7
jle 0x56d888
push edi
lea ecx, [esp + 0x88]
call fcn.00545400
test al, al
je 0x56d87c
mov eax, dword [ebx + 0x24]
mov ebp, 1
movsx ecx, di
lea edx, [eax + ecx*8]
mov eax, dword [esp + 0x4c]
push edx
push ebp
push eax
lea ecx, [esp + 0x50]
call fcn.0056e810
inc edi
movsx ecx, di
cmp ecx, esi
jl 0x56d84d
test ebp, ebp
jne 0x56d8b3
xor edi, edi
test esi, esi
jle 0x56d8b3
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [ebx + 0x24]
lea edx, [ecx + eax*8]
mov eax, dword [esp + 0x4c]
push edx
push 1
push eax
lea ecx, [esp + 0x50]
call fcn.0056e810
inc edi
movsx eax, di
cmp eax, esi
jl 0x56d894
mov cl, byte [esp + 0x44]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x24], esp
mov byte [ebp], cl
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x56d8cf
xor eax, eax
jmp 0x56d8d8
mov eax, dword [esp + 0x5c]
sub eax, ecx
sar eax, 3
test eax, eax
jge 0x56d8de
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.005bcf2f
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
add esp, 4
cmp edi, ecx
mov ebx, ecx
mov esi, eax
je 0x56d915
push edi
push esi
call fcn.0056ea90
add edi, 8
add esp, 8
add esi, 8
cmp edi, ebx
jne 0x56d901
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
call fcn.0056dff0
cmp eax, 0xb
je 0x56db2f
xor esi, esi
cmp eax, esi
je 0x56db8e
mov eax, dword [esp + 0x48]
push eax
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov byte [esp + 0x1278], 2
call fcn.005581a0
mov ebx, dword [esp + 0x1c]
jmp 0x56d5e5
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
cmp edx, edx
mov eax, edx
je 0x56d98d
mov edi, dword [eax]
add eax, 8
mov dword [ecx], edi
mov edi, dword [eax - 4]
mov dword [ecx + 4], edi
add ecx, 8
cmp eax, edx
jne 0x56d979
mov edx, dword [ebx + 0x28]
mov al, byte [esp + 0x13]
mov dword [esp + 0x14], edx
mov dword [ebx + 0x28], ecx
mov byte [esp + 0x34], al
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
cmp word [esp + 0x58], si
mov byte [esp + 0x1278], 9
jle 0x56da90
movsx ecx, word [esp + 0x58]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x90]
lea ecx, [esp + 0x1280]
push edx
push edi
call fcn.00597190
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x56da47
mov ecx, dword [ebx + 0x10]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x14], ecx
je 0x56da47
mov ebp, dword [ebx + 0x10]
mov esi, eax
mov ecx, ebp
sub ecx, esi
sar ecx, 2
test ecx, ecx
jle 0x56da30
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp dword [esi + eax*4], edi
lea edx, [esi + eax*4]
jae 0x56da2a
add edx, 4
mov esi, edx
or edx, 0xffffffff
sub edx, eax
add ecx, edx
jmp 0x56da2c
mov ecx, eax
test ecx, ecx
jg 0x56da0d
cmp esi, ebp
je 0x56da75
cmp edi, dword [esi]
jb 0x56da75
cmp dword [esp + 0xa0], 0xffff
jae 0x56da75
jmp 0x56da54
cmp dword [esp + 0xa0], 0xffff
jae 0x56da75
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], edi
push ecx
push 1
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], eax
call fcn.0056e810
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc edx
add edi, 0x40
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
jne 0x56d9d3
mov al, byte [esp + 0x34]
sub esp, 0x10
mov esi, esp
xor edi, edi
mov dword [esp + 0x24], esp
mov byte [esi], al
mov ecx, dword [esp + 0x48]
cmp ecx, edi
jne 0x56daad
xor eax, eax
jmp 0x56dab6
mov eax, dword [esp + 0x4c]
sub eax, ecx
sar eax, 3
cmp eax, edi
jge 0x56dabc
xor eax, eax
lea ecx, [eax*8]
push ecx
call fcn.005bcf2f
mov dword [esi + 4], eax
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
add esp, 4
cmp ecx, edx
je 0x56daf3
cmp eax, edi
je 0x56dae9
mov ebp, dword [ecx]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [eax + 4], ebp
add ecx, 8
add eax, 8
cmp ecx, edx
jne 0x56dadb
mov ecx, ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.0056dff0
cmp eax, 0xb
je 0x56dc90
mov edx, dword [esp + 0x38]
mov byte [esp + 0x1278], 2
push edx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
jmp 0x56d5e3
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x1288]
push eax
push ecx
lea ecx, [esp + 0x1288]
call fcn.00597190
push 4
lea ecx, [esp + 0x60]
call fcn.0056c1e0
mov edx, dword [esp + 0x48]
push edx
call fcn.005bc500
xor eax, eax
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov byte [esp + 0x1278], 2
call fcn.005581a0
mov ebx, dword [esp + 0x1c]
jmp 0x56de27
push esi
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov eax, esp
mov dword [esp + 0x2c], esp
push 1
push eax
call fcn.0056aec0
sub esp, 0x10
lea edx, [esp + 0x3b]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
push str.Read_data_stream_error_
mov byte [esp + 0x12a8], 8
call fcn.00404ee0
mov ecx, 0x619a58
mov byte [esp + 0x12a0], 7
call fcn.00543a40
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x1288]
push eax
push ecx
lea ecx, [esp + 0x1288]
call fcn.00597190
push 4
lea ecx, [esp + 0x60]
call fcn.0056c1e0
mov edx, dword [esp + 0x48]
push edx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov byte [esp + 0x1278], 2
call fcn.005581a0
mov ebx, dword [esp + 0x1c]
jmp 0x56de27
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x1288]
push eax
push ecx
lea ecx, [esp + 0x1288]
call fcn.00597190
mov eax, dword [esp + 0x1288]
cmp eax, 0xffffffff
je 0x56decb
lea edx, [esp + 0x1288]
lea ecx, [esp + 0x1280]
push edx
push eax
call fcn.00597190
lea ecx, [esp + 0x84]
mov byte [esp + 0x1278], 2
call fcn.005581a0
jmp 0x56de27
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x1288]
push eax
push ecx
lea ecx, [esp + 0x1288]
call fcn.00597190
mov eax, dword [esp + 0x1288]
cmp eax, 0xffffffff
je 0x56df21
lea edx, [esp + 0x1288]
lea ecx, [esp + 0x1280]
push edx
push eax
call fcn.00597190
push 4
lea ecx, [esp + 0x60]
call fcn.0056c1e0
mov eax, dword [esp + 0x38]
push eax
call fcn.005bc500
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
jmp 0x56de29
mov dword [esp + 0x7c], 0x5e5238
mov word [esp + 0x80], 0xffff
mov word [esp + 0x82], si
mov dl, byte [esp + 0x24]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
mov byte [esp + 0x1288], 0xa
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov eax, dword [0x5e5150]
lea edx, [esp + 0x34]
push eax
push esi
push edx
call fcn.004120f0
mov ecx, dword [0x619a58]
call fcn.005462c0
cmp bp, si
jle 0x56ddb3
mov esi, dword [esp + 0x54]
movsx edi, bp
lea eax, [esp + 0x90]
lea ecx, [esp + 0x1280]
push eax
push esi
call fcn.00597190
mov eax, dword [esp + 0xa0]
cmp eax, 0xffff
jb 0x56dd84
cmp eax, 0xffffffff
jne 0x56ddad
mov edx, dword [esp + 0x9c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
push ecx
lea ecx, [esp + 0x1298]
call fcn.005971d0
mov ecx, dword [0x619a58]
call fcn.005464a0
add esi, 0x40
dec edi
jne 0x56dd5c
mov ecx, dword [0x619a58]
lea eax, [esp + 0x7c]
push eax
call fcn.005466c0
movsx eax, ax
cmp eax, 0xffffffff
je 0x56ddde
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x1288]
shl eax, 6
push ecx
add eax, edx
jmp 0x56de12
mov eax, dword [esp + 0x90]
lea edx, [esp + 0x1288]
push edx
push eax
lea ecx, [esp + 0x1288]
call fcn.00597190
mov eax, dword [esp + 0x1288]
cmp eax, 0xffffffff
je 0x56df6d
lea ecx, [esp + 0x1288]
push ecx
push eax
lea ecx, [esp + 0x1288]
call fcn.00597190
mov dword [esp + 0x7c], 0x5e5238
xor edi, edi
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x1278], 1
cmp ecx, edi
je 0x56de55
mov al, byte [ecx - 1]
test al, al
je 0x56de4b
cmp al, 0xff
je 0x56de4b
dec al
mov byte [ecx - 1], al
jmp 0x56de55
dec ecx
push ecx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
xor esi, esi
jmp 0x56d457
push esi
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov edx, esp
mov dword [esp + 0x2c], esp
push 1
push edx
call fcn.0056aec0
sub esp, 0x10
lea eax, [esp + 0x3b]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
push str.Not_support_
mov byte [esp + 0x12a8], 4
call fcn.00404ee0
mov ecx, 0x619a58
mov byte [esp + 0x12a0], 2
call fcn.00543a40
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x127c], 1
call fcn.00401850
jmp 0x56dfa8
lea ecx, [esp + 0x84]
mov byte [esp + 0x1278], 2
call fcn.005581a0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x56df04
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x56defb
cmp al, 0xff
je 0x56defb
dec al
mov byte [ecx], al
jmp 0x56df04
push ecx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
jmp 0x56dfa8
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005bc500
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
je 0x56df5f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x56df56
cmp al, 0xff
je 0x56df56
dec al
mov byte [ecx], al
jmp 0x56df5f
push ecx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
jmp 0x56dfa8
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x7c], 0x5e5238
je 0x56df9c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x56df93
cmp al, 0xff
je 0x56df93
dec al
mov byte [ecx], al
jmp 0x56df9c
push ecx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1278], 0
call fcn.0056c000
lea ecx, [esp + 0x1280]
mov dword [esp + 0x1278], 0xffffffff
call fcn.00597110
xor eax, eax
mov ecx, dword [esp + 0x1270]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x126c
ret 0x4c