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

Disassembly:
push 0xffffffffffffffff
push 0x5e15d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x48], edi
call fcn.0056bfc0
mov eax, dword [esp + 0xa4]
xor ebx, ebx
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa0], ebx
call fcn.00592d40
test eax, eax
je 0x56f600
mov esi, dword [esp + 0xa8]
lea ecx, [esp + 0x78]
push esi
call fcn.005713f0
test eax, eax
je 0x56f600
push 0x15c
call fcn.005bcf2f
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0x9c], 1
je 0x56eddf
mov ecx, eax
call fcn.00597f60
jmp 0x56ede1
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x9c], bl
mov dword [edi + 4], eax
je 0x56f5ec
mov cx, word [esp + 0xb0]
mov edx, dword [esp + 0xa4]
mov word [eax + 0xd8], cx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xac]
push esi
mov ecx, dword [ecx + 4]
push edx
push eax
call fcn.005a0a00
test eax, eax
je 0x56f5ec
mov dl, byte [esp + 0x13]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], dl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0xb0]
mov byte [esp + 0x9c], 3
cmp ebp, ebx
jne 0x56efd4
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x14]
mov esi, dword [ecx + 4]
add esi, 0x14
cmp edx, esi
je 0x56f11f
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x56ee87
xor edi, edi
jmp 0x56ee9f
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
lea ecx, [esp + 0x14]
call fcn.0056f820
cmp edi, eax
ja 0x56eef3
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00570150
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.005b0ee0
mov ecx, esi
call fcn.0056f820
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx*2]
lea ecx, [eax + edx*4]
mov dword [esp + 0x1c], ecx
jmp 0x56f11f
mov ecx, esi
call fcn.0056f820
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0056f7f0
cmp edi, eax
ja 0x56ef6c
mov edi, dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.0056f820
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 4]
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x18]
push ecx
lea edi, [edi + edx*4]
push edi
push eax
call fcn.00570150
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
push edi
call fcn.0056f890
mov ecx, esi
call fcn.0056f820
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
mov dword [esp + 0x1c], edx
jmp 0x56f11f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005b0ee0
mov edx, dword [esp + 0x18]
push edx
call fcn.005bc500
add esp, 4
mov ecx, esi
call fcn.0056f820
cmp eax, ebx
jge 0x56ef99
xor eax, eax
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
shl eax, 2
push eax
call fcn.005bcf2f
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0056f890
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jmp 0x56f11f
cmp ebp, 1
jne 0x56f631
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x24]
mov esi, dword [ecx + 4]
add esi, 0x24
cmp edx, esi
je 0x56f11f
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x56effe
xor edi, edi
jmp 0x56f016
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
lea ecx, [esp + 0x24]
call fcn.0056f900
cmp edi, eax
ja 0x56f061
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00570190
mov ecx, dword [esp + 0x38]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.005b0ee0
mov ecx, esi
call fcn.0056f900
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x28]
lea ecx, [eax + edx*4]
mov dword [esp + 0x2c], ecx
jmp 0x56f11f
mov ecx, esi
call fcn.0056f900
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.0056f8d0
cmp edi, eax
ja 0x56f0c5
mov edi, dword [esi + 4]
lea ecx, [esp + 0x24]
call fcn.0056f900
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*8]
mov eax, dword [esi + 4]
push ecx
lea edi, [edi + edx*4]
push edi
push eax
call fcn.00570190
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x24]
push edx
push eax
push edi
call fcn.005a4680
mov ecx, esi
call fcn.0056f900
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*8]
lea edx, [ecx + eax*4]
mov dword [esp + 0x2c], edx
jmp 0x56f11f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.005b0ee0
mov edx, dword [esp + 0x28]
push edx
call fcn.005bc500
add esp, 4
mov ecx, esi
call fcn.0056f900
cmp eax, ebx
jge 0x56f0f2
xor eax, eax
lea eax, [eax + eax*8]
shl eax, 2
push eax
call fcn.005bcf2f
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x30]
call fcn.005a4680
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], 0x5e5238
mov word [esp + 0x50], 0xffff
mov word [esp + 0x52], bx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x54], cl
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x68], dl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x9c], 6
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.0056f850
cmp ebp, ebx
jne 0x56f188
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x54], esp
push 2
push edx
jmp 0x56f194
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x54], esp
push 5
push eax
mov ecx, 0x626e68
call fcn.0056aec0
mov ecx, dword [0x619a58]
call fcn.005462c0
mov cl, byte [esp + 0x13]
xor ebp, ebp
mov byte [esp + 0x34], cl
xor ecx, ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0xb0]
mov byte [esp + 0x9c], 7
cmp eax, ebx
jne 0x56f243
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x56f32b
mov edi, dword [esp + 0xa4]
cmp ebp, ecx
mov eax, ebp
je 0x56f1fe
mov edx, dword [esi]
cmp dword [eax], edx
je 0x56f236
add eax, 4
cmp eax, ecx
jne 0x56f1f3
mov eax, dword [esi]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x54], esp
push eax
push edx
mov ecx, edi
call fcn.00597de0
mov ecx, dword [0x619a58]
call fcn.005464a0
mov ecx, dword [esp + 0x3c]
push esi
push 1
push ecx
lea ecx, [esp + 0x40]
call fcn.0056f930
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add esi, 0x54
cmp esi, eax
jne 0x56f1eb
jmp 0x56f2b0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp esi, eax
je 0x56f32b
mov edi, dword [esp + 0xa4]
cmp ebp, ecx
mov eax, ebp
je 0x56f26d
mov edx, dword [esi]
cmp dword [eax], edx
je 0x56f2a5
add eax, 4
cmp eax, ecx
jne 0x56f262
mov eax, dword [esi]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x54], esp
push eax
push edx
mov ecx, edi
call fcn.00597de0
mov ecx, dword [0x619a58]
call fcn.005464a0
mov ecx, dword [esp + 0x3c]
push esi
push 1
push ecx
lea ecx, [esp + 0x40]
call fcn.0056f930
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
add esi, 0x24
cmp esi, eax
jne 0x56f25a
cmp ebp, ebx
je 0x56f32b
sub ecx, ebp
sar ecx, 2
cmp ecx, 1
jbe 0x56f32b
mov ecx, dword [0x619a58]
lea edx, [esp + 0x4c]
push edx
call fcn.005466c0
mov edi, eax
cmp di, 0xffff
je 0x56f562
mov ebp, dword [esp + 0x38]
cmp dword [esp + 0xb0], ebx
jne 0x56f334
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x56f3c5
movsx edi, di
shl edi, 2
mov eax, dword [edi + ebp]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x56f31b
mov ecx, dword [esp + 0x5c]
push esi
push 1
push ecx
lea ecx, [esp + 0x60]
call fcn.0056fb40
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add esi, 0x54
cmp esi, eax
jne 0x56f2fd
jmp 0x56f3c5
xor edi, edi
mov word [esp + 0x50], bx
jmp 0x56f2de
push ebx
push 3
sub esp, 0x10
mov ecx, 0x626e68
mov edx, esp
mov dword [esp + 0x5c], esp
push 0x17
push edx
call fcn.0056aec0
sub esp, 0x10
mov ecx, 0x626e68
mov eax, esp
mov dword [esp + 0x8c], esp
push 0x23
push eax
mov byte [esp + 0xcc], 8
call fcn.0056aec0
mov ecx, 0x619a58
mov byte [esp + 0xc4], 7
call fcn.00543a40
cmp ax, 2
je 0x56f569
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp esi, eax
je 0x56f3c5
movsx edi, di
shl edi, 2
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
mov edx, dword [ecx + edi]
cmp edx, eax
jne 0x56f3ba
mov eax, dword [esp + 0x70]
push esi
push 1
push eax
lea ecx, [esp + 0x74]
call fcn.0056fe50
mov eax, dword [esp + 0x2c]
add esi, 0x24
cmp esi, eax
jne 0x56f39c
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x88], cl
lea ecx, [esp + 0x88]
call fcn.00401850
mov edi, 0x619c18
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x88]
push ebp
call fcn.004018c0
test al, al
je 0x56f42e
mov edi, dword [esp + 0x88]
mov ecx, ebp
mov edx, ecx
mov esi, 0x619c18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x8c], ebp
mov byte [eax + ebp], bl
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0xb0]
mov cx, word [esp + 0x50]
cmp edi, ebx
mov eax, dword [esi + 4]
mov byte [esp + 0x9c], 9
mov word [eax + 0xda], cx
jne 0x56f462
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x74], esp
push 2
push edx
jmp 0x56f46e
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x74], esp
push 5
push eax
mov ecx, 0x626e68
call fcn.0056aec0
mov ecx, dword [0x619a58]
call fcn.005462c0
mov eax, edi
sub eax, ebx
je 0x56f4c2
dec eax
jne 0x56f4d9
push 3
lea ecx, [esp + 0x7c]
call fcn.0056c1d0
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
push ecx
lea ecx, [eax + 0x13c]
call fcn.0056f660
mov edx, dword [esp + 0xb4]
mov ecx, dword [esi + 4]
push 1
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.005988d0
jmp 0x56f4d9
mov ecx, dword [esp + 0xb4]
push 1
lea edx, [esp + 0x58]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.005984f0
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x56f501
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x56f4f8
cmp al, 0xff
je 0x56f4f8
dec al
mov byte [ecx], al
jmp 0x56f501
push ecx
call fcn.005bc500
add esp, 4
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov ecx, dword [eax]
mov eax, dword [esp + 0x38]
cmp ecx, ebx
jne 0x56f56d
cmp eax, ebx
je 0x56f56d
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jbe 0x56f56d
push eax
mov byte [esp + 0xa0], 6
call fcn.005bc500
mov ebp, dword [esp + 0xb4]
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
jmp 0x56f163
mov edx, dword [esp + 0x38]
push edx
jmp 0x56f56e
mov eax, dword [esp + 0x38]
push eax
call fcn.005bc500
mov ecx, dword [esp + 0x70]
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push ecx
mov dword [esp + 0x44], ebx
call fcn.005bc500
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x70], ebx
push edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.005bc500
mov eax, dword [esp + 0x30]
mov dword [esp + 0x60], ebx
push eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x58], 0x5e5238
call fcn.005bc500
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0xac], bl
call fcn.005bc500
add esp, 0x10
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x56f600
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0056c000
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret 0x14
push ebx
call fcn.005bc500
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.005bc500
add esp, 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jmp 0x56f600