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

Disassembly:
sub esp, 0xf4
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x110]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x120]
mov dword [esp + 0x18], eax
mov al, byte [ecx + 0x3228]
push ebp
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x120]
push esi
push edi
mov edi, dword [esp + 0x10c]
test al, al
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edx
mov byte [esp + 0x4c], 0
mov dword [esp + 0x5c], 0
je 0x56b074
mov al, byte [edi + 0x2e4c]
test al, al
je 0x56b074
mov al, byte [ebx + 0x30]
test al, al
je 0x56b074
mov eax, dword [edi + 0x2e54]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x5c], eax
jmp 0x56b11d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x110]
push edx
mov eax, dword [ecx + 0x3378]
lea ecx, [eax + 8]
call fcn.0057e4e0
mov dl, byte [esp + 0x4c]
lea esi, [edi + 0x2a14]
xor ebp, ebp
mov ecx, esi
test eax, eax
je 0x56b0bd
test al, 1
je 0x56b0b2
cmp dword [ecx - 0x10], 0x16
jne 0x56b0b2
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov dl, 1
sar eax, 1
inc ebp
add ecx, 0x18
cmp ebp, 0x20
jl 0x56b09c
test dl, dl
mov byte [esp + 0x4c], dl
jne 0x56b11d
mov eax, dword [edi + 0x2e00]
test eax, eax
je 0x56b11d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x110]
push ecx
mov eax, dword [eax + 0x3378]
lea ecx, [eax + 8]
call fcn.0057e4e0
and eax, dword [edi + 0x2e00]
je 0x56b11d
mov ecx, esi
xor edx, edx
mov esi, 5
test eax, eax
je 0x56b11d
test al, 1
je 0x56b112
cmp dword [ecx - 0x10], esi
je 0x56b112
mov ebp, dword [ecx]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x5c], ebp
sar eax, 1
inc edx
add ecx, 0x18
cmp edx, 0x20
jl 0x56b0fa
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x56b13e
mov al, byte [esp + 0x4c]
test al, al
jne 0x56b13e
mov al, byte [edi + 0x2da4]
mov byte [esp + 0x1b], 1
test al, al
jne 0x56b143
mov byte [esp + 0x1b], 0
mov ebp, dword [esp + 0x130]
mov edx, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [edx + 0x3378]
cmp ebp, esi
sete al
mov byte [esp + 0x56], al
mov byte [esp + 0x13], al
mov eax, dword [ecx + 0x4b0]
imul eax, dword [edi + 0x2d74]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x110]
push eax
call fcn.0057a230
cmp ebp, esi
mov dword [esp + 0x64], eax
jg 0x56b18d
xor eax, eax
jmp 0x56b1a1
cmp ebp, dword [ebx + 0x58]
jge 0x56b19e
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x56b19e
mov eax, dword [eax + ebp*4]
jmp 0x56b1a1
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x44], esi
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x58]
cmp ebp, ecx
mov dword [esp + 0x50], edx
jge 0x56b207
cmp ebp, esi
jg 0x56b1c8
mov dword [esp + 0x58], esi
jmp 0x56b1df
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x56b1d8
mov eax, dword [eax + ebp*4]
mov dword [esp + 0x58], eax
jmp 0x56b1df
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x58], edx
lea eax, [ebp + 1]
cmp eax, esi
jg 0x56b1ec
mov dword [esp + 0x44], esi
jmp 0x56b207
cmp eax, ecx
jge 0x56b200
mov edx, dword [ebx + 4]
cmp edx, esi
je 0x56b200
mov eax, dword [edx + eax*4]
mov dword [esp + 0x44], eax
jmp 0x56b207
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x88], 0
test byte [eax + 0x3368], 1
je 0x56b24a
lea eax, [ebp + 1]
cmp eax, ecx
jge 0x56b24a
cmp eax, esi
jg 0x56b22b
xor eax, eax
jmp 0x56b23e
cmp eax, ecx
jge 0x56b23b
mov edx, dword [ebx + 4]
cmp edx, esi
je 0x56b23b
mov eax, dword [edx + eax*4]
jmp 0x56b23e
mov eax, dword [ebx + 0x18]
cmp eax, esi
setne dl
mov byte [esp + 0x88], dl
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x108]
mov edx, dword [eax + 0x3374]
test edx, edx
je 0x56b387
cmp ebp, ecx
jge 0x56b387
test ebp, ebp
jg 0x56b273
xor ebp, ebp
jmp 0x56b282
mov eax, dword [ebx + 4]
test eax, eax
je 0x56b27f
mov ebp, dword [eax + ebp*4]
jmp 0x56b282
mov ebp, dword [ebx + 0x18]
test ebp, ebp
setne al
test al, al
je 0x56b387
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x2d70]
mov ebp, dword [esp + 0x118]
imul eax, edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x50]
sub ecx, ecx
mov edx, dword [esi]
add ecx, ebp
add eax, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0xc10]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x14]
mov al, 2
test byte [ecx + 0x3368], al
je 0x56b36b
mov edx, ecx
test byte [edx + 0x336c], al
je 0x56b322
mov eax, dword [esp + 0x80]
mov ecx, dword [edi + 0x2d70]
sub eax, ecx
mov dword [esp + 0x78], eax
jmp 0x56b335
mov eax, dword [edi + 0x2d70]
mov ecx, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x2da0]
mov edx, dword [esp + 0x78]
push eax
push 0
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x30]
call fcn.0056ac40
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x3374]
imul edx, dword [edi + 0x2d70]
add ebp, edx
mov dword [esp + 0x118], ebp
jmp 0x56b38e
mov ebp, dword [esp + 0x118]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov cl, byte [edx + 0x31d6]
test cl, cl
je 0x56b6b0
lea ecx, [eax*4 + 4]
mov dword [esp + 0x40], ecx
mov ecx, 1
sub ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], ecx
cmp eax, dword [esp + 0x44]
jge 0x56b6b0
mov edx, dword [ebx + 0x3c]
lea ecx, [edx + eax]
mov dl, byte [edx + eax]
cmp dl, byte [ecx + 1]
mov byte [esp + 0x60], dl
jne 0x56b42c
mov ecx, dword [esp + 0x44]
dec ecx
cmp eax, ecx
je 0x56b42c
mov edx, dword [ebx + 0x38]
lea ecx, [edx + eax]
movsx edx, byte [edx + eax]
test edx, edx
jl 0x56b3f8
cmp edx, 0x20
jl 0x56b42c
movsx ecx, byte [ecx + 1]
test ecx, ecx
jl 0x56b405
cmp ecx, 0x20
jl 0x56b42c
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
cmp edx, ecx
je 0x56b420
mov ecx, dword [esp + 0x64]
lea ecx, [eax + ecx + 1]
cmp ecx, edx
je 0x56b42c
cmp ecx, dword [ebx + 0x2c]
je 0x56b42c
mov edx, dword [ebx + 0x34]
dec edx
cmp eax, edx
jne 0x56b68e
mov eax, dword [esp + 0x38]
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x50]
shl eax, 2
mov eax, dword [ecx + eax]
sub eax, edx
mov edx, dword [esp + 0x40]
add eax, ebp
mov ecx, dword [ecx + edx]
mov edx, dword [esp + 0x50]
sub ecx, edx
mov dword [esp + 0x1c], eax
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x124]
cmp eax, ecx
jg 0x56b676
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x11c]
cmp eax, ecx
jl 0x56b676
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x28]
and eax, 0xff
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
add eax, edx
cmp eax, ecx
jl 0x56b4a8
mov edx, dword [ebx + 0x2c]
cmp eax, edx
jge 0x56b4a8
cmp ecx, edx
mov byte [esp + 0x3c], 1
jne 0x56b4ad
mov byte [esp + 0x3c], 0
mov ecx, dword [ebx + 0x4c]
cmp ecx, 0xffffffff
je 0x56b4c5
cmp eax, ecx
jl 0x56b4c5
mov ecx, dword [ebx + 0x50]
mov byte [esp + 0x34], 1
cmp eax, ecx
jl 0x56b4ca
mov byte [esp + 0x34], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
lea ecx, [esp + 0xa8]
push edi
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0056aaf0
mov edx, dword [ebx + 0x38]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov cl, byte [ecx + edx]
cmp cl, 9
jne 0x56b558
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x56b52b
mov cl, byte [esp + 0x13]
test cl, cl
je 0x56b525
cmp dword [edi + 0x2e3c], 1
jne 0x56b52b
mov eax, dword [edi + 0x2dac]
mov ecx, dword [esp + 0x1c]
push eax
sub esp, 0x10
mov edx, dword [esi]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
jmp 0x56b676
movsx ecx, cl
test ecx, ecx
jl 0x56b56b
cmp ecx, 0x20
jge 0x56b56b
mov byte [esp + 0x13], 0
jmp 0x56b52b
mov ecx, dword [esp + 0x1c]
push eax
sub esp, 0x10
mov edx, dword [esi]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x56b5b7
mov al, byte [esp + 0x13]
test al, al
je 0x56b676
mov al, byte [edi + 0x2e40]
test al, al
je 0x56b676
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
xor ecx, ecx
sub eax, edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x48], eax
js 0x56b676
lea eax, [edx*4]
mov dword [esp + 0x30], eax
jmp 0x56b5e2
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x38]
add edx, ecx
cmp byte [edx + eax], 0x20
jne 0x56b655
mov al, byte [esp + 0x1b]
test al, al
je 0x56b65a
mov al, byte [esp + 0x13]
test al, al
je 0x56b606
cmp dword [edi + 0x2e3c], 1
jne 0x56b65a
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + edx]
mov edx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [ebx + 0x44]
add eax, ebp
mov ecx, dword [ecx + edx*4 + 4]
mov edx, dword [esi]
add ecx, ebp
mov ebp, dword [edi + 0x2dac]
push ebp
sub esp, 0x10
mov ebp, esp
mov dword [ebp], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov ecx, dword [esp + 0x68]
jmp 0x56b65a
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
inc ecx
add edx, 4
cmp ecx, eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x30], edx
jle 0x56b5de
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
add eax, edx
add eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
inc eax
add edx, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x14]
mov cl, byte [edx + 0x31d6]
test cl, cl
jne 0x56b3c0
mov al, byte [edx + 0x31d6]
test al, al
je 0x56b726
mov ecx, dword [edi + 0x2da0]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x13c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x124]
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x13c]
push edx
push ebx
mov edx, dword [esp + 0x148]
sub esp, 0x10
mov eax, esp
push edi
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x164]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x168]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], edx
call fcn.0056adb0
mov ecx, dword [esp + 0x130]
mov al, byte [esp + 0x56]
test ecx, ecx
mov byte [esp + 0x13], al
jg 0x56b743
mov dword [esp + 0x38], 0
jmp 0x56b75f
cmp ecx, dword [ebx + 0x58]
jge 0x56b758
mov eax, dword [ebx + 4]
test eax, eax
je 0x56b758
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x38], ecx
jmp 0x56b75f
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
cmp edx, eax
mov dword [esp + 0x2c], edx
jge 0x56c0f8
mov eax, dword [esp + 0x64]
lea ecx, [edx + eax]
mov eax, dword [ebx + 0x3c]
add eax, edx
mov dword [esp + 0x34], ecx
mov cl, byte [eax]
cmp cl, byte [eax + 1]
mov byte [esp + 0x60], cl
jne 0x56b7d9
mov ecx, dword [esp + 0x44]
dec ecx
cmp edx, ecx
je 0x56b7d9
mov eax, dword [ebx + 0x38]
add eax, edx
movsx ecx, byte [eax]
test ecx, ecx
jl 0x56b7a8
cmp ecx, 0x20
jl 0x56b7d9
movsx eax, byte [eax + 1]
test eax, eax
jl 0x56b7b5
cmp eax, 0x20
jl 0x56b7d9
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
cmp eax, ecx
je 0x56b7cd
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, eax
je 0x56b7d9
cmp ecx, dword [ebx + 0x2c]
je 0x56b7d9
mov eax, dword [ebx + 0x34]
dec eax
cmp edx, eax
jne 0x56c0e7
mov ecx, dword [esp + 0x38]
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ecx + eax]
mov ecx, dword [ecx + edx*4 + 4]
sub eax, dword [esp + 0x50]
add eax, ebp
inc edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
sub ecx, edx
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x124]
cmp eax, ecx
jg 0x56c0da
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x11c]
cmp edx, eax
jl 0x56c0da
mov eax, dword [esp + 0x60]
and eax, 0xff
lea ecx, [eax + eax*4]
shl ecx, 4
add ecx, edi
mov dword [esp + 0x70], ecx
mov edx, dword [ecx + 0x208]
lea ecx, [eax + eax*4 + 0x23]
shl ecx, 4
add ecx, edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x4c]
cmp ecx, 0xffffffff
je 0x56b883
cmp edx, ecx
jl 0x56b883
mov ecx, dword [esp + 0x14]
cmp edx, dword [ecx + 0x3350]
jge 0x56b883
mov cl, byte [edi + 0x2dd8]
test cl, cl
je 0x56b883
mov ecx, dword [edi + 0x2de0]
mov dword [esp + 0x3c], ecx
cmp edx, dword [ebx + 0x28]
jl 0x56b952
mov ecx, dword [ebx + 0x2c]
cmp edx, ecx
jge 0x56b952
cmp dword [ebx + 0x28], ecx
je 0x56b94e
mov cl, byte [edi + 0x2d78]
mov byte [esp + 0x6c], 1
test cl, cl
je 0x56b8b9
mov edx, dword [edi + 0x2d80]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x4c]
cmp ecx, 0xffffffff
je 0x56b8d5
cmp edx, ecx
jl 0x56b8d5
mov ecx, dword [ebx + 0x50]
mov byte [esp + 0x68], 1
cmp edx, ecx
jl 0x56b8da
mov byte [esp + 0x68], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x68]
push ebx
push ecx
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x10c]
push edi
push eax
call fcn.0056aaf0
mov ecx, dword [eax]
mov eax, dword [ebx + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov al, byte [eax + edx]
cmp al, 9
jne 0x56bb0c
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x31d6]
test cl, cl
jne 0x56b988
mov al, byte [esp + 0x1b]
test al, al
je 0x56b95c
mov al, byte [esp + 0x13]
test al, al
je 0x56b946
cmp dword [edi + 0x2e3c], 1
jne 0x56b95c
mov eax, dword [edi + 0x2dac]
jmp 0x56b960
mov edx, dword [esp + 0x34]
mov byte [esp + 0x6c], 0
jmp 0x56b8bd
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
push eax
sub esp, 0x10
mov edx, dword [esi]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x56b9a8
mov al, byte [esp + 0x13]
test al, al
je 0x56ba82
mov al, byte [edi + 0x2e40]
test al, al
je 0x56b9c8
mov al, byte [edi + 0x2d98]
test al, al
je 0x56b9bc
mov edx, dword [edi + 0x2da0]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x56ba82
mov al, byte [edi + 0x2e40]
test al, al
je 0x56ba82
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx + edx*4]
cdq
idiv dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x74]
imul ebp, eax
inc edx
cmp ebp, dword [ecx + edx*4]
jge 0x56ba82
mov edx, dword [esp + 0x118]
add edx, ebp
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
cmp ebp, dword [ecx + edx*4]
jl 0x56ba69
test ebp, ebp
jle 0x56ba69
mov edx, dword [ebx + 0x20]
cmp edx, ebp
mov edx, dword [esp + 0x1c]
sete al
push eax
mov eax, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x2d64]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push esi
call fcn.0056abc0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add ecx, eax
add ebp, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x44]
inc edx
cmp ebp, dword [ecx + edx*4]
jl 0x56ba11
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x56bfee
mov cl, byte [esp + 0x13]
test cl, cl
je 0x56baa1
cmp eax, 1
jne 0x56bfee
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add ecx, 4
lea ebp, [eax + 1]
mov eax, dword [edi + 0x2d6c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x28]
dec edx
sub ecx, eax
mov eax, dword [edi + 0x2d64]
mov dword [esp + 0xc8], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, edx
mov edx, dword [esp + 0xc4]
push eax
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], ebp
mov dword [eax + 4], edx
mov edx, dword [esp + 0xe0]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.0056a1d0
add esp, 0x18
jmp 0x56bfee
movsx ecx, al
test ecx, ecx
jl 0x56bd03
cmp ecx, 0x20
jge 0x56bd03
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 0
cmp dword [ecx + 0x31c8], 0x20
jge 0x56bca3
push eax
call fcn.00567440
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
add esp, 4
mov al, byte [edx + 0x31d6]
test al, al
jne 0x56bb7d
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x20]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, esi
call dword [eax + 0x38]
mov edx, dword [esi]
lea ebx, [edi + 0xd70]
push ebx
mov ecx, esi
call dword [edx + 0x68]
mov ebp, eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x60]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [edi + 0x2d68]
mov edx, dword [esp + 0x28]
sub eax, ebp
mov ebp, ecx
mov dword [esp + 0xb0], ebx
sub ebp, eax
mov eax, dword [esp + 0x20]
add ebp, eax
mov dword [esp + 0xbc], edx
lea eax, [ecx + eax + 1]
inc ebx
mov dword [esp + 0xbc], eax
dec eax
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [ebp + 1]
mov dword [esp + 0xa8], ebp
sub esp, 0x10
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0xb8]
mov ecx, esp
mov edx, dword [esi]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x78], ebx
inc ebx
push ecx
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x4c]
dec eax
push edx
mov dword [esp + 0x84], ebp
mov ebp, dword [esi]
push ebx
mov dword [esp + 0x8c], eax
call fcn.0056a1b0
add esp, 4
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [edi + 0x2d68]
push ebx
mov ebx, dword [esp + 0x30]
add eax, ebx
push eax
lea eax, [edi + 0xd70]
push eax
mov eax, dword [esp + 0x94]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xa8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [ebp + 0x4c]
mov ebx, dword [esp + 0x12c]
jmp 0x56bfee
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esi]
mov byte [esp + 0x57], 0
mov cl, byte [eax + 0x31c8]
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x56], cl
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x5e]
push 1
push eax
mov eax, dword [edi + 0x2d68]
add eax, ecx
push eax
lea eax, [edi + 0xd70]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x48]
jmp 0x56bfee
mov edx, dword [esp + 0x70]
mov al, byte [edx + 0x22c]
test al, al
je 0x56bdc8
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov cl, byte [eax + 0x31d6]
test cl, cl
je 0x56bd75
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [ebx + 0x38]
add ecx, eax
mov eax, dword [edi + 0x2d68]
push ecx
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x50]
jmp 0x56bdc8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x34]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [ebx + 0x38]
add ecx, eax
mov eax, dword [edi + 0x2d68]
push ecx
mov ecx, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x58]
push eax
push ecx
mov ecx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x48]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x56bdec
mov al, byte [esp + 0x13]
test al, al
je 0x56bfee
mov al, byte [edi + 0x2e40]
test al, al
je 0x56bfee
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
sub ecx, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], ecx
js 0x56bfee
lea ecx, [eax*4]
mov dword [esp + 0x30], ecx
jmp 0x56be19
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
add edx, eax
mov eax, dword [ebx + 0x38]
cmp byte [edx + eax], 0x20
jne 0x56bfc9
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x56bf59
mov cl, byte [edi + 0x2d98]
test cl, cl
je 0x56be4e
mov ecx, dword [edi + 0x2da0]
mov dword [esp + 0x3c], ecx
mov cl, byte [esp + 0x13]
test cl, cl
je 0x56be5f
cmp eax, 1
jne 0x56bf59
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov eax, dword [ebx + 0x44]
add edx, ecx
mov ecx, dword [eax + edx*4 + 4]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + edx]
mov dword [esp + 0x8c], eax
add eax, ecx
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x14]
sar ebp, 1
mov dl, byte [eax + 0x31d6]
test dl, dl
jne 0x56bef4
mov al, byte [esp + 0x1b]
test al, al
je 0x56bef4
mov al, byte [esp + 0x13]
test al, al
je 0x56beae
cmp dword [edi + 0x2e3c], 1
jne 0x56bef4
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x8c]
add ecx, edx
add eax, edx
mov dword [esp + 0xfc], ecx
mov ecx, dword [edi + 0x2dac]
push ecx
mov edx, dword [esi]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x110]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x118]
sub ebp, eax
mov eax, dword [edi + 0x2d64]
add ebp, edx
cdq
lea ecx, [ebp + 1]
sub eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x3c]
push ecx
sub esp, 0x10
mov ecx, esp
sar eax, 1
add eax, edx
mov dword [ecx], ebp
lea edx, [eax + 1]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xf0], edx
mov edx, dword [esi]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xf0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov al, byte [esp + 0x13]
test al, al
je 0x56bfce
mov al, byte [edi + 0x2e40]
test al, al
je 0x56bfce
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + ecx]
test ecx, ecx
jle 0x56bfce
mov eax, ecx
cdq
idiv dword [esp + 0x74]
test edx, edx
jne 0x56bfce
cmp dword [ebx + 0x20], ecx
sete al
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
add ecx, ebp
mov edx, esp
push ecx
mov ecx, dword [edi + 0x2d64]
mov dword [edx], eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x130]
push edx
push esi
call fcn.0056abc0
jmp 0x56bfce
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], edx
jle 0x56be15
mov eax, dword [ebx + 0x4c]
cmp eax, 0xffffffff
je 0x56c06f
mov cl, byte [edi + 0x2df0]
test cl, cl
je 0x56c06f
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jl 0x56c06f
cmp ecx, dword [ebx + 0x50]
jge 0x56c06f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x9c], edx
mov edx, dword [edi + 0x2d68]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x1c]
lea eax, [edx + eax + 1]
lea edx, [eax + 1]
mov dword [esp + 0x9c], edx
mov dl, byte [edi + 0x2dd8]
test dl, dl
mov edx, dword [esi]
je 0x56c04f
mov ebp, dword [edi + 0x2de0]
jmp 0x56c053
mov ebp, dword [esp + 0x3c]
push ebp
sub esp, 0x10
mov ebp, esp
mov dword [ebp], ecx
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0xb0]
jmp 0x56c0cb
mov ecx, dword [esp + 0x70]
mov al, byte [ecx + 0x225]
test al, al
je 0x56c0d3
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push ebp
mov dword [esp + 0xf0], edx
mov edx, dword [edi + 0x2d68]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0xf8], eax
lea eax, [edx + eax + 1]
mov dword [ebp], ecx
lea edx, [eax + 1]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x100], edx
mov edx, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x100]
mov ecx, esi
mov dword [ebp + 0xc], eax
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov ecx, dword [esp + 0x2c]
mov edx, ecx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
inc edx
cmp edx, eax
mov dword [esp + 0x2c], edx
jl 0x56b773
mov edx, dword [esp + 0x14]
mov eax, 1
mov ecx, dword [edx + 0x3378]
mov ecx, dword [ecx + 0x498]
shl eax, cl
cmp eax, 0x100
mov dword [esp + 0x30], eax
jge 0x56c228
lea edx, [edi + 0x2d04]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x58]
or eax, 0xffffffff
mov edx, ecx
mov dword [esp + 0x48], eax
cmp edx, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
jg 0x56c208
test eax, eax
jge 0x56c16e
cmp ecx, dword [esp + 0x44]
jge 0x56c166
mov edx, dword [ebx + 0x40]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x30]
test edx, ecx
mov ecx, dword [esp + 0x34]
je 0x56c166
mov eax, ecx
mov dword [esp + 0x48], eax
test eax, eax
jl 0x56c1f7
cmp ecx, dword [esp + 0x44]
jge 0x56c183
mov edx, dword [ebx + 0x40]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x30]
test edx, ecx
jne 0x56c1f3
mov ecx, dword [ebx + 0x44]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
mov eax, dword [ecx + eax*4]
sub eax, edx
mov edx, dword [esp + 0x48]
add eax, ebp
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x50]
sub ecx, edx
mov edx, dword [edi + 0x2d68]
add ecx, ebp
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x120]
add ecx, edx
lea edx, [esp + 0x11c]
mov dword [esp + 0x94], ecx
add ecx, 3
lea eax, [esp + 0x90]
push edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x64]
push eax
push esi
call fcn.005c1320
or eax, 0xffffffff
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
inc ecx
cmp ecx, edx
mov dword [esp + 0x34], ecx
jle 0x56c143
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
shl eax, 1
add edx, 0xc
cmp eax, 0x100
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], edx
jl 0x56c128
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x31d6]
test al, al
jne 0x56c2a2
mov edx, dword [edi + 0x2da0]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x13c]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x124]
push ecx
push ebp
push edx
mov edx, dword [esp + 0x13c]
push eax
push ebx
mov eax, dword [esp + 0x148]
sub esp, 0x10
mov ecx, esp
push edi
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x164]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x168]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x54]
call fcn.0056adb0
cmp dword [edi + 0x2e60], 1
jne 0x56c2e7
mov ecx, dword [esp + 0x14]
mov ebx, dword [edi + 0x2e5c]
push ebx
mov edx, dword [esi]
mov eax, dword [ecx + 0x32c0]
sub esp, 0x10
imul eax, dword [edi + 0x2d74]
add eax, ebp
mov ebx, esp
lea ecx, [eax + 1]
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
cmp dword [edi + 0x2e6c], 1
jne 0x56c334
mov edi, dword [edi + 0x2e74]
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
push edi
sub esp, 0x10
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x13c]
mov edi, esp
mov ebp, dword [esi]
lea ebx, [edx - 1]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ecx, esi
mov dword [edi + 0xc], edx
call dword [ebp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret 0x2c