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

Disassembly:
push 0xffffffffffffffff
push 0x103ad1b4
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x105623f8]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xb4]
mov ebx, ecx
mov byte [ebx + 0x1fc], 0
mov eax, dword [esi + 0x2a4]
cmp eax, 0x10
jne 0x56d6db
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
xor edi, edi
lea eax, [esi + 0x258]
push edi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push eax
mov byte [ecx + 4], 0
call fcn.0040509f
lea eax, [esp + 0x84]
push eax
call fcn.004bd4cf
add esp, 0x20
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xac], edi
cmp eax, 0x10
jb 0x56d640
push 0xffffffffffffffff
push 0x10
lea ecx, [esp + 0x70]
call fcn.00404daf
jmp 0x56d652
mov ecx, 0x10
sub ecx, eax
push edi
push ecx
lea ecx, [esp + 0x70]
call fcn.0040845f
call fcn.0077a3b6
mov edi, eax
and edi, 0x8000000f
jns 0x56d666
dec edi
or edi, 0xfffffff0
inc edi
cmp edi, dword [esp + 0x7c]
jbe 0x56d671
call fcn.00776e71
cmp dword [esp + 0x80], 0x10
mov ebp, dword [esp + 0x6c]
jae 0x56d683
lea ebp, [esp + 0x6c]
cmp edi, dword [esi + 0x2a4]
jbe 0x56d690
call fcn.00776e71
mov ecx, 0x10
cmp dword [esi + 0x2a8], ecx
jb 0x56d6a5
mov eax, dword [esi + 0x294]
jmp 0x56d6ab
lea eax, [esi + 0x294]
mov dl, byte [edi + ebp]
cmp dl, byte [eax + edi]
mov dword [esp + 0xac], 0xffffffff
sete al
mov byte [ebx + 0x1fc], al
cmp dword [esp + 0x80], ecx
jb 0x56d6db
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00776c58
add esp, 4
mov dword [ebx + 0x200], esi
add esi, 0x2b4
cmp byte [esi], 0
mov dword [esp + 0x18], esi
je 0x56df9e
mov dl, byte [esi]
mov dword [esp + 0x44], esi
mov byte [esp + 0x48], dl
mov byte [esi], 0
mov cl, byte [ebx + 0x1fd]
lea eax, [ebx + 0x1fd]
mov dword [esp + 0xac], 1
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], cl
mov byte [eax], 0
mov edx, dword [ebx + 0x24c]
mov eax, dword [ebx + 0x250]
mov ecx, dword [ebx + 0x254]
mov dword [esp + 0x68], edx
mov edx, dword [ebx + 0x258]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x2c]
push edx
xor esi, esi
mov dword [esp + 0x70], eax
lea eax, [ebx + 0x1f8]
push esi
mov dword [esp + 0x78], ecx
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x10]
mov byte [esp + 0xbc], 2
call eax
mov cx, word [0x1056993c]
inc cx
add esp, 0x10
mov dword [esp + 0x20], eax
cmp cx, 3
jbe 0x56d782
xor ecx, ecx
mov al, 1
mov dword [esp + 0x14], esi
mov dl, 0xbd
mov edi, 0x10475f44
and dl, 0xf
movsx dx, dl
test al, al
je 0x56d7a3
movzx edx, dx
mov dword [esp + 0x14], edx
jmp 0x56d7c9
shl dx, 4
add word [esp + 0x14], dx
movzx edx, cx
imul edx, edx, 0xfff
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x14]
mov byte [edx + esi + 0x10565940], al
mov eax, dword [esp + 0x1c]
inc esi
mov dl, byte [edi + 1]
test al, al
sete al
inc edi
test dl, dl
jne 0x56d78f
movzx edx, cx
imul edx, edx, 0xfff
mov byte [edx + esi + 0x10565940], 0
xor esi, esi
lea eax, [edx + 0x10565940]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x20], esi
je 0x56d8b6
inc cx
mov word [0x1056993c], cx
cmp cx, 3
jbe 0x56d815
xor ecx, ecx
mov word [0x1056993c], cx
mov al, 1
mov dword [esp + 0x14], esi
mov dl, 0x63
mov edi, 0x10475f04
and dl, 0xf
movsx dx, dl
test al, al
je 0x56d836
movzx edx, dx
mov dword [esp + 0x14], edx
jmp 0x56d85c
shl dx, 4
add word [esp + 0x14], dx
movzx edx, cx
imul edx, edx, 0xfff
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x14]
mov byte [edx + esi + 0x10565940], al
mov eax, dword [esp + 0x1c]
inc esi
mov dl, byte [edi + 1]
test al, al
sete al
inc edi
test dl, dl
jne 0x56d822
movzx ecx, cx
imul ecx, ecx, 0xfff
lea eax, [ecx + 0x10565940]
push 0x1e
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [ecx + esi + 0x10565940], dl
call fcn.0077a88b
add esp, 0xc
test eax, eax
jne 0x56d8af
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [ebx + 0x200]
call fcn.004f6c0f
mov ecx, eax
call fcn.004d83ef
jmp 0x56dec8
mov cx, word [0x1056993c]
inc cx
cmp cx, 3
jbe 0x56d8c0
xor ecx, ecx
xor esi, esi
mov dl, 1
mov dword [esp + 0x14], esi
mov al, 0x34
mov edi, 0x10475ec0
and al, 0xf
cbw
test dl, dl
je 0x56d8e0
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56d906
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x1c], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + esi + 0x10565940], cl
mov ecx, dword [esp + 0x1c]
inc esi
mov al, byte [edi + 1]
test dl, dl
sete dl
inc edi
test al, al
jne 0x56d8cf
movzx eax, cx
imul eax, eax, 0xfff
inc cx
lea edx, [eax + 0x10565940]
mov byte [eax + esi + 0x10565940], 0
mov dword [esp + 0x30], edx
cmp cx, 3
jbe 0x56d938
xor ecx, ecx
xor esi, esi
mov dl, 1
mov dword [esp + 0x14], esi
mov al, 0x3c
mov edi, 0x10475e68
and al, 0xf
cbw
test dl, dl
je 0x56d958
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56d97e
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x1c], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + esi + 0x10565940], cl
mov ecx, dword [esp + 0x1c]
inc esi
mov al, byte [edi + 1]
test dl, dl
sete dl
inc edi
test al, al
jne 0x56d947
movzx eax, cx
imul eax, eax, 0xfff
inc cx
lea edx, [eax + 0x10565940]
mov byte [eax + esi + 0x10565940], 0
mov dword [esp + 0x38], edx
mov word [0x1056993c], cx
cmp cx, 3
jbe 0x56d9be
xor ecx, ecx
mov word [0x1056993c], cx
xor esi, esi
mov dl, 1
mov dword [esp + 0x14], esi
mov al, 0x7b
mov edi, 0x10475e44
mov edi, edi
and al, 0xf
cbw
test dl, dl
je 0x56d9e0
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56da06
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x1c], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + esi + 0x10565940], cl
mov ecx, dword [esp + 0x1c]
inc esi
mov al, byte [edi + 1]
test dl, dl
sete dl
inc edi
test al, al
jne 0x56d9cf
movzx eax, cx
imul eax, eax, 0xfff
lea ecx, [eax + 0x10565940]
mov byte [eax + esi + 0x10565940], 0
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x200]
push 1
call fcn.004f6c0f
mov ecx, eax
call fcn.004db35f
push eax
xor ebp, ebp
push ebp
push ebp
mov ecx, ebx
call fcn.005633ef
push 1
mov esi, eax
xor edx, edx
push 0x10474e6c
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], esi
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], dx
call fcn.0040836f
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
mov byte [esp + 0xb0], 3
call fcn.006a52af
cmp dword [esp + 0x64], 8
mov byte [esp + 0xac], 2
jb 0x56daa7
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00776c58
add esp, 4
mov di, word [0x1056993c]
mov edx, dword [ebx + 0x200]
inc di
cmp byte [edx + 0x2b5], 0
mov word [0x1056993c], di
je 0x56dbf6
cmp di, 3
jbe 0x56dad9
xor edi, edi
mov word [0x1056993c], di
xor ecx, ecx
mov dl, 1
mov dword [esp + 0x14], ebp
mov al, 0xf3
mov esi, 0x10475d88
lea esp, [esp]
and al, 0xf
cbw
test dl, dl
je 0x56db00
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56db26
shl ax, 4
add word [esp + 0x14], ax
movzx eax, di
imul eax, eax, 0xfff
mov dword [esp + 0x1c], edx
mov dl, byte [esp + 0x14]
mov byte [eax + ecx + 0x10565940], dl
mov edx, dword [esp + 0x1c]
inc ecx
mov al, byte [esi + 1]
test dl, dl
sete dl
inc esi
test al, al
jne 0x56daef
movzx eax, di
imul eax, eax, 0xfff
lea edx, [eax + 0x10565940]
mov byte [eax + ecx + 0x10565940], 0
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56db4f
sub eax, esi
mov edi, 0
mov ecx, edi
je 0x56db73
movsx si, byte [ecx + edx]
mov word [ecx*2 + 0x10563940], si
inc ecx
cmp ecx, eax
jb 0x56db61
xor ecx, ecx
mov word [eax*2 + 0x10563940], cx
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
mov eax, 0x10563940
mov word [ecx + 4], dx
mov dword [esp + 0x40], esp
lea edx, [eax + 2]
nop
mov si, word [eax]
add eax, 2
cmp si, di
jne 0x56db9f
sub eax, edx
sar eax, 1
push eax
push 0x10563940
call fcn.0040836f
mov ecx, dword [ebx + 0x200]
mov byte [esp + 0xc8], 4
call fcn.004f89df
mov ecx, eax
mov byte [esp + 0xc8], 2
call fcn.004d5faf
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004ca14f
add esp, 8
mov byte [esp + 0xac], 5
jmp 0x56dd21
cmp di, 3
jbe 0x56dc05
xor edi, edi
mov word [0x1056993c], di
xor ecx, ecx
mov dl, 1
mov dword [esp + 0x14], ebp
mov al, 0x23
mov esi, 0x10475cc8
and al, 0xf
cbw
test dl, dl
je 0x56dc25
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56dc4b
shl ax, 4
add word [esp + 0x14], ax
movzx eax, di
imul eax, eax, 0xfff
mov dword [esp + 0x1c], edx
mov dl, byte [esp + 0x14]
mov byte [eax + ecx + 0x10565940], dl
mov edx, dword [esp + 0x1c]
inc ecx
mov al, byte [esi + 1]
test dl, dl
sete dl
inc esi
test al, al
jne 0x56dc14
movzx eax, di
imul eax, eax, 0xfff
lea edx, [eax + 0x10565940]
mov byte [eax + ecx + 0x10565940], 0
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56dc74
sub eax, esi
mov edi, 0
mov ecx, edi
je 0x56dca1
jmp 0x56dc8f
movsx si, byte [edx + ecx]
mov word [ecx*2 + 0x10563940], si
inc ecx
cmp ecx, eax
jb 0x56dc8f
xor ecx, ecx
mov word [eax*2 + 0x10563940], cx
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
mov eax, 0x10563940
mov word [ecx + 4], dx
mov dword [esp + 0x40], esp
lea edx, [eax + 2]
lea ecx, [ecx]
mov si, word [eax]
add eax, 2
cmp si, di
jne 0x56dccf
sub eax, edx
sar eax, 1
push eax
push 0x10563940
call fcn.0040836f
mov ecx, dword [ebx + 0x200]
mov byte [esp + 0xc8], 6
call fcn.004f89df
mov ecx, eax
mov byte [esp + 0xc8], 2
call fcn.004d5faf
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004ca14f
add esp, 8
mov byte [esp + 0xac], 7
mov esi, dword [esp + 0x20]
push 0xffffffffffffffff
push edi
add esi, 0x1c
push eax
mov ecx, esi
call fcn.0040826f
cmp dword [esp + 0x64], 8
mov byte [esp + 0xac], 2
mov byte [esi + 0x1c], 1
jb 0x56dd53
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00776c58
add esp, 4
mov cx, word [0x1056993c]
inc cx
cmp cx, 3
jbe 0x56dd64
xor ecx, ecx
mov dword [esp + 0x14], edi
xor esi, esi
mov dl, 1
mov al, 0x98
mov edi, 0x1047060c
and al, 0xf
cbw
test dl, dl
je 0x56dd84
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56ddaa
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x1c], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + esi + 0x10565940], cl
mov ecx, dword [esp + 0x1c]
inc esi
mov al, byte [edi + 1]
test dl, dl
sete dl
inc edi
test al, al
jne 0x56dd73
movzx eax, cx
imul eax, eax, 0xfff
inc cx
lea edx, [eax + 0x10565940]
mov byte [eax + esi + 0x10565940], 0
mov dword [esp + 0x20], edx
mov word [0x1056993c], cx
cmp cx, 3
jbe 0x56ddea
xor ecx, ecx
mov word [0x1056993c], cx
xor esi, esi
mov dl, 1
mov dword [esp + 0x14], esi
mov al, 0x4b
mov edi, 0x104705c8
lea ebx, [ebx]
and al, 0xf
cbw
test dl, dl
je 0x56de10
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56de36
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x1c], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + esi + 0x10565940], cl
mov ecx, dword [esp + 0x1c]
inc esi
mov al, byte [edi + 1]
test dl, dl
sete dl
inc edi
test al, al
jne 0x56ddff
movzx eax, cx
imul eax, eax, 0xfff
mov byte [eax + esi + 0x10565940], 0
mov ecx, ebx
lea esi, [eax + 0x10565940]
call fcn.00542e0f
mov ecx, dword [ebx + 0x1f8]
mov edx, dword [ecx + 0x80]
push 0xff
push 0
lea edi, [ebx + 0x1f8]
push 0
push 0
push edi
call edx
fld qword [0x10470440]
mov eax, dword [edi]
mov ecx, dword [eax + 0x68]
add esp, 0x14
push 0
push 0
sub esp, 8
fstp qword [esp]
push 0
push edi
call ecx
add esp, 0x18
cmp dword [esp + 0x30], 0
je 0x56dec8
cmp dword [esp + 0x38], 0
je 0x56dec8
cmp dword [esp + 0x34], 0
je 0x56dec8
cmp dword [esp + 0x20], 0
je 0x56dec8
test esi, esi
je 0x56dec8
mov byte [ebx + 0x1fe], 1
cmp dword [esp + 0x28], 0
je 0x56ded6
mov byte [ebx + 0x1fe], 1
mov ax, word [0x1056993c]
inc ax
cmp ax, 3
jbe 0x56dee6
xor eax, eax
movzx edx, ax
imul edx, edx, 0xfff
inc ax
mov byte [edx + 0x10565940], 0
cmp ax, 3
jbe 0x56df00
xor eax, eax
movzx ecx, ax
imul ecx, ecx, 0xfff
inc ax
mov byte [ecx + 0x10565940], 0
cmp ax, 3
jbe 0x56df1a
xor eax, eax
movzx edx, ax
imul edx, edx, 0xfff
inc ax
mov byte [edx + 0x10565940], 0
mov word [0x1056993c], ax
cmp ax, 3
jbe 0x56df40
xor eax, eax
mov word [0x1056993c], ax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
movzx eax, ax
imul eax, eax, 0xfff
mov byte [eax + 0x10565940], 0
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x24c], ecx
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x250], edx
mov dl, byte [esp + 0x40]
mov dword [ebx + 0x254], eax
mov al, byte [esp + 0x48]
mov dword [ebx + 0x258], ecx
mov ecx, dword [esp + 0x18]
mov byte [ebx + 0x1fc], 1
mov byte [ebx + 0x1fd], dl
mov dword [esp + 0xac], 0xffffffff
mov byte [ecx], al
mov ecx, dword [ebx + 0x200]
push ebx
lea edx, [esp + 0x88]
push edx
call fcn.004eb60f
xor esi, esi
mov ebp, 8
mov dword [esp + 0xac], ebp
cmp dword [esp + 0x98], esi
je 0x56e05e
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
push esi
lea edx, [esp + 0xac]
mov edi, 7
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], esi
push edx
mov word [ecx + 4], ax
call fcn.0040826f
mov ecx, dword [ebx + 0x200]
lea eax, [esp + 0x6c]
push eax
call fcn.004ee89f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x70]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], esi
push eax
mov byte [esp + 0xd4], 9
mov word [ecx + 4], dx
call fcn.0040826f
mov ecx, dword [ebx + 0x200]
call fcn.004ef47f
mov dword [ebx + 0x280], eax
mov byte [esp + 0xac], 8
cmp dword [esp + 0x64], ebp
jb 0x56e05e
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00776c58
add esp, 4
mov eax, dword [ebx + 0x200]
cmp byte [eax + 0x2b4], 0
lea ecx, [eax + 0x2b4]
mov dword [esp + 0x24], ecx
jne 0x56e084
cmp byte [eax + 0x2b6], 0
je 0x56e918
mov dl, byte [ecx]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x40], dl
mov byte [ecx], 0
mov cl, byte [ebx + 0x1fd]
lea eax, [ebx + 0x1fd]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], cl
mov byte [eax], 0
mov edx, dword [ebx + 0x24c]
mov eax, dword [ebx + 0x250]
mov ecx, dword [ebx + 0x254]
mov dword [esp + 0x68], edx
mov edx, dword [ebx + 0x258]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x70], eax
lea eax, [ebx + 0x1f8]
push esi
mov dword [esp + 0x78], ecx
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x10]
mov byte [esp + 0xbc], 0xb
call eax
mov cx, word [0x1056993c]
inc cx
add esp, 0x10
mov dword [esp + 0x20], eax
cmp cx, 3
jbe 0x56e105
xor ecx, ecx
mov al, 1
mov dword [esp + 0x14], esi
mov dl, 0xbd
mov edi, 0x10475f44
and dl, 0xf
movsx dx, dl
test al, al
je 0x56e126
movzx edx, dx
mov dword [esp + 0x14], edx
jmp 0x56e14c
shl dx, 4
add word [esp + 0x14], dx
movzx edx, cx
imul edx, edx, 0xfff
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x14]
mov byte [edx + esi + 0x10565940], al
mov eax, dword [esp + 0x18]
inc esi
mov dl, byte [edi + 1]
test al, al
sete al
inc edi
test dl, dl
jne 0x56e112
movzx edx, cx
imul edx, edx, 0xfff
mov byte [esi + edx + 0x10565940], 0
xor esi, esi
lea eax, [edx + 0x10565940]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x20], esi
je 0x56e239
inc cx
mov word [0x1056993c], cx
cmp cx, 3
jbe 0x56e198
xor ecx, ecx
mov word [0x1056993c], cx
mov al, 1
mov dword [esp + 0x14], esi
mov dl, 0x63
mov edi, 0x10475f04
and dl, 0xf
movsx dx, dl
test al, al
je 0x56e1b9
movzx edx, dx
mov dword [esp + 0x14], edx
jmp 0x56e1df
shl dx, 4
add word [esp + 0x14], dx
movzx edx, cx
imul edx, edx, 0xfff
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x14]
mov byte [edx + esi + 0x10565940], al
mov eax, dword [esp + 0x18]
inc esi
mov dl, byte [edi + 1]
test al, al
sete al
inc edi
test dl, dl
jne 0x56e1a5
movzx ecx, cx
imul ecx, ecx, 0xfff
lea eax, [ecx + 0x10565940]
push 0x1e
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [esi + ecx + 0x10565940], dl
call fcn.0077a88b
add esp, 0xc
test eax, eax
jne 0x56e232
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [ebx + 0x200]
call fcn.004f6c0f
mov ecx, eax
call fcn.004d83ef
jmp 0x56e848
mov cx, word [0x1056993c]
inc cx
cmp cx, 3
jbe 0x56e243
xor ecx, ecx
xor esi, esi
mov dl, 1
mov dword [esp + 0x14], esi
mov al, 0x34
mov edi, 0x10475ec0
and al, 0xf
cbw
test dl, dl
je 0x56e263
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56e289
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + esi + 0x10565940], cl
mov ecx, dword [esp + 0x18]
inc esi
mov al, byte [edi + 1]
test dl, dl
sete dl
inc edi
test al, al
jne 0x56e252
movzx eax, cx
imul eax, eax, 0xfff
inc cx
lea edx, [eax + 0x10565940]
mov byte [esi + eax + 0x10565940], 0
mov dword [esp + 0x34], edx
cmp cx, 3
jbe 0x56e2bb
xor ecx, ecx
xor esi, esi
mov dl, 1
mov dword [esp + 0x14], esi
mov al, 0x3c
mov edi, 0x10475e68
jmp 0x56e2cf
and al, 0xf
cbw
test dl, dl
je 0x56e2e0
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56e306
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + esi + 0x10565940], cl
mov ecx, dword [esp + 0x18]
inc esi
mov al, byte [edi + 1]
test dl, dl
sete dl
inc edi
test al, al
jne 0x56e2cf
movzx eax, cx
imul eax, eax, 0xfff
inc cx
lea edx, [eax + 0x10565940]
mov byte [esi + eax + 0x10565940], 0
mov dword [esp + 0x38], edx
mov word [0x1056993c], cx
cmp cx, 3
jbe 0x56e346
xor ecx, ecx
mov word [0x1056993c], cx
xor esi, esi
mov dl, 1
mov dword [esp + 0x14], esi
mov al, 0x7b
mov edi, 0x10475e44
and al, 0xf
cbw
test dl, dl
je 0x56e366
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56e38c
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + esi + 0x10565940], cl
mov ecx, dword [esp + 0x18]
inc esi
mov al, byte [edi + 1]
test dl, dl
sete dl
inc edi
test al, al
jne 0x56e355
movzx eax, cx
imul eax, eax, 0xfff
lea ecx, [eax + 0x10565940]
mov byte [esi + eax + 0x10565940], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x200]
push 1
call fcn.004f6c0f
mov ecx, eax
call fcn.004db35f
push eax
xor ebp, ebp
push ebp
push ebp
mov ecx, ebx
call fcn.005633ef
push 1
mov esi, eax
xor edx, edx
push 0x10474e6c
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], esi
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], dx
call fcn.0040836f
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
mov byte [esp + 0xb0], 0xc
call fcn.006a52af
cmp dword [esp + 0x64], 8
mov byte [esp + 0xac], 0xb
jb 0x56e42d
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00776c58
add esp, 4
mov di, word [0x1056993c]
mov edx, dword [ebx + 0x200]
inc di
cmp byte [edx + 0x2b5], 0
mov word [0x1056993c], di
je 0x56e576
cmp di, 3
jbe 0x56e45f
xor edi, edi
mov word [0x1056993c], di
xor ecx, ecx
mov dl, 1
mov dword [esp + 0x14], ebp
mov al, 0xf3
mov esi, 0x10475d88
nop
and al, 0xf
cbw
test dl, dl
je 0x56e480
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56e4a6
shl ax, 4
add word [esp + 0x14], ax
movzx eax, di
imul eax, eax, 0xfff
mov dword [esp + 0x18], edx
mov dl, byte [esp + 0x14]
mov byte [eax + ecx + 0x10565940], dl
mov edx, dword [esp + 0x18]
inc ecx
mov al, byte [esi + 1]
test dl, dl
sete dl
inc esi
test al, al
jne 0x56e46f
movzx eax, di
imul eax, eax, 0xfff
lea edx, [eax + 0x10565940]
mov byte [eax + ecx + 0x10565940], 0
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56e4cf
sub eax, esi
mov edi, 0
mov ecx, edi
je 0x56e4f3
movsx si, byte [ecx + edx]
mov word [ecx*2 + 0x10563940], si
inc ecx
cmp ecx, eax
jb 0x56e4e1
xor ecx, ecx
mov word [eax*2 + 0x10563940], cx
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
mov eax, 0x10563940
mov word [ecx + 4], dx
mov dword [esp + 0x34], esp
lea edx, [eax + 2]
nop
mov si, word [eax]
add eax, 2
cmp si, di
jne 0x56e51f
sub eax, edx
sar eax, 1
push eax
push 0x10563940
call fcn.0040836f
mov ecx, dword [ebx + 0x200]
mov byte [esp + 0xc8], 0xd
call fcn.004f89df
mov ecx, eax
mov byte [esp + 0xc8], 0xb
call fcn.004d5faf
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004ca14f
add esp, 8
mov byte [esp + 0xac], 0xe
jmp 0x56e6a1
cmp di, 3
jbe 0x56e585
xor edi, edi
mov word [0x1056993c], di
xor ecx, ecx
mov dl, 1
mov dword [esp + 0x14], ebp
mov al, 0x23
mov esi, 0x10475cc8
and al, 0xf
cbw
test dl, dl
je 0x56e5a5
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56e5cb
shl ax, 4
add word [esp + 0x14], ax
movzx eax, di
imul eax, eax, 0xfff
mov dword [esp + 0x18], edx
mov dl, byte [esp + 0x14]
mov byte [eax + ecx + 0x10565940], dl
mov edx, dword [esp + 0x18]
inc ecx
mov al, byte [esi + 1]
test dl, dl
sete dl
inc esi
test al, al
jne 0x56e594
movzx eax, di
imul eax, eax, 0xfff
lea edx, [eax + 0x10565940]
mov byte [eax + ecx + 0x10565940], 0
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56e5f4
sub eax, esi
mov edi, 0
mov ecx, edi
je 0x56e621
jmp 0x56e60f
movsx si, byte [ecx + edx]
mov word [ecx*2 + 0x10563940], si
inc ecx
cmp ecx, eax
jb 0x56e60f
xor ecx, ecx
mov word [eax*2 + 0x10563940], cx
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
mov eax, 0x10563940
mov word [ecx + 4], dx
mov dword [esp + 0x34], esp
lea edx, [eax + 2]
lea ecx, [ecx]
mov si, word [eax]
add eax, 2
cmp si, di
jne 0x56e64f
sub eax, edx
sar eax, 1
push eax
push 0x10563940
call fcn.0040836f
mov ecx, dword [ebx + 0x200]
mov byte [esp + 0xc8], 0xf
call fcn.004f89df
mov ecx, eax
mov byte [esp + 0xc8], 0xb
call fcn.004d5faf
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004ca14f
add esp, 8
mov byte [esp + 0xac], 0x10
mov esi, dword [esp + 0x20]
push 0xffffffffffffffff
push edi
add esi, 0x1c
push eax
mov ecx, esi
call fcn.0040826f
cmp dword [esp + 0x64], 8
mov byte [esp + 0xac], 0xb
mov byte [esi + 0x1c], 1
jb 0x56e6d3
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00776c58
add esp, 4
mov cx, word [0x1056993c]
inc cx
cmp cx, 3
jbe 0x56e6e4
xor ecx, ecx
mov dword [esp + 0x14], edi
xor esi, esi
mov dl, 1
mov al, 0x98
mov edi, 0x1047060c
and al, 0xf
cbw
test dl, dl
je 0x56e704
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56e72a
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + esi + 0x10565940], cl
mov ecx, dword [esp + 0x18]
inc esi
mov al, byte [edi + 1]
test dl, dl
sete dl
inc edi
test al, al
jne 0x56e6f3
movzx eax, cx
imul eax, eax, 0xfff
inc cx
lea edx, [eax + 0x10565940]
mov byte [eax + esi + 0x10565940], 0
mov dword [esp + 0x2c], edx
mov word [0x1056993c], cx
cmp cx, 3
jbe 0x56e76a
xor ecx, ecx
mov word [0x1056993c], cx
xor esi, esi
mov dl, 1
mov dword [esp + 0x14], esi
mov al, 0x4b
mov edi, 0x104705c8
lea ebx, [ebx]
and al, 0xf
cbw
test dl, dl
je 0x56e790
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x56e7b6
shl ax, 4
add word [esp + 0x14], ax
movzx eax, cx
imul eax, eax, 0xfff
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x14]
mov byte [eax + esi + 0x10565940], cl
mov ecx, dword [esp + 0x18]
inc esi
mov al, byte [edi + 1]
test dl, dl
sete dl
inc edi
test al, al
jne 0x56e77f
movzx eax, cx
imul eax, eax, 0xfff
mov byte [eax + esi + 0x10565940], 0
mov ecx, ebx
lea esi, [eax + 0x10565940]
call fcn.00542e0f
mov ecx, dword [ebx + 0x1f8]
mov edx, dword [ecx + 0x80]
push 0xff
push 0
lea edi, [ebx + 0x1f8]
push 0
push 0
push edi
call edx
fld qword [0x10470440]
mov eax, dword [edi]
mov ecx, dword [eax + 0x68]
add esp, 0x14
push 0
push 0
sub esp, 8
fstp qword [esp]
push 0
push edi
call ecx
add esp, 0x18
cmp dword [esp + 0x34], 0
je 0x56e848
cmp dword [esp + 0x38], 0
je 0x56e848
cmp dword [esp + 0x30], 0
je 0x56e848
cmp dword [esp + 0x2c], 0
je 0x56e848
test esi, esi
je 0x56e848
mov byte [ebx + 0x1fe], 1
cmp dword [esp + 0x1c], 0
je 0x56e856
mov byte [ebx + 0x1fe], 1
mov ax, word [0x1056993c]
inc ax
cmp ax, 3
jbe 0x56e866
xor eax, eax
movzx edx, ax
imul edx, edx, 0xfff
inc ax
mov byte [edx + 0x10565940], 0
cmp ax, 3
jbe 0x56e880
xor eax, eax
movzx ecx, ax
imul ecx, ecx, 0xfff
inc ax
mov byte [ecx + 0x10565940], 0
cmp ax, 3
jbe 0x56e89a
xor eax, eax
movzx edx, ax
imul edx, edx, 0xfff
inc ax
mov byte [edx + 0x10565940], 0
mov word [0x1056993c], ax
cmp ax, 3
jbe 0x56e8c0
xor eax, eax
mov word [0x1056993c], ax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
movzx eax, ax
imul eax, eax, 0xfff
mov byte [eax + 0x10565940], 0
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x24c], ecx
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x250], edx
mov dl, byte [esp + 0x48]
mov dword [ebx + 0x254], eax
mov al, byte [esp + 0x40]
mov dword [ebx + 0x258], ecx
mov ecx, dword [esp + 0x24]
mov byte [ebx + 0x1fc], 1
mov byte [ebx + 0x1fd], dl
mov byte [ecx], al
mov ebp, 8
mov byte [ebx + 0x1ff], 1
cmp dword [esp + 0x9c], ebp
jb 0x56e938
mov edx, dword [esp + 0x88]
push edx
call fcn.00776c58
add esp, 4
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00777267
add esp, 0x9c
ret 4