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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xaa
push 0
push 0
dec ecx
jne 0x564909
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x90]
lea edi, [ebp - 0x418]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3c], ecx
mov edi, edx
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x56bca6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xd4], 0xffffffff
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
sub dword [ebp - 0x40c], eax
push edi
lea esi, [ebp - 0x418]
lea edi, [ebp - 0x448]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp + 0x44]
cmp dword [eax], 0
jl 0x5649b1
mov eax, dword [ebp + 0x8c]
mov eax, dword [eax]
add dword [ebp - 0x418], eax
mov eax, dword [ebp + 0x8c]
mov eax, dword [eax + 4]
add dword [ebp - 0x414], eax
mov eax, dword [ebp + 0x8c]
mov eax, dword [eax + 8]
sub dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x8c]
mov eax, dword [eax + 0xc]
sub dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x44]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.004069b0
lea eax, [ebp - 0x30]
xor edx, edx
call fcn.00406a04
xor eax, eax
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xcd], 0
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
mov byte [ebp - 0xcf], al
mov eax, dword [ebp + 0x18]
mov byte [eax], 0
mov eax, dword [ebp + 0x7c]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x45c]
xor ecx, ecx
mov edx, 0x14
call fcn.00403a80
mov dword [ebp - 0x45c], 0x14
mov dword [ebp - 0x70], 0xffffffff
mov byte [ebp - 0x41], 0
mov byte [ebp - 0x42], 0
mov byte [ebp - 0xa9], 1
mov byte [ebp - 0xaa], 1
mov eax, dword [ebp + 0x20]
mov byte [eax], 0
mov eax, dword [ebp + 0x1c]
mov byte [eax], 0
mov eax, dword [ebp + 0x94]
add eax, 0xffffffd8
xor edx, edx
call fcn.00406a04
mov eax, dword [ebp + 0x4c]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 0xb8], 0
movzx eax, byte [ebp + 0x80]
mov byte [ebp - 0xb9], al
mov eax, dword [ebp + 0x2c]
mov byte [eax], 0
mov eax, dword [ebp + 0x2c]
cmp byte [eax], 0
jne 0x564a88
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
sub eax, 2
jae 0x564a88
mov byte [ebp - 0xb8], 1
mov byte [ebp + 0x80], 0
push edi
lea esi, [ebp - 0x418]
lea edi, [ebp - 0x428]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00406a04
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00406a04
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.00406a04
mov eax, dword [ebp + 0x78]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x74]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x78]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x78]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0x74]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
cmp byte [ebp + 0x84], 0
jne 0x564af7
mov eax, dword [ebp + 0x10]
add dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x29], 0
je 0x564bab
cmp byte [ebp + 0x84], 0
jne 0x564bab
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
call fcn.0049dbe8
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049e100
cmp al, 1
jne 0x564b40
mov dword [ebp - 0xd8], 0x1fffffff
jmp 0x564b51
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0xd8]
call fcn.0049dbf0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp + 0x78]
mov eax, dword [eax]
add eax, dword [ebp - 0x414]
push eax
mov eax, dword [ebp + 0x94]
mov edx, dword [eax + 0x8c]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x38]
call fcn.0049e590
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0xc0]
call fcn.0049dbf0
mov byte [ebp - 0xb7], 1
mov eax, dword [ebp + 0x6c]
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x6c]
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
jmp 0x56bb1a
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0xc]
mov byte [ebp - 0xba], al
mov eax, dword [ebp + 0x4c]
inc dword [eax]
mov eax, dword [ebp - 0x38]
call fcn.005647f0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
call fcn.0056481c
mov dword [ebp - 0x4c], eax
mov edx, dword [edi]
mov eax, 0x56bcc4
call fcn.004074cc
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jle 0x564c6a
mov ecx, dword [ebp - 0x78]
inc ecx
mov edx, dword [edi]
mov eax, 0x56bcc4
call fcn.0046e2e4
mov esi, eax
mov ecx, dword [ebp - 0x78]
inc ecx
mov edx, dword [edi]
mov eax, 0x56bcd4
call fcn.0046e2e4
mov ebx, eax
test ebx, ebx
jle 0x564c48
cmp esi, ebx
jg 0x564c6a
test esi, esi
jne 0x564c50
test ebx, ebx
jg 0x564c6a
cmp esi, ebx
jge 0x564c5b
test esi, esi
jle 0x564c5b
mov dword [ebp - 0x78], esi
test ebx, ebx
jne 0x564c64
xor eax, eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jg 0x564c1c
cmp dword [ebp - 0x78], 0
jle 0x564c86
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x78]
dec ecx
mov eax, dword [edi]
mov edx, 1
call fcn.0040715c
jmp 0x564c90
lea eax, [ebp - 0x10]
mov edx, dword [edi]
call fcn.00406a04
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x564cc2
mov eax, dword [ebp - 0xdc]
sub eax, 0xa
cmp word [eax], 2
je 0x564cc2
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00405c04
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x564ce8
mov eax, dword [ebp - 0xe0]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jle 0x564ed7
push 2
lea eax, [ebp - 0x10]
push eax
mov eax, 0x56bce4
mov dword [ebp - 0x468], eax
mov eax, 0x56bcc4
mov dword [ebp - 0x464], eax
mov eax, 0x56bcd4
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x468]
push eax
mov eax, 0x56bcf4
mov dword [ebp - 0x474], eax
mov eax, 0x56bd10
mov dword [ebp - 0x470], eax
mov eax, 0x56bd28
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x474]
mov edx, 2
pop ecx
call fcn.00564548
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x564d93
mov eax, dword [ebp - 0xe4]
sub eax, 0xa
cmp word [eax], 2
je 0x564d93
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00405c04
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x564db9
mov eax, dword [ebp - 0xe8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0xd4], 0
jl 0x564dfc
cmp dword [ebp - 0x98], 0
jle 0x564dfc
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd4]
jne 0x564dfc
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x410]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je 0x564e44
cmp dword [ebp - 0xa8], 0
jne 0x564e44
mov eax, dword [ebp + 0x58]
cmp dword [eax], 0
jle 0x564e44
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x30]
call fcn.00489844
mov edx, dword [ebp + 0x58]
cmp eax, dword [edx]
jl 0x564e44
mov edx, dword [ebp + 0x58]
mov edx, dword [edx]
dec edx
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x30]
call fcn.0056f66c
mov dword [ebp - 0xa8], eax
cmp byte [ebp + 0x84], 0
jne 0x564e82
push edi
lea esi, [ebp - 0x428]
lea edi, [ebp - 0x438]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
cmp byte [ebp - 0xb7], 0
jne 0x564ebd
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x410]
mov dword [ebp - 0x430], eax
jmp 0x564ebd
push edi
lea esi, [ebp - 0x418]
lea edi, [ebp - 0x438]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
cmp byte [ebp - 0xb7], 0
jne 0x564ebd
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
add eax, dword [ebp - 0x418]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x410]
mov dword [ebp - 0x430], eax
add dword [ebp - 0x434], 0x2710
mov eax, dword [ebp - 0x434]
add eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x42c], eax
cmp byte [ebp + 0x88], 0
jne 0x564efe
cmp dword [ebp - 0xd4], 0
jl 0x564ef6
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd4]
jle 0x564efe
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 1
jne 0x564f15
cmp dword [ebp - 0x98], 0
jle 0x564f15
xor eax, eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x41], 0
jmp 0x5650b3
mov eax, dword [ebp + 0x48]
cmp dword [eax], 0
jl 0x564f62
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x48]
mov edx, dword [edx]
inc edx
cmp eax, edx
jl 0x564f62
xor eax, eax
mov dword [ebp - 0x7c], eax
cmp byte [ebp + 0x88], 0
jne 0x564f54
cmp dword [ebp - 0x98], 0
jle 0x564f54
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 0
je 0x564f54
cmp byte [ebp - 0xb9], 0
jne 0x564f58
xor eax, eax
jmp 0x564f5a
mov al, 1
mov byte [ebp - 0x41], al
jmp 0x5650b3
cmp byte [ebp + 0x80], 0
je 0x5650ae
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 0
setne al
or al, byte [ebp + 0x84]
je 0x5650ae
cmp dword [ebp - 0x98], 0
jle 0x565011
xor eax, eax
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x45c]
push eax
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0x50]
and al, byte [ebp + 0x80]
and eax, 0x7f
mov eax, dword [eax*4 + 0x6241a8]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx - 0x34]
and edx, 0xffffffdf
and edx, 0xffff7fff
or edx, 0x10
or eax, edx
push eax
lea eax, [ebp - 0x438]
push eax
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x565036
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x7c], eax
jmp 0x565036
xor eax, eax
mov dword [ebp - 0x7c], eax
cmp byte [ebp - 0xb7], 0
je 0x565036
mov eax, dword [ebp + 0x78]
xor edx, edx
mov dword [eax], edx
cmp byte [ebp + 0x88], 0
jne 0x565036
mov eax, dword [ebp + 0x74]
xor edx, edx
mov dword [eax], edx
cmp dword [ebp - 0x98], 0
jle 0x56504a
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x98]
jl 0x56504e
xor eax, eax
jmp 0x565050
mov al, 1
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x5650b3
mov eax, dword [ebp + 0x2c]
cmp byte [eax], 0
je 0x5650b3
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 1
jne 0x5650b3
cmp byte [ebp + 0x80], 0
je 0x5650b3
cmp byte [ebp - 0xcd], 0
jne 0x5650b3
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 1
jle 0x5650b3
mov byte [ebp - 0xa9], 1
mov eax, dword [ebp + 0x4c]
dec dword [eax]
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp - 0xc8]
mov dword [eax], edx
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0xcc]
mov dword [eax + 0x18], edx
jmp 0x56bb3a
xor eax, eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x78], 0
jle 0x5650dd
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x78]
jg 0x5650c7
cmp dword [ebp - 0x7c], 0
jne 0x5650dd
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x78]
dec ecx
mov eax, dword [edi]
mov edx, 1
call fcn.0040715c
jmp 0x565102
cmp dword [ebp - 0x7c], 0
jle 0x5650f8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi]
mov ecx, dword [ebp - 0x7c]
mov edx, 1
call fcn.0040715c
jmp 0x565102
lea eax, [ebp - 0x10]
mov edx, dword [edi]
call fcn.00406a04
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x565134
mov eax, dword [ebp - 0xec]
sub eax, 0xa
cmp word [eax], 2
je 0x565134
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00405c04
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
je 0x56515a
mov eax, dword [ebp - 0xf0]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jle 0x5651cf
push 2
lea eax, [ebp - 0x10]
push eax
mov eax, 0x56bce4
mov dword [ebp - 0x468], eax
mov eax, 0x56bcc4
mov dword [ebp - 0x464], eax
mov eax, 0x56bcd4
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x468]
push eax
mov eax, 0x56bcf4
mov dword [ebp - 0x474], eax
mov eax, 0x56bd10
mov dword [ebp - 0x470], eax
mov eax, 0x56bd28
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x474]
mov edx, 2
pop ecx
call fcn.00564548
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x565201
mov eax, dword [ebp - 0xf4]
sub eax, 0xa
cmp word [eax], 2
je 0x565201
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00405c04
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
je 0x565227
mov eax, dword [ebp - 0xf8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x565241
mov eax, dword [ebp + 0x4c]
dec dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, 0x56bd40
call fcn.00407154
jne 0x56527b
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.00406a04
mov eax, edi
mov ecx, 1
mov edx, 1
call fcn.0040722c
xor eax, eax
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jle 0x565385
mov eax, dword [ebp + 0x48]
cmp dword [eax], 0
jl 0x565385
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x48]
mov edx, dword [edx]
inc edx
cmp eax, edx
jl 0x565385
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x48]
mov edx, dword [edx]
inc edx
cmp eax, edx
je 0x5652cb
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 0
je 0x5652cb
cmp byte [ebp - 0xb9], 0
jne 0x565354
cmp dword [ebp - 0xa8], 0
je 0x5652e0
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0x3c], 0
jne 0x565354
mov eax, edi
mov ecx, dword [ebp - 0x98]
mov edx, 1
call fcn.0040722c
lea eax, [ebp - 0x14]
mov edx, 0x56bd40
call fcn.00406dc4
xor eax, eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0xa8], 0
je 0x56531a
mov eax, dword [ebp - 0xa8]
mov byte [eax + 0x3d], 1
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x48]
mov edx, dword [edx]
inc edx
cmp eax, edx
je 0x565354
movzx eax, byte [ebp - 0xb9]
xor al, 1
and al, byte [ebp - 0xcd]
je 0x565354
cmp dword [ebp - 0xd4], 0
jl 0x565354
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd4]
jle 0x565354
mov byte [ebp - 0x41], 1
cmp byte [ebp - 0x41], 0
je 0x565385
mov byte [ebp - 0xa9], 1
mov eax, dword [ebp + 0x4c]
dec dword [eax]
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp - 0xc8]
mov dword [eax], edx
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0xcc]
mov dword [eax + 0x18], edx
jmp 0x56bb3a
cmp dword [ebp - 0x98], 0
jle 0x566c2e
mov byte [ebp - 0xb7], 0
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x35], 0
je 0x5653bf
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
mov edx, dword [ebp - 0x50]
shr edx, 2
cmp eax, edx
jge 0x5653bf
mov eax, dword [ebp - 0x50]
shr eax, 2
mov edx, dword [ebp + 0x68]
mov dword [edx], eax
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x36], 0
je 0x5653e5
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
mov edx, dword [ebp - 0x50]
shr edx, 2
cmp eax, edx
jge 0x5653e5
mov eax, dword [ebp - 0x50]
shr eax, 2
mov edx, dword [ebp + 0x64]
mov dword [edx], eax
mov eax, dword [ebp + 0x78]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x78]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x50]
jge 0x565402
mov eax, dword [ebp + 0x78]
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
mov eax, dword [ebp + 0x74]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x74]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x4c]
jge 0x56541f
mov eax, dword [ebp + 0x74]
mov edx, dword [ebp - 0x4c]
mov dword [eax], edx
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je 0x565442
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
call fcn.00406a04
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
call fcn.00406dc4
mov eax, dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x34]
mov edx, dword [edx]
call fcn.00406a04
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00406dc4
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x34]
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406a04
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x37], 0
je 0x565497
mov eax, edi
mov ecx, dword [ebp - 0x98]
mov edx, 1
call fcn.0040722c
mov byte [ebp - 0xa9], 1
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x37], 0
jne 0x566c2e
cmp byte [ebp + 0x84], 0
jne 0x565c94
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x36], 0
je 0x5654d2
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
sub dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x35], 0
je 0x5654e9
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
add dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
sub dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x74]
mov edx, dword [ebp - 0x41c]
sub edx, dword [eax]
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp + 0x94]
push edi
lea edi, [eax - 0x10]
lea esi, [ebp - 0x428]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
push edi
lea esi, [ebp - 0x428]
lea edi, [ebp - 0x438]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0xb6], 1
mov byte [ebp - 0xb5], 0
push 0
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0x50]
and al, byte [ebp + 0x80]
and eax, 0x7f
mov eax, dword [eax*4 + 0x6241a8]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx - 0x34]
and edx, 0xffffffdf
and edx, 0xfffffff7
and edx, 0xfffffdff
and edx, 0xffff7fff
or edx, 0x10
or eax, edx
or eax, 0x400
push eax
mov eax, dword [ebp + 0x94]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 0x94]
sub eax, dword [edx - 0xc]
cmp eax, dword [ebp - 0x50]
jg 0x5655f9
mov byte [ebp - 0xb6], 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 8]
cmp eax, dword [ebp - 0x420]
jg 0x5655e8
mov byte [ebp - 0xba], 0
jmp 0x5655f9
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x38], 1
mov byte [ebp - 0xb5], 1
mov eax, dword [ebp + 0x94]
push edi
lea edi, [eax - 0x10]
lea esi, [ebp - 0x428]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00406a04
push 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
or eax, 0x400
push eax
lea eax, [ebp - 0x428]
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
cmp byte [ebp - 0xb6], 0
je 0x565680
cmp byte [ebp + 0x80], 0
jne 0x565680
mov eax, dword [ebp - 0x420]
cmp eax, dword [ebp - 0x430]
jle 0x565680
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x38], 1
mov byte [ebp - 0xb5], 1
mov eax, dword [ebp - 0x420]
sub eax, dword [ebp - 0x428]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp - 0x410]
jge 0x565b1f
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x39], 0
je 0x5657ee
mov eax, dword [ebp + 0x94]
mov ecx, dword [eax + 0x70]
mov eax, dword [ebp + 0x94]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp + 0x94]
add eax, 0xfffffff0
call fcn.00409840
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x94]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d47c
cmp byte [ebp - 0xba], 0
jne 0x565715
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0xc], 0
sete al
and al, byte [ebp - 0xb5]
je 0x56577c
cmp dword [ebp - 0xd4], 0
jl 0x56577c
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xd4]
dec edx
cmp eax, edx
jg 0x56577c
push 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
and eax, 0xfffffdff
and eax, 0xfffffeff
movzx edx, byte [ebp - 0xba]
or eax, dword [edx*4 + 0x6241b0]
push eax
mov eax, dword [ebp + 0x94]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
jmp 0x5657c8
push 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
and eax, 0xfffffdff
movzx edx, byte [ebp - 0xba]
or eax, dword [edx*4 + 0x6241b0]
or eax, 0x100
push eax
mov eax, dword [ebp + 0x94]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
mov eax, dword [ebp + 0x94]
push edi
lea edi, [eax - 0x10]
lea esi, [ebp - 0x438]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x88]
call fcn.0049d47c
cmp dword [ebp - 0xd4], 0
jl 0x565ad1
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xd4]
dec edx
cmp eax, edx
jg 0x565ad1
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 0x94]
cmp eax, dword [edx - 8]
jle 0x565835
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 0x94]
mov dword [edx - 8], eax
cmp byte [ebp - 0xba], 0
jne 0x565924
push 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
and eax, 0xfffffdff
movzx edx, byte [ebp - 0xba]
or eax, dword [edx*4 + 0x6241b0]
movzx edx, byte [ebp - 0xb5]
xor dl, 1
and edx, 0x7f
or eax, dword [edx*4 + 0x6241a0]
push eax
mov eax, dword [ebp + 0x94]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 0x94]
sub eax, dword [edx - 0x10]
cmp eax, dword [ebp - 0xa0]
jge 0x5658c1
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x38], 1
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 0x94]
sub eax, dword [edx - 0x10]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xfc]
jge 0x5658f5
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x100], eax
jmp 0x565901
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x428]
add eax, dword [ebp - 0xa0]
mov dword [ebp - 0x420], eax
jmp 0x565b4c
lea eax, [ebp - 0xc]
mov edx, 0x56bd50
call fcn.00406dc4
mov eax, dword [ebp - 0xc]
call fcn.00406a3c
mov dword [ebp - 0x40], eax
push 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
and eax, 0xfffffdff
and eax, 0xfffffeff
or eax, 0x10000
movzx edx, byte [ebp - 0xba]
or eax, dword [edx*4 + 0x6241b0]
push eax
mov eax, dword [ebp + 0x94]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
mov eax, dword [ebp - 0x10]
call fcn.00406a3c
mov edx, dword [ebp - 0x40]
call fcn.00471b68
test eax, eax
je 0x565b4c
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x38], 1
mov byte [ebp - 0xb5], 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x40]
call fcn.00406b5c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x5659ee
mov eax, dword [ebp - 0x104]
sub eax, 0xa
cmp word [eax], 2
je 0x5659ee
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00405c04
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x565a14
mov eax, dword [ebp - 0x108]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 0x94]
sub eax, dword [edx - 0x10]
mov dword [ebp - 0xa0], eax
push 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
or eax, 0x400
push eax
mov eax, dword [ebp + 0x94]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 0x94]
sub eax, dword [edx - 0x10]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x10c]
jge 0x565aa5
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x110], eax
jmp 0x565ab1
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x428]
add eax, dword [ebp - 0xa0]
mov dword [ebp - 0x420], eax
jmp 0x565b4c
push 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
and eax, 0xfffffdff
movzx edx, byte [ebp - 0xba]
or eax, dword [edx*4 + 0x6241b0]
or eax, 0x100
push eax
mov eax, dword [ebp + 0x94]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
jmp 0x565b4c
cmp dword [ebp - 0xd4], 0
jl 0x565b4c
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xd4]
dec edx
cmp eax, edx
jg 0x565b4c
xor eax, eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x7c]
mov edx, dword [ebp - 0xa0]
add dword [eax], edx
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je 0x565b95
mov eax, dword [ebp + 0x94]
cmp dword [eax + 0x78], 0
jl 0x565b95
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp + 0x58]
mov edx, dword [edx]
dec edx
cmp eax, edx
jne 0x565b95
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx - 0x40]
call fcn.004069b0
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x41], 0
je 0x565c33
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, 0xff
call fcn.0049dbf0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, 1
call fcn.0049dd30
mov eax, dword [ebp - 0x428]
sar eax, 1
jns 0x565bd2
adc eax, 0
mov ebx, eax
add ebx, ebx
mov eax, ebx
and eax, 0x80000003
jns 0x565be4
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jne 0x565bef
mov esi, 2
jmp 0x565bf1
xor esi, esi
mov ecx, dword [ebp - 0x40c]
add ecx, esi
dec ecx
mov edx, ebx
mov eax, dword [ebp - 0x38]
call fcn.0049e4d0
jmp 0x565c2b
cmp esi, 2
jne 0x565c0f
xor esi, esi
jmp 0x565c14
mov esi, 2
mov ecx, dword [ebp - 0x40c]
add ecx, esi
dec ecx
lea edx, [ebx + 2]
mov eax, dword [ebp - 0x38]
call fcn.0049e470
add ebx, 2
cmp ebx, dword [ebp - 0x420]
jl 0x565c06
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
and eax, 0x20000
cmp eax, 0x20000
je 0x565c62
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x410]
mov dword [ebp - 0x420], eax
jmp 0x565c77
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x420]
add eax, dword [ebp - 0x428]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x424], eax
jmp 0x566a5e
cmp byte [ebp + 0x88], 0
jne 0x565d3c
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x14]
cmp byte [eax], 0
jne 0x565cbb
mov eax, dword [ebp + 0x48]
cmp dword [eax], 0
jl 0x565d3c
mov eax, dword [ebp + 0x48]
cmp dword [eax], 0
jle 0x565d3c
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x48]
cmp eax, dword [edx]
jne 0x565d3c
cmp dword [ebp - 0xa8], 0
je 0x565d02
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0x3c], 0
je 0x565d02
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 1
jle 0x565d02
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
dec eax
mov edx, dword [ebp + 0x48]
mov dword [edx], eax
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
jmp 0x56bc50
lea eax, [ebp - 8]
mov edx, 0x56bd70
call fcn.00406a04
cmp byte [ebp - 0xba], 1
je 0x565d2a
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00406dc4
add dword [ebp - 0x9c], 3
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x14]
movzx eax, byte [eax]
mov byte [ebp - 0xcd], al
push edi
lea esi, [ebp - 0x418]
lea edi, [ebp - 0x428]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp - 0x420]
jle 0x565d68
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x420], eax
push 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
or eax, 0x400
push eax
lea eax, [ebp - 0x428]
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
xor eax, eax
mov dword [ebp - 0x48], eax
cmp byte [ebp + 0x88], 0
je 0x565e68
cmp dword [ebp - 0x10], 0
je 0x565e68
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x565dec
mov eax, dword [ebp - 0x114]
sub eax, 0xa
cmp word [eax], 2
je 0x565dec
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00405c04
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x565e1e
mov eax, dword [ebp - 0x118]
sub eax, 0xa
cmp word [eax], 2
je 0x565e1e
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00405c04
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x565e44
mov eax, dword [ebp - 0x11c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x114]
mov edx, dword [ebp - 0x11c]
cmp word [eax + edx*2 - 2], 0x20
jne 0x565e68
mov edx, 0x56bce4
mov eax, dword [ebp - 0x38]
call fcn.0049e780
mov dword [ebp - 0x48], eax
cmp byte [ebp + 0x88], 0
je 0x56607c
mov eax, dword [ebp - 0x420]
sub eax, dword [ebp - 0x428]
sub eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x430]
sub edx, dword [ebp - 0x438]
cmp eax, edx
jle 0x56607c
cmp byte [ebp - 0xba], 0
jne 0x565eca
mov eax, dword [ebp - 0x430]
sub eax, dword [ebp - 0x438]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x428]
add eax, dword [ebp - 0xa0]
mov dword [ebp - 0x420], eax
jmp 0x56607c
lea eax, [ebp - 0xc]
mov ecx, 0x56bd50
mov edx, dword [ebp - 0x10]
call fcn.00406e84
mov eax, dword [ebp - 0xc]
call fcn.00406a3c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x94]
push edi
lea edi, [eax - 0x10]
lea esi, [ebp - 0x438]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
push 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
and eax, 0xfffffdff
and eax, 0xfffffeff
or eax, 0x10000
movzx edx, byte [ebp - 0xba]
or eax, dword [edx*4 + 0x6241b0]
push eax
mov eax, dword [ebp + 0x94]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
mov eax, dword [ebp - 0x10]
call fcn.00406a3c
mov edx, dword [ebp - 0x40]
call fcn.00471b68
test eax, eax
je 0x56607c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x40]
call fcn.00406b5c
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 0x94]
sub eax, dword [edx - 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x565fc1
mov eax, dword [ebp - 0x120]
sub eax, 0xa
cmp word [eax], 2
je 0x565fc1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00405c04
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x565fe7
mov eax, dword [ebp - 0x124]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x124], eax
push 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
or eax, 0x400
push eax
mov eax, dword [ebp + 0x94]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp - 0x124]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x128]
push eax
call sub.user32.dll_DrawTextExW
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 0x94]
sub eax, dword [edx - 0x10]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x12c]
jge 0x566052
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x130], eax
jmp 0x56605e
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x428]
add eax, dword [ebp - 0xa0]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp - 0x424]
jl 0x566111
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp - 0x41c]
jge 0x566111
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x38]
jge 0x566111
mov eax, dword [ebp + 0x94]
add eax, 0xffffffe4
push eax
push 0
mov eax, dword [ebp + 0x94]
add eax, 0xffffffec
push eax
mov eax, dword [ebp + 0x7c]
mov edx, dword [ebp + 0x38]
sub edx, dword [eax]
push edx
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetTextExtentExPointW
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x14]
cmp eax, dword [ebp - 0x98]
jne 0x5660ff
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x98]
add dword [eax - 0x48], edx
jmp 0x566111
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp + 0x94]
add dword [edx - 0x48], eax
mov eax, dword [ebp - 0x420]
sub eax, dword [ebp - 0x428]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jge 0x566134
xor eax, eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x7c]
mov edx, dword [ebp - 0xa0]
add dword [eax], edx
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x34]
and eax, 0x20000
cmp eax, 0x20000
jne 0x566168
mov eax, dword [ebp - 0x410]
sub eax, dword [ebp + 0x38]
sub eax, dword [ebp - 0x428]
mov dword [ebp - 0x5c], eax
jmp 0x566174
mov eax, dword [ebp + 0x38]
sub eax, dword [ebp - 0x428]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
movzx eax, byte [eax]
and al, byte [ebp + 0x88]
je 0x56630f
mov eax, dword [ebp + 0x74]
mov edx, dword [ebp - 0x41c]
sub edx, dword [eax]
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x41c]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
add eax, dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x420]
sub eax, dword [ebp - 0xa0]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov edx, dword [ebp + 0x30]
cmp eax, dword [edx + 8]
jne 0x5661f2
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x428]
mov dword [eax], edx
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x420]
mov dword [eax + 8], edx
jmp 0x566224
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x428]
jle 0x56620a
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x428]
mov dword [eax], edx
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x420]
jge 0x566224
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x420]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 0x30]
cmp eax, dword [edx + 0xc]
jne 0x56624c
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x424]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x41c]
mov dword [eax + 0xc], edx
jmp 0x566280
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 4]
cmp eax, dword [ebp - 0x424]
jle 0x566266
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x424]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 0xc]
cmp eax, dword [ebp - 0x41c]
jge 0x566280
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x41c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x38]
cmp eax, dword [ebp - 0x428]
jl 0x5662e6
mov eax, dword [ebp + 0x38]
cmp eax, dword [ebp - 0x420]
jg 0x5662e6
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp - 0x424]
jl 0x5662e6
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp - 0x41c]
jge 0x5662e6
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx - 0x40]
call fcn.004069b0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx - 0x28]
call fcn.004069b0
mov eax, dword [ebp + 0x28]
mov byte [eax], 1
mov eax, dword [ebp + 0x28]
cmp byte [eax], 0
je 0x56630f
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x1c]
push edi
mov esi, eax
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
dec eax
mov edx, dword [ebp + 0x54]
mov dword [edx], eax
cmp byte [ebp + 0x88], 0
jne 0x56635a
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
add eax, dword [ebp - 0x418]
add eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x410]
jle 0x56635a
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd4]
je 0x56635a
cmp dword [ebp - 8], 0
je 0x566356
cmp dword [ebp - 0xa8], 0
je 0x56635a
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0x3c], 0
je 0x56635a
xor eax, eax
jmp 0x56635c
mov al, 1
mov byte [ebp - 0xa9], al
movzx eax, byte [ebp - 0xa9]
mov byte [ebp - 0xaa], al
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je 0x566412
cmp byte [ebp - 0xa9], 0
je 0x5663b6
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
add eax, dword [ebp - 0x418]
add eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x410]
jg 0x5663a0
cmp dword [ebp - 8], 0
je 0x566412
cmp byte [ebp - 0xcd], 0
jne 0x5663b6
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd4]
jge 0x566412
cmp dword [ebp - 0xa8], 0
je 0x566412
mov eax, dword [ebp - 0xa8]
mov byte [eax + 0x3d], 1
cmp byte [ebp + 0x80], 0
je 0x5663e1
cmp byte [ebp - 0x41], 0
jne 0x566412
cmp dword [ebp - 0xd4], 0
jl 0x566412
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0x3c], 0
je 0x566412
mov eax, dword [ebp - 0x440]
sub eax, dword [ebp - 0x448]
cmp eax, dword [ebp - 0xa0]
jl 0x56640b
mov eax, dword [ebp - 0xa8]
mov byte [eax + 0x3d], 0
mov byte [ebp - 0xa9], 1
movzx eax, byte [ebp - 0xa9]
xor al, 1
and al, byte [ebp + 0x80]
je 0x566440
cmp dword [ebp - 0xd4], 0
jl 0x566440
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd4]
jg 0x566440
mov byte [ebp - 0xa9], 1
cmp byte [ebp - 0xcd], 0
je 0x56645e
cmp byte [ebp - 0xa9], 0
jne 0x56645e
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 1
jg 0x566550
cmp byte [ebp - 0xcf], 0
jne 0x56649e
cmp byte [ebp - 0xcd], 0
jne 0x56649e
cmp byte [ebp - 0xa9], 0
jne 0x56649e
cmp byte [ebp + 0x80], 0
jne 0x56649e
cmp byte [ebp - 0xb8], 0
jne 0x56649e
cmp byte [ebp - 0x41], 0
jne 0x56649e
cmp byte [ebp - 0xba], 0
jne 0x566550
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x44]
cmp eax, dword [edx]
jge 0x5664f8
cmp byte [ebp - 0xcf], 0
jne 0x5664f8
cmp byte [ebp - 0xcd], 0
jne 0x5664c8
mov eax, dword [ebp + 0x48]
mov eax, dword [eax]
mov edx, dword [ebp + 0x4c]
cmp eax, dword [edx]
jne 0x5664f8
cmp byte [ebp - 0xa9], 0
je 0x5664f8
cmp dword [ebp - 8], 0
je 0x5664f8
cmp byte [ebp + 0x80], 0
jne 0x5664f8
cmp byte [ebp - 0xb8], 0
jne 0x5664f8
cmp byte [ebp - 0x41], 0
jne 0x5664f8
cmp byte [ebp - 0xba], 0
jne 0x566550
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xd4]
dec edx
cmp eax, edx
sete al
and al, byte [ebp + 0x80]
je 0x5666c5
cmp byte [ebp - 0x41], 0
jne 0x5666c5
cmp byte [ebp - 0xba], 0
je 0x5666c5
cmp byte [ebp - 0xa9], 0
je 0x5666c5
cmp byte [ebp - 0xaa], 0
jne 0x5666c5
cmp dword [ebp - 8], 0
jne 0x5666c5
lea eax, [ebp - 0x478]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0040715c
lea eax, [ebp - 0x478]
mov edx, 0x56bd70
call fcn.00406dc4
mov edx, dword [ebp - 0x478]
mov eax, dword [ebp - 0x38]
call fcn.0049e780
mov ebx, eax
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
sub eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0x418]
add eax, dword [ebp + 0x10]
add ebx, eax
cmp ebx, dword [ebp - 0x410]
jle 0x5666bc
cmp byte [ebp - 0xb9], 0
je 0x5665bc
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 0
jg 0x5665c0
xor eax, eax
jmp 0x5665c2
mov al, 1
mov byte [ebp - 0x41], al
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x38], 1
cmp byte [ebp - 0xcd], 0
je 0x5665fe
mov eax, dword [ebp + 0x48]
cmp dword [eax], 1
jle 0x5665fe
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 0
jle 0x5665fe
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
dec eax
mov edx, dword [ebp + 0x48]
mov dword [edx], eax
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
jmp 0x56bc50
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 1
jle 0x56663b
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x14]
cmp byte [eax], 0
je 0x56663b
cmp byte [ebp - 0xcd], 0
jne 0x56663b
mov eax, dword [ebp + 0x48]
cmp dword [eax], 1
jle 0x56663b
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
dec eax
mov edx, dword [ebp + 0x48]
mov dword [edx], eax
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
jmp 0x56bc50
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x14]
cmp byte [eax], 0
jne 0x566691
cmp byte [ebp - 0xcf], 0
jne 0x566691
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 0
je 0x566673
cmp byte [ebp + 0x80], 0
je 0x566673
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xd4]
dec edx
cmp eax, edx
jne 0x566691
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 1
jle 0x566691
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
dec eax
mov edx, dword [ebp + 0x48]
mov dword [edx], eax
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
jmp 0x56bc50
cmp byte [ebp - 0xcf], 0
jne 0x5666da
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 0
je 0x5666ab
cmp byte [ebp + 0x80], 0
jne 0x5666da
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 1
jne 0x5666da
mov byte [ebp - 0xa9], 1
jmp 0x5666da
mov byte [ebp - 0xa9], 1
jmp 0x5666da
movzx eax, byte [ebp + 0x80]
xor al, 1
or al, byte [ebp - 0xa9]
mov byte [ebp - 0xa9], al
cmp byte [ebp - 0xa9], 0
jne 0x5668dd
cmp byte [ebp + 0x80], 0
je 0x5668dd
push 0
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0x50]
and al, byte [ebp + 0x80]
and eax, 0x7f
mov eax, dword [eax*4 + 0x6241a8]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx - 0x34]
and edx, 0xfffffdff
and edx, 0xffffffdf
and edx, 0xffff7fff
or edx, 0x10
or eax, edx
or eax, 0x400
push eax
lea eax, [ebp - 0x438]
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.user32.dll_DrawTextExW
mov eax, dword [ebp - 0x42c]
sub eax, dword [ebp - 0x434]
cmp eax, dword [ebp - 0x50]
setle byte [ebp - 0xa9]
cmp byte [ebp - 0xa9], 0
je 0x5667a7
mov eax, dword [ebp - 0x410]
cmp eax, dword [ebp - 0x438]
jle 0x566793
mov eax, dword [ebp - 0x410]
cmp eax, dword [ebp - 0x430]
jge 0x56679f
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 1
je 0x56679f
xor eax, eax
jmp 0x5667a1
mov al, 1
mov byte [ebp - 0xa9], al
cmp byte [ebp - 0xa9], 0
jne 0x566950
cmp byte [ebp - 0xba], 0
je 0x566950
mov eax, dword [ebp - 0x414]
add eax, dword [ebp - 0xb0]
mov edx, dword [ebp + 0x6c]
add eax, dword [edx]
mov edx, dword [ebp + 0x70]
add eax, dword [edx]
add eax, dword [ebp - 0x50]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x8c]
cmp eax, dword [edx + 0xc]
jle 0x566950
lea eax, [ebp - 0x47c]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0040715c
lea eax, [ebp - 0x47c]
mov edx, 0x56bd70
call fcn.00406dc4
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp - 0x38]
call fcn.0049e780
mov edx, dword [ebp + 0x7c]
mov edx, dword [edx]
sub edx, dword [ebp - 0xa0]
add edx, dword [ebp - 0x418]
add edx, dword [ebp + 0x10]
add eax, edx
cmp eax, dword [ebp - 0x410]
jle 0x566861
cmp dword [ebp - 0xa8], 0
je 0x566950
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0x3c], 0
je 0x566950
mov byte [ebp - 0xa9], 1
cmp byte [ebp - 0x41], 0
jne 0x566950
cmp byte [ebp - 0xaa], 0
jne 0x566950
cmp dword [ebp - 0xa8], 0
je 0x566950
cmp dword [ebp - 0xd4], 0
jge 0x566950
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0x3c], 0
je 0x566950
mov eax, dword [ebp - 0xa8]
mov byte [eax + 0x3d], 0
mov eax, dword [ebp + 0x8c]
mov edx, dword [ebp - 0xa0]
add dword [eax + 8], edx
mov eax, dword [ebp + 0x44]
cmp dword [eax], 0
jge 0x56bc50
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x44]
mov dword [edx], eax
jmp 0x56bc50
cmp byte [ebp + 0x88], 0
jne 0x566950
cmp byte [ebp + 0x80], 0
je 0x5668f5
cmp byte [ebp - 0x41], 0
jne 0x566950
cmp byte [ebp - 0xaa], 0
jne 0x566950
cmp dword [ebp - 0xa8], 0
je 0x566950
cmp dword [ebp - 0xd4], 0
jge 0x566950
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0x3c], 0
je 0x566950
mov eax, dword [ebp - 0xa8]
mov byte [eax + 0x3d], 0
mov eax, dword [ebp + 0x8c]
mov edx, dword [ebp - 0xa0]
add dword [eax + 8], edx
mov eax, dword [ebp + 0x44]
cmp dword [eax], 0
jge 0x56bc50
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x44]
mov dword [edx], eax
jmp 0x56bc50
movzx eax, byte [ebp - 0xa9]
and al, byte [ebp + 0x80]
je 0x5669ed
cmp byte [ebp - 0x41], 0
jne 0x5669ed
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
add eax, dword [ebp - 0x418]
add eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x410]
jl 0x5669ed
mov eax, dword [edi]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x5669b2
mov eax, dword [ebp - 0x134]
sub eax, 0xa
cmp word [eax], 2
je 0x5669b2
mov edx, dword [edi]
mov eax, edi
call fcn.00405c04
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x5669d8
mov eax, dword [ebp - 0x138]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x138]
setl byte [ebp - 0x139]
jmp 0x5669f4
mov byte [ebp - 0x139], 0
cmp byte [ebp - 0x139], 0
je 0x566a13
mov eax, dword [edi]
mov edx, dword [ebp - 0x98]
cmp word [eax + edx*2], 0x3c
sete byte [ebp - 0x13a]
jmp 0x566a1a
mov byte [ebp - 0x13a], 0
cmp byte [ebp - 0x13a], 0
jne 0x566a51
cmp byte [ebp + 0x80], 0
je 0x566a51
cmp byte [ebp - 0x41], 0
jne 0x566a4c
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
add eax, dword [ebp - 0x418]
add eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x410]
jge 0x566a4c
xor eax, eax
jmp 0x566a4e
mov al, 1
mov byte [ebp - 0x41], al
movzx eax, byte [ebp - 0xa9]
mov byte [ebp - 0xa9], al
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
call fcn.00406dc4
cmp byte [ebp + 0x80], 0
je 0x566aef
cmp byte [ebp - 0x41], 0
jne 0x566a81
cmp byte [ebp + 0x84], 0
jne 0x566aef
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 0
jl 0x566aef
mov byte [ebp - 0xce], 0
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 0
je 0x566ab8
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 1
jne 0x566ab8
mov eax, dword [ebp + 0x2c]
cmp byte [eax], 0
je 0x566ab8
cmp byte [ebp - 0xa9], 0
jne 0x566ab8
mov byte [ebp - 0xce], 1
mov eax, dword [ebp + 0x5c]
dec dword [eax]
mov eax, dword [ebp + 0x2c]
mov byte [eax], 0
mov eax, dword [ebp + 0x5c]
cmp dword [eax], 0
jg 0x566b1d
cmp byte [ebp - 0xce], 0
jne 0x566b1d
mov byte [ebp - 0x41], 0
mov byte [ebp - 0xa9], 1
mov byte [ebp + 0x80], 0
mov byte [ebp - 0xb8], 1
jmp 0x566b1d
cmp byte [ebp - 0xb8], 0
je 0x566b1d
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 1
jle 0x566b05
mov eax, dword [ebp + 0x4c]
dec dword [eax]
mov byte [ebp - 0xb8], 0
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0xb9]
mov byte [ebp + 0x80], al
cmp byte [ebp - 0xa9], 0
jne 0x566b39
cmp byte [ebp + 0x80], 0
jne 0x566bb3
cmp byte [ebp - 0x41], 0
jne 0x566bb3
lea eax, [ebp - 0x480]
push eax
mov eax, dword [edi]
mov ecx, dword [ebp - 0x98]
mov edx, 1
call fcn.0040715c
mov edx, dword [ebp - 0x480]
lea eax, [ebp - 0x14]
call fcn.00406dc4
cmp byte [ebp - 0xba], 1
je 0x566b74
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406dc4
mov eax, edi
mov ecx, dword [ebp - 0x98]
mov edx, 1
call fcn.0040722c
cmp byte [ebp - 0x41], 0
je 0x566b97
mov eax, dword [ebp + 0x70]
mov edx, dword [ebp - 0xc4]
mov dword [eax], edx
mov eax, dword [ebp + 0x6c]
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xcc], eax
jmp 0x566c2e
mov eax, dword [ebp + 0x4c]
dec dword [eax]
cmp dword [ebp - 0xa8], 0
je 0x566bcb
mov eax, dword [ebp - 0xa8]
mov byte [eax + 0x3d], 0
mov byte [ebp - 0x41], 1
mov eax, dword [ebp + 0x7c]
mov edx, dword [ebp - 0xa0]
sub dword [eax], edx
mov eax, dword [ebp + 0x78]
mov edx, dword [ebp - 0xb0]
mov dword [eax], edx
mov eax, dword [ebp + 0x74]
mov edx, dword [ebp - 0xb4]
mov dword [eax], edx
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je 0x566c03
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
call fcn.004069b0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
call fcn.004069b0
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp - 0xc8]
mov dword [eax], edx
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0xcc]
mov dword [eax + 0x18], edx
mov edx, dword [edi]
mov eax, 0x56bcc4
call fcn.004074cc
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
jne 0x566caa
mov eax, dword [edi]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x566c72
mov eax, dword [ebp - 0x140]
sub eax, 0xa
cmp word [eax], 2
je 0x566c72
mov edx, dword [edi]
mov eax, edi
call fcn.00405c04
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x566c98
mov eax, dword [ebp - 0x144]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 2
jg 0x566caa
mov eax, edi
xor edx, edx
call fcn.004069b0
cmp byte [ebp - 0x41], 0
jne 0x56bb1a
cmp dword [ebp - 0x78], 1
jne 0x56bb1a
mov eax, dword [edi]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
je 0x566ced
mov eax, dword [ebp - 0x148]
sub eax, 0xa
cmp word [eax], 2
je 0x566ced
mov edx, dword [edi]
mov eax, edi
call fcn.00405c04
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x566d13
mov eax, dword [ebp - 0x14c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 2
jle 0x56bb1a
mov eax, dword [edi]
cmp word [eax + 2], 0x2f
jne 0x566d8e
mov eax, dword [edi]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
je 0x566d58
mov eax, dword [ebp - 0x150]
sub eax, 0xa
cmp word [eax], 2
je 0x566d58
mov edx, dword [edi]
mov eax, edi
call fcn.00405c04
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
je 0x566d7e
mov eax, dword [ebp - 0x154]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 3
setg byte [ebp - 0x155]
jmp 0x566d95
mov byte [ebp - 0x155], 0
cmp byte [ebp - 0x155], 0
je 0x56754c
mov eax, dword [edi]
movzx eax, word [eax + 4]
mov word [ebp - 0x158], ax
movzx eax, word [ebp - 0x158]
mov word [ebp - 0x15a], ax
movzx eax, word [ebp - 0x158]
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x566ddf
movzx eax, word [ebp - 0x158]
and ax, 0xffdf
mov word [ebp - 0x15a], ax
movzx eax, word [ebp - 0x15a]
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x56759c.67
jmp dword [eax*4 + 0x566df9]
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je case.0x56759c.67
cmp byte [ebp + 0x84], 0
jne 0x566ecf
mov eax, dword [ebp + 0x94]
cmp dword [eax - 0x4c], 0x1fffffff
jne 0x566e94
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x566ecf
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x4c]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x1fffffff
jne 0x566ebe
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x566ecf
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x160]
call fcn.0049dfa8
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.004069b0
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x58], 0
jne 0x566f04
mov eax, dword [ebp + 0x94]
cmp dword [eax + 0x74], 0
jl 0x566f21
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp + 0x58]
mov edx, dword [edx]
dec edx
cmp eax, edx
jne 0x566f21
cmp byte [ebp + 0x84], 0
jne 0x566f21
mov eax, dword [ebp + 0x94]
mov edx, dword [eax - 0x50]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d47c
cmp byte [ebp + 0x84], 0
jne 0x566f4d
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x60], 0
jne 0x566f4d
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x54]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d47c
cmp byte [ebp + 0x88], 0
je 0x567000
mov eax, dword [ebp + 0x28]
cmp byte [eax], 0
je 0x566fdb
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x40c]
mov dword [eax - 0x58], edx
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
add eax, dword [ebp - 0x418]
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x5c], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x60]
cmp eax, dword [ebp - 0x414]
je 0x566fb4
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x418]
mov dword [eax - 0x64], edx
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x414]
mov dword [eax - 0x60], edx
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x1c]
push edi
mov esi, eax
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
dec eax
mov edx, dword [ebp + 0x54]
mov dword [edx], eax
mov eax, dword [ebp + 0x28]
mov byte [eax], 0
push 0
lea eax, [ebp - 0x490]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00409744
mov eax, dword [ebp + 0x30]
push edi
lea esi, [ebp - 0x490]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp + 0x58]
cmp dword [eax], 0
jle 0x56705f
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x30]
call fcn.00489844
mov edx, dword [ebp + 0x58]
cmp eax, dword [edx]
jl 0x56705f
mov edx, dword [ebp + 0x58]
mov edx, dword [edx]
dec edx
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x30]
call fcn.0056f66c
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x30], 0
jne 0x56705f
movzx eax, byte [ebp - 0xb9]
mov byte [ebp + 0x80], al
mov eax, dword [ebp + 0x94]
cmp dword [eax + 0x78], 0
jl 0x5670d7
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp + 0x58]
mov edx, dword [edx]
dec edx
cmp eax, edx
jne 0x5670d7
cmp byte [ebp + 0x84], 0
jne 0x5670d7
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x428]
mov dword [eax - 0x6c], edx
mov eax, dword [ebp + 0x60]
mov edx, dword [ebp - 0x41c]
sub edx, dword [eax]
mov eax, dword [ebp + 0x94]
mov dword [eax - 0x68], edx
mov eax, dword [ebp - 0x38]
call fcn.005647f0
mov edx, dword [ebp + 0x94]
mov edx, dword [edx - 0x68]
sub edx, eax
mov eax, dword [ebp + 0x94]
mov dword [eax - 0x70], edx
mov eax, dword [ebp + 0x94]
lea edx, [eax - 0x74]
mov eax, dword [ebp - 0x38]
call fcn.0049e3b0
mov eax, dword [ebp + 0x94]
mov edx, dword [eax - 0x78]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x5c]
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 0x24]
mov byte [eax], 0
cmp byte [ebp - 0xb8], 0
je case.0x56759c.67
mov byte [ebp - 0xb8], 0
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0xb9]
mov byte [ebp + 0x80], al
jmp case.0x56759c.67
cmp byte [ebp + 0x84], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x41], 0
jmp case.0x56759c.67
mov eax, dword [edi]
cmp word [eax + 6], 0x3e
je 0x56716d
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x54]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d47c
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d82c
movzx edx, byte [0x56bd78]
not edx
and dl, al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d838
jmp case.0x56759c.67
mov eax, dword [edi]
movzx eax, word [eax + 6]
mov word [ebp - 0x162], ax
movzx eax, word [ebp - 0x162]
mov word [ebp - 0x164], ax
movzx eax, word [ebp - 0x162]
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x5671d0
movzx eax, word [ebp - 0x162]
and ax, 0xffdf
mov word [ebp - 0x164], ax
movzx eax, word [ebp - 0x164]
mov word [ebp - 0xa2], ax
cmp word [ebp - 0xa2], 0x54
jne 0x56720e
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d82c
movzx edx, byte [0x56bd7c]
not edx
and dl, al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d838
jmp case.0x56759c.67
cmp word [ebp - 0xa2], 0x55
jne 0x567231
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x36], 0
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x35], 0
jmp case.0x56759c.67
cmp word [ebp - 0xa2], 0x50
jne 0x567288
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x7c]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0x1fffffff
jne 0x567265
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x567276
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x168]
call fcn.0049dfa8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp case.0x56759c.67
cmp word [ebp - 0xa2], 0x48
jne 0x5672a1
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x39], 0
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d82c
movzx edx, byte [0x56bd7c]
not edx
and dl, al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d838
jmp case.0x56759c.67
lea edx, [ebp - 0x494]
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x54]
call fcn.0049d740
mov edx, dword [ebp - 0x494]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d794
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x54]
call fcn.0049d700
mov edx, eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d708
cmp byte [ebp + 0x84], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x60], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x54]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d47c
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x7c]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0x1fffffff
jne 0x567368
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x16c]
call fcn.0049dfa8
jmp case.0x56759c.67
cmp byte [ebp + 0x84], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov edx, dword [eax - 0x80]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d47c
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x84]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0x1fffffff
jne 0x5673cf
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x170]
call fcn.0049dfa8
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d82c
movzx edx, byte [0x56bd80]
not edx
and dl, al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d838
jmp case.0x56759c.67
mov byte [ebp - 0x41], 1
jmp case.0x56759c.67
mov eax, dword [edi]
cmp word [eax + 6], 0x3e
je 0x56743c
mov eax, dword [ebp + 0x50]
cmp dword [eax], 0
jle 0x56743c
mov eax, dword [ebp + 0x50]
dec dword [eax]
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x85], 0
jmp case.0x56759c.67
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
jmp case.0x56759c.67
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax - 0x86]
mov edx, dword [ebp + 0x40]
mov byte [edx], al
mov byte [ebp - 0x41], 1
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x29], 0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x34]
mov edx, 0x56bd90
call fcn.00406dc4
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x34]
cmp byte [ebp + 0x84], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x60], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x8c]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0x1fffffff
jne 0x5674d1
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x174]
call fcn.0049dfa8
jmp case.0x56759c.67
mov eax, dword [edi]
cmp word [eax + 6], 0x3e
je 0x567502
mov eax, dword [ebp + 0x50]
cmp dword [eax], 0
jle 0x567502
mov eax, dword [ebp + 0x50]
dec dword [eax]
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d82c
movzx edx, byte [0x56bd98]
not edx
and dl, al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d838
jmp case.0x56759c.67
mov eax, dword [ebp + 0x94]
push eax
mov eax, dword [ebp - 0x38]
call fcn.005648d4
pop ecx
jmp case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x37], 0
jmp case.0x56759c.67
mov eax, dword [edi]
movzx eax, word [eax + 2]
mov word [ebp - 0x176], ax
movzx eax, word [ebp - 0x176]
mov word [ebp - 0x178], ax
movzx eax, word [ebp - 0x176]
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x567589
movzx eax, word [ebp - 0x176]
and ax, 0xffdf
mov word [ebp - 0x178], ax
movzx eax, word [ebp - 0x178]
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x56759c.67
jmp dword [eax*4 + 0x5675a3]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x78]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x94]
cmp dword [eax + 0x78], 0
jl 0x567662
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp + 0x58]
cmp eax, dword [edx]
jne 0x567662
cmp byte [ebp + 0x84], 0
jne 0x567662
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x428]
mov dword [eax - 0x74], edx
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x424]
mov dword [eax - 0x70], edx
cmp byte [ebp + 0x84], 0
jne 0x5676a6
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049e100
cmp al, 1
jne 0x567686
mov dword [ebp - 0x17c], 0x1fffffff
jmp 0x567697
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa0
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x17c]
mov dword [eax - 0x4c], edx
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x58], 0
jne 0x5676d6
mov eax, dword [ebp + 0x94]
cmp dword [eax + 0x74], 0
jl 0x56776b
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp + 0x58]
cmp eax, dword [edx]
jne 0x56776b
cmp byte [ebp + 0x84], 0
jne 0x56776b
mov eax, dword [ebp + 0x94]
cmp dword [eax + 0x44], 0x1fffffff
je 0x567736
cmp byte [ebp + 0x84], 0
jne 0x567736
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0x1fffffff
jne 0x567725
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x567736
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x180]
call fcn.0049dfa8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x50], eax
mov eax, dword [ebp + 0x94]
cmp dword [eax + 0x40], 0x1fffffff
je 0x56776b
mov eax, dword [ebp + 0x94]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d47c
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.004069b0
mov eax, dword [ebp + 0x2c]
mov byte [eax], 1
mov edx, dword [edi]
mov eax, 0x56bcd4
call fcn.004074cc
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x5c]
mov dword [eax], 0xffffffff
xor eax, eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x58]
cmp dword [eax], 0
jl 0x5679a0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x30]
call fcn.00489844
mov edx, dword [ebp + 0x58]
cmp eax, dword [edx]
jle 0x5679a0
mov edx, dword [ebp + 0x58]
mov edx, dword [edx]
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x30]
call fcn.0056f66c
mov dword [ebp - 0xa8], eax
cmp byte [ebp + 0x84], 0
je 0x5678b9
cmp byte [ebp + 0x88], 0
jne 0x5678fa
mov eax, dword [ebp - 0xa8]
mov byte [eax + 0x3d], 0
mov edx, dword [edi]
mov ecx, dword [ebp - 0x70]
mov eax, 0x56bda8
call fcn.0046e2e4
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x567875
mov eax, dword [edi]
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0
je 0x567845
mov eax, dword [ebp - 0x184]
sub eax, 0xa
cmp word [eax], 2
je 0x567845
mov edx, dword [edi]
mov eax, edi
call fcn.00405c04
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x56786b
mov eax, dword [ebp - 0x188]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xa8]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x70]
mov eax, dword [edi]
mov edx, dword [ebp - 0x70]
call fcn.0040715c
lea edx, [ebp - 0x498]
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x40]
call fcn.0056468c
mov edx, dword [ebp - 0x498]
mov eax, dword [ebp - 0xa8]
add eax, 0x40
call fcn.004069b0
jmp 0x5678fa
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x20], 0x1fffffff
je 0x5678fa
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x20], 0x1fffffff
jne 0x5678e6
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x5678fa
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa8
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebp + 0x84], 0
jne 0x567947
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x58], 0
jne 0x567933
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp + 0x58]
cmp eax, dword [edx]
jne 0x567947
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 0x5c]
mov dword [edx], eax
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x38], 0xffffd8f1
je 0x567991
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 0x70]
mov dword [edx], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 0x6c]
mov dword [edx], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xc4], eax
jmp 0x5679a0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x70]
sub ecx, 2
mov eax, dword [edi]
mov edx, 3
call fcn.0040715c
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.0046fb70
mov edx, dword [ebp - 0x20]
mov eax, 0x56bdc0
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jle 0x567a83
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
je 0x567a19
mov eax, dword [ebp - 0x190]
sub eax, 0xa
cmp word [eax], 2
je 0x567a19
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0
je 0x567a3f
mov eax, dword [ebp - 0x194]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 7
mov ecx, dword [ebp - 0x194]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x49c]
mov eax, dword [ebp - 0x28]
call fcn.005642a0
mov edx, dword [ebp - 0x49c]
lea eax, [ebp - 0x28]
call fcn.00406a04
or edx, 0xffffffff
mov eax, dword [ebp - 0x28]
call fcn.00470aa4
mov edx, dword [ebp + 0x5c]
mov dword [edx], eax
mov edx, dword [ebp - 0x20]
mov eax, 0x56bddc
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
jle 0x567b51
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00406a04
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
je 0x567ae6
mov eax, dword [ebp - 0x19c]
sub eax, 0xa
cmp word [eax], 2
je 0x567ae6
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x567b0c
mov eax, dword [ebp - 0x1a0]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 4
mov ecx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x4a0]
mov eax, dword [ebp - 0x28]
call fcn.005642a0
mov edx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x28]
call fcn.00406a04
mov eax, dword [ebp + 0x94]
add eax, 0xffffffc0
mov edx, dword [ebp - 0x28]
call fcn.00406a04
mov edx, dword [ebp - 0x20]
mov eax, 0x56bdf4
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
jle 0x567c21
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00406a04
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
je 0x567bb4
mov eax, dword [ebp - 0x1a8]
sub eax, 0xa
cmp word [eax], 2
je 0x567bb4
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x567bda
mov eax, dword [ebp - 0x1ac]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 5
mov ecx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x4a4]
mov eax, dword [ebp - 0x28]
call fcn.005642a0
mov edx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x28]
call fcn.00406a04
mov eax, dword [ebp + 0x94]
add eax, 0xffffffd8
mov edx, dword [ebp - 0x28]
call fcn.00406a04
jmp 0x567c31
mov eax, dword [ebp + 0x94]
add eax, 0xffffffd8
xor edx, edx
call fcn.00406a04
mov eax, dword [ebp + 0x24]
mov byte [eax], 1
cmp dword [ebp - 0xa8], 0
je 0x567c63
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0x3c], 0
je 0x567c63
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x30]
sub eax, 2
jb 0x567c63
mov eax, dword [ebp + 0x5c]
mov dword [eax], 1
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
sub eax, 1
jb 0x567c71
je 0x567c7a
jmp 0x567c90
mov byte [ebp + 0x80], 0
jmp 0x567c90
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 0
jne 0x567c90
mov byte [ebp + 0x80], 0
mov byte [ebp - 0xb8], 1
cmp byte [ebp + 0x88], 0
je 0x567cea
mov eax, dword [ebp - 0x414]
push eax
lea eax, [ebp - 0x490]
push eax
mov ecx, dword [ebp + 0x7c]
mov ecx, dword [ecx]
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x414]
call fcn.00409744
mov eax, dword [ebp + 0x30]
push edi
lea esi, [ebp - 0x490]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x64], eax
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x414]
mov dword [eax - 0x60], edx
mov eax, dword [ebp + 0x58]
inc dword [eax]
jmp case.0x56759c.67
mov eax, dword [edi]
movzx eax, word [eax + 4]
mov word [ebp - 0x1ae], ax
movzx eax, word [ebp - 0x1ae]
mov word [ebp - 0x1b0], ax
movzx eax, word [ebp - 0x1ae]
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x567d31
movzx eax, word [ebp - 0x1ae]
and ax, 0xffdf
mov word [ebp - 0x1b0], ax
movzx eax, word [ebp - 0x1b0]
mov word [ebp - 0xa2], ax
movzx eax, word [ebp - 0xa2]
sub ax, 0x3e
je 0x567d6b
sub ax, 0xe
je 0x567f3f
sub ax, 3
je 0x567f6b
sub ax, 3
je 0x567d8e
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d82c
mov edx, eax
or dl, byte [0x56bd78]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d838
jmp case.0x56759c.67
mov byte [ebp - 0x41], 1
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x34]
mov edx, 0x56bd90
call fcn.00406dc4
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x34]
mov eax, dword [edi]
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b4]
mov eax, 0x56bcd4
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
jle 0x567ec7
lea eax, [ebp - 0x4a8]
push eax
mov ecx, dword [ebp - 0x78]
sub ecx, 4
mov eax, dword [edi]
mov edx, 4
call fcn.0040715c
mov eax, dword [ebp - 0x4a8]
lea edx, [ebp - 0x20]
call fcn.0046fb70
mov edx, dword [ebp - 0x20]
mov eax, 0x56be0c
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
jle 0x567ec7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
je 0x567e5e
mov eax, dword [ebp - 0x1c0]
sub eax, 0xa
cmp word [eax], 2
je 0x567e5e
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0
je 0x567e84
mov eax, dword [ebp - 0x1c4]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 9
mov ecx, dword [ebp - 0x1c4]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x4ac]
mov eax, dword [ebp - 0x28]
call fcn.005642a0
mov edx, dword [ebp - 0x4ac]
lea eax, [ebp - 0x28]
call fcn.00406a04
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.00470aa4
mov edx, dword [ebp + 0x70]
mov dword [edx], eax
cmp dword [ebp - 0x9c], 0
sete al
and al, byte [ebp - 0xb7]
je case.0x56759c.67
mov eax, dword [ebp + 0x78]
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
mov eax, dword [ebp + 0x74]
mov edx, dword [ebp - 0x4c]
mov dword [eax], edx
mov eax, dword [ebp + 0x4c]
inc dword [eax]
cmp byte [ebp + 0x84], 0
je case.0x56759c.67
cmp byte [ebp + 0x88], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x14]
cmp byte [eax], 0
je case.0x56759c.67
mov eax, dword [ebp + 0x48]
cmp dword [eax], 0
jle case.0x56759c.67
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x48]
cmp eax, dword [edx]
je 0x565d02
jmp case.0x56759c.67
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x5c], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov edx, dword [eax - 0x90]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d47c
jmp case.0x56759c.67
lea eax, [ebp - 0x4b0]
push eax
mov edx, dword [edi]
mov eax, 0x56bcd4
call fcn.004074cc
mov ecx, eax
mov eax, dword [edi]
mov edx, 1
call fcn.0040715c
mov edx, dword [ebp - 0x4b0]
lea eax, [ebp - 0x14]
call fcn.00406dc4
cmp byte [ebp + 0x84], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x60], 0
jne case.0x56759c.67
lea eax, [ebp - 0x4b4]
push eax
mov edx, dword [edi]
mov eax, 0x56bcd4
call fcn.004074cc
mov ecx, eax
dec ecx
mov eax, dword [edi]
mov edx, 6
call fcn.0040715c
mov eax, dword [ebp - 0x4b4]
lea edx, [ebp - 0x20]
call fcn.0046fb70
mov edx, dword [ebp - 0x20]
mov eax, 0x56be2c
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
jle 0x568429
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 0
je 0x56803f
mov eax, dword [ebp - 0x1cc]
sub eax, 0xa
cmp word [eax], 2
je 0x56803f
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
je 0x568065
mov eax, dword [ebp - 0x1d0]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 0xa
mov ecx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x4b8]
mov eax, dword [ebp - 0x28]
call fcn.005642a0
mov edx, dword [ebp - 0x4b8]
lea eax, [ebp - 0x28]
call fcn.00406a04
lea edx, [ebp - 0x4bc]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x4bc]
mov eax, 0x56be50
call fcn.004074cc
test eax, eax
jle 0x5680cd
lea eax, [ebp - 0x28]
mov ecx, 4
mov edx, 1
call fcn.0040722c
lea edx, [ebp - 0x4c0]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x4c0]
mov eax, 0x56be68
call fcn.004074cc
test eax, eax
jle 0x5681c7
lea eax, [ebp - 0x28]
mov ecx, 5
mov edx, 1
call fcn.0040722c
mov eax, dword [ebp - 0x28]
push eax
push 0
movzx eax, byte [ebp + 0x84]
xor al, 1
push eax
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0x64]
push eax
mov eax, dword [ebp + 0x94]
push dword [eax + 0x4c]
push dword [eax + 0x48]
lea eax, [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x38]
call fcn.00563b90
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x4c8]
mov dword [eax - 0x98], edx
mov edx, dword [ebp - 0x4c4]
mov dword [eax - 0x94], edx
push 0x60
push 0x58
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x98]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x98], eax
push 0x60
push 0x5a
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x94]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x94], eax
lea edx, [ebp - 0x4cc]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x4cc]
mov eax, 0x56be80
call fcn.004074cc
test eax, eax
jle 0x5682c1
lea eax, [ebp - 0x28]
mov ecx, 5
mov edx, 1
call fcn.0040722c
mov eax, dword [ebp - 0x28]
push eax
push 1
movzx eax, byte [ebp + 0x84]
xor al, 1
push eax
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0x64]
push eax
mov eax, dword [ebp + 0x94]
push dword [eax + 0x4c]
push dword [eax + 0x48]
lea eax, [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x38]
call fcn.00563b90
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x4c8]
mov dword [eax - 0x98], edx
mov edx, dword [ebp - 0x4c4]
mov dword [eax - 0x94], edx
push 0x60
push 0x58
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x98]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x98], eax
push 0x60
push 0x5a
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x94]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x94], eax
xor eax, eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x568429
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x568429
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x568429
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x24]
test eax, eax
jle 0x568429
xor eax, eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_CreateRectRgn
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x9c], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x9c]
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_SelectClipRgn
jmp 0x5683e0
xor eax, eax
mov dword [ebp - 0x60], eax
jmp 0x5683b3
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp + 0x94]
mov ecx, dword [eax + 0x8c]
mov ecx, dword [ecx + 4]
add ecx, dword [ebp - 0x64]
mov eax, dword [ebp + 0x94]
mov edx, dword [eax + 0x8c]
mov edx, dword [edx]
add edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x38]
call fcn.0049e304
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x30]
add dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x8c]
sub eax, dword [edx]
cmp eax, dword [ebp - 0x60]
jg 0x568379
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x24]
add dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x8c]
sub eax, dword [edx + 4]
cmp eax, dword [ebp - 0x64]
jg 0x568372
push 0
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x9c]
push eax
call sub.gdi32.dll_DeleteObject
mov edx, dword [ebp - 0x20]
mov eax, 0x56be98
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
jle 0x5688ea
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0
je 0x568481
mov eax, dword [ebp - 0x1d8]
sub eax, 0xa
cmp word [eax], 2
je 0x568481
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
je 0x5684a7
mov eax, dword [ebp - 0x1dc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 0xa
mov ecx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0
je 0x5684f1
mov eax, dword [ebp - 0x1e0]
sub eax, 0xa
cmp word [eax], 2
je 0x5684f1
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0
je 0x568517
mov eax, dword [ebp - 0x1e4]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea edx, [ebp - 0x4d0]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x4d0]
mov eax, 0x56be50
call fcn.004074cc
test eax, eax
jle 0x56858e
lea eax, [ebp - 0x28]
mov ecx, 4
mov edx, 1
call fcn.0040722c
lea edx, [ebp - 0x4d4]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x4d4]
mov eax, 0x56be68
call fcn.004074cc
test eax, eax
jle 0x568688
lea eax, [ebp - 0x28]
mov ecx, 5
mov edx, 1
call fcn.0040722c
mov eax, dword [ebp - 0x28]
push eax
push 0
movzx eax, byte [ebp + 0x84]
xor al, 1
push eax
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0x64]
push eax
mov eax, dword [ebp + 0x94]
push dword [eax + 0x4c]
push dword [eax + 0x48]
lea eax, [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x38]
call fcn.00563b90
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x4c8]
mov dword [eax - 0x98], edx
mov edx, dword [ebp - 0x4c4]
mov dword [eax - 0x94], edx
push 0x60
push 0x58
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x98]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x98], eax
push 0x60
push 0x5a
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x94]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x94], eax
lea edx, [ebp - 0x4d8]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x4d8]
mov eax, 0x56be80
call fcn.004074cc
test eax, eax
jle 0x568782
lea eax, [ebp - 0x28]
mov ecx, 5
mov edx, 1
call fcn.0040722c
mov eax, dword [ebp - 0x28]
push eax
push 1
movzx eax, byte [ebp + 0x84]
xor al, 1
push eax
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0x64]
push eax
mov eax, dword [ebp + 0x94]
push dword [eax + 0x4c]
push dword [eax + 0x48]
lea eax, [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x38]
call fcn.00563b90
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x4c8]
mov dword [eax - 0x98], edx
mov edx, dword [ebp - 0x4c4]
mov dword [eax - 0x94], edx
push 0x60
push 0x58
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x98]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x98], eax
push 0x60
push 0x5a
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x94]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x94], eax
xor eax, eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x5688ea
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x5688ea
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5688ea
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x24]
test eax, eax
jle 0x5688ea
xor eax, eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_CreateRectRgn
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x9c], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x9c]
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_SelectClipRgn
jmp 0x5688a1
xor eax, eax
mov dword [ebp - 0x60], eax
jmp 0x568874
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp + 0x94]
mov ecx, dword [eax + 0x8c]
mov ecx, dword [ecx + 4]
add ecx, dword [ebp - 0x64]
mov eax, dword [ebp + 0x94]
mov edx, dword [eax + 0x8c]
mov edx, dword [edx]
add edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x38]
call fcn.0049e304
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x30]
add dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x8c]
sub eax, dword [edx]
cmp eax, dword [ebp - 0x60]
jg 0x56883a
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x24]
add dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x8c]
sub eax, dword [edx + 4]
cmp eax, dword [ebp - 0x64]
jg 0x568833
push 0
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x9c]
push eax
call sub.gdi32.dll_DeleteObject
mov edx, dword [ebp - 0x20]
mov eax, 0x56bec8
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 0
jle 0x568c27
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 0
je 0x568942
mov eax, dword [ebp - 0x1ec]
sub eax, 0xa
cmp word [eax], 2
je 0x568942
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
je 0x568968
mov eax, dword [ebp - 0x1f0]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1f0], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 0xa
mov ecx, dword [ebp - 0x1f0]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 0
je 0x5689b2
mov eax, dword [ebp - 0x1f4]
sub eax, 0xa
cmp word [eax], 2
je 0x5689b2
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 0
je 0x5689d8
mov eax, dword [ebp - 0x1f8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x1f8]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea edx, [ebp - 0x4dc]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x4dc]
mov eax, 0x56be50
call fcn.004074cc
test eax, eax
jle 0x568a4f
lea eax, [ebp - 0x28]
mov ecx, 4
mov edx, 1
call fcn.0040722c
lea edx, [ebp - 0x4e0]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x4e0]
mov eax, 0x56be68
call fcn.004074cc
test eax, eax
jle 0x568a83
lea eax, [ebp - 0x28]
mov ecx, 5
mov edx, 1
call fcn.0040722c
lea edx, [ebp - 0x4e4]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x4e4]
mov eax, 0x56be80
call fcn.004074cc
test eax, eax
jle 0x568ab7
lea eax, [ebp - 0x28]
mov ecx, 5
mov edx, 1
call fcn.0040722c
xor eax, eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x568c27
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x568c27
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x568c27
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x24]
test eax, eax
jle 0x568c27
xor eax, eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_CreateRectRgn
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x9c], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x9c]
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_SelectClipRgn
jmp 0x568bde
xor eax, eax
mov dword [ebp - 0x60], eax
jmp 0x568bb1
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x8c]
mov edx, dword [edx + 8]
sub edx, eax
mov eax, dword [ebp + 0x94]
mov ecx, dword [eax + 0x8c]
mov ecx, dword [ecx + 4]
add ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x38]
call fcn.0049e304
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x30]
add dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x8c]
sub eax, dword [edx]
cmp eax, dword [ebp - 0x60]
jg 0x568b6f
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
call dword [edx + 0x24]
add dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0x8c]
sub eax, dword [edx + 4]
cmp eax, dword [ebp - 0x64]
jg 0x568b68
push 0
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x9c]
push eax
call sub.gdi32.dll_DeleteObject
mov edx, dword [ebp - 0x20]
mov eax, 0x56beec
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x1fc], 0
jle case.0x56759c.67
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 0
je 0x568c7f
mov eax, dword [ebp - 0x200]
sub eax, 0xa
cmp word [eax], 2
je 0x568c7f
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
je 0x568ca5
mov eax, dword [ebp - 0x204]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x204], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 7
mov ecx, dword [ebp - 0x204]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov edx, 0x1fffffff
mov eax, dword [ebp - 0x28]
call fcn.00564414
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x20]
mov eax, 0x56bf08
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jle 0x568f53
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x568d28
mov eax, dword [ebp - 0x20c]
sub eax, 0xa
cmp word [eax], 2
je 0x568d28
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x568d4e
mov eax, dword [ebp - 0x210]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 9
mov ecx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov edx, 0x1fffffff
mov eax, dword [ebp - 0x28]
call fcn.00564414
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x28]
mov edx, 0x56bf28
call fcn.00406a04
mov edx, dword [ebp - 0x20]
mov eax, 0x56bf38
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jle 0x568eb7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x568dde
mov eax, dword [ebp - 0x218]
sub eax, 0xa
cmp word [eax], 2
je 0x568dde
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x568e04
mov eax, dword [ebp - 0x21c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 3
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x568e4e
mov eax, dword [ebp - 0x220]
sub eax, 0xa
cmp word [eax], 2
je 0x568e4e
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x568e74
mov eax, dword [ebp - 0x224]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040715c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x88]
call fcn.0049dbf0
push 0x1fffffff
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x490]
push eax
mov eax, dword [ebp + 0x94]
mov ecx, dword [eax + 0x8c]
mov ecx, dword [ecx + 8]
mov eax, dword [ebp + 0x94]
mov edx, dword [eax + 0x8c]
mov edx, dword [edx + 4]
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax]
call fcn.00409744
lea eax, [ebp - 0x490]
push eax
mov eax, dword [ebp - 0x28]
mov edx, 0x56bf28
call fcn.00407154
sete al
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x38]
call fcn.00563dc4
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049e100
cmp al, 1
jne 0x568f6e
mov dword [ebp - 0x228], 0x1fffffff
jmp 0x568f7f
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa0
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x228]
mov dword [eax - 0x7c], edx
cmp dword [ebp - 0x88], 0x1fffffff
jne 0x568fa9
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x568fba
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x88]
call fcn.0049dfa8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
call fcn.0049dbe8
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x88]
call fcn.0049dbf0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp + 0x94]
mov ecx, dword [eax + 0x8c]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + 0x94]
mov edx, dword [eax + 0x8c]
mov edx, dword [edx]
sub edx, 2
mov eax, dword [ebp - 0x38]
call fcn.0049e590
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0xc0]
call fcn.0049dbf0
jmp case.0x56759c.67
cmp byte [ebp + 0x84], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x41], 1
jmp case.0x56759c.67
mov eax, dword [edi]
movzx eax, word [eax + 4]
mov word [ebp - 0x22a], ax
movzx eax, word [ebp - 0x22a]
mov word [ebp - 0x22c], ax
movzx eax, word [ebp - 0x22a]
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x569093
movzx eax, word [ebp - 0x22a]
and ax, 0xffdf
mov word [ebp - 0x22c], ax
movzx eax, word [ebp - 0x22c]
sub ax, 0x49
je 0x56920f
sub ax, 9
jne case.0x56759c.67
mov byte [ebp - 0x41], 1
cmp byte [ebp + 0x84], 0
jne case.0x56759c.67
lea eax, [ebp - 0x20]
push eax
mov edx, dword [edi]
mov eax, 0x56bcd4
call fcn.004074cc
mov ecx, eax
dec ecx
mov eax, dword [edi]
mov edx, 4
call fcn.0040715c
xor eax, eax
mov dword [ebp - 0x88], eax
lea edx, [ebp - 0x4e8]
mov eax, dword [ebp - 0x20]
call fcn.0046fb70
mov eax, dword [ebp - 0x4e8]
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x230]
mov eax, 0x56bf4c
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jle 0x5691ad
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x56915b
mov eax, dword [ebp - 0x238]
sub eax, 0xa
cmp word [eax], 2
je 0x56915b
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x569181
mov eax, dword [ebp - 0x23c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 5
mov ecx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x28]
call fcn.00564414
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
call fcn.0049dbe8
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x88]
call fcn.0049dbf0
mov ecx, dword [ebp - 0x41c]
inc ecx
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x38]
call fcn.0049e4d0
mov ecx, dword [ebp - 0x41c]
inc ecx
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x38]
call fcn.0049e470
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0xc0]
call fcn.0049dbf0
jmp case.0x56759c.67
cmp byte [ebp + 0x84], 0
jne case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x80], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049e100
cmp al, 1
jne 0x569249
mov dword [ebp - 0x240], 0x1fffffff
jmp 0x56925a
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa0
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x240]
mov dword [eax - 0x84], edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000d
call fcn.0049dfa8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, 0xff00000e
call fcn.0049d47c
jmp case.0x56759c.67
mov eax, dword [edi]
movzx eax, word [eax + 4]
mov word [ebp - 0x242], ax
movzx eax, word [ebp - 0x242]
mov word [ebp - 0x244], ax
movzx eax, word [ebp - 0x242]
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x5692ce
movzx eax, word [ebp - 0x242]
and ax, 0xffdf
mov word [ebp - 0x244], ax
movzx eax, word [ebp - 0x244]
mov word [ebp - 0xa2], ax
cmp word [ebp - 0xa2], 0x3e
jne 0x569309
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d82c
mov edx, eax
or dl, byte [0x56bd80]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d838
jmp case.0x56759c.67
cmp word [ebp - 0xa2], 0x4e
jne 0x569497
lea eax, [ebp - 0x20]
push eax
mov edx, dword [edi]
mov eax, 0x56bcd4
call fcn.004074cc
mov ecx, eax
dec ecx
mov eax, dword [edi]
mov edx, 3
call fcn.0040715c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x569368
mov eax, dword [ebp - 0x248]
sub eax, 0xa
cmp word [eax], 2
je 0x569368
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x56938e
mov eax, dword [ebp - 0x24c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x20]
mov eax, 0x56bf64
call fcn.00564024
mov edx, eax
add edx, 2
mov ecx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x5693e4
mov eax, dword [ebp - 0x250]
sub eax, 0xa
cmp word [eax], 2
je 0x5693e4
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x56940a
mov eax, dword [ebp - 0x254]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
call fcn.00403b1c
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x5c], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x58]
jge case.0x56759c.67
mov eax, dword [ebp + 0x7c]
mov edx, dword [ebp - 0x58]
mov dword [eax], edx
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x428], eax
jmp case.0x56759c.67
cmp word [ebp - 0xa2], 0x4d
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
inc dword [eax - 0xa0]
lea eax, [ebp - 0x20]
push eax
mov edx, dword [edi]
mov eax, 0x56bcd4
call fcn.004074cc
mov ecx, eax
dec ecx
mov eax, dword [edi]
mov edx, 3
call fcn.0040715c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0
je 0x569502
mov eax, dword [ebp - 0x258]
sub eax, 0xa
cmp word [eax], 2
je 0x569502
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
je 0x569528
mov eax, dword [ebp - 0x25c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x4ec]
mov eax, dword [ebp - 0x20]
call fcn.0046fb70
mov edx, dword [ebp - 0x4ec]
mov eax, 0x56bf74
call fcn.004074cc
mov edx, eax
add edx, 4
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x56958f
mov eax, dword [ebp - 0x260]
sub eax, 0xa
cmp word [eax], 2
je 0x56958f
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x5695b5
mov eax, dword [ebp - 0x264]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea edx, [ebp - 0x4f0]
mov eax, dword [ebp - 0x20]
call fcn.0046fb70
mov edx, dword [ebp - 0x4f0]
lea eax, [ebp - 0x20]
call fcn.00406a04
mov edx, dword [ebp - 0x20]
mov eax, 0x56bf88
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jle 0x569763
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0xa4]
mov edx, dword [ebp + 0x94]
cmp eax, dword [edx - 0xa0]
jne 0x569763
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x56968a
mov eax, dword [ebp - 0x26c]
sub eax, 0xa
cmp word [eax], 2
je 0x56968a
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x5696b0
mov eax, dword [ebp - 0x270]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x78]
add edx, 4
mov ecx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
je 0x5696fa
mov eax, dword [ebp - 0x274]
sub eax, 0xa
cmp word [eax], 2
je 0x5696fa
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
call fcn.00405c04
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
je 0x569720
mov eax, dword [ebp - 0x278]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x2c]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x2c]
call fcn.0040715c
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x2c]
mov eax, 0x56beb8
call fcn.004074cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.0040715c
xor eax, eax
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x20]
mov eax, 0x56bf9c
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jle 0x569836
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
je 0x5697cb
mov eax, dword [ebp - 0x280]
sub eax, 0xa
cmp word [eax], 2
je 0x5697cb
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
je 0x5697f1
mov eax, dword [ebp - 0x284]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x78]
add edx, 6
mov ecx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x4f4]
mov eax, dword [ebp - 0x2c]
call fcn.005642a0
mov edx, dword [ebp - 0x4f4]
lea eax, [ebp - 0x2c]
call fcn.00406a04
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x2c]
call fcn.00403b1c
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x20]
mov eax, 0x56bfb4
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jle 0x5698f9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x56988e
mov eax, dword [ebp - 0x28c]
sub eax, 0xa
cmp word [eax], 2
je 0x56988e
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x5698b4
mov eax, dword [ebp - 0x290]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x78]
add edx, 7
mov ecx, dword [ebp - 0x290]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x4f8]
mov eax, dword [ebp - 0x2c]
call fcn.005642a0
mov edx, dword [ebp - 0x4f8]
lea eax, [ebp - 0x2c]
call fcn.00406a04
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x2c]
call fcn.00403b1c
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x94]
xor edx, edx
mov dword [eax - 0x98], edx
mov eax, dword [ebp + 0x94]
xor edx, edx
mov dword [eax - 0x94], edx
lea edx, [ebp - 0x4fc]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x4fc]
mov eax, 0x56be50
call fcn.004074cc
test eax, eax
jle 0x569949
lea eax, [ebp - 0x28]
mov ecx, 4
mov edx, 1
call fcn.0040722c
lea edx, [ebp - 0x500]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x500]
mov eax, 0x56be68
call fcn.004074cc
test eax, eax
jle 0x569a43
lea eax, [ebp - 0x28]
mov ecx, 5
mov edx, 1
call fcn.0040722c
mov eax, dword [ebp - 0x28]
push eax
push 0
movzx eax, byte [ebp + 0x84]
xor al, 1
push eax
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0x64]
push eax
mov eax, dword [ebp + 0x94]
push dword [eax + 0x4c]
push dword [eax + 0x48]
lea eax, [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x38]
call fcn.00563b90
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x4c8]
mov dword [eax - 0x98], edx
mov edx, dword [ebp - 0x4c4]
mov dword [eax - 0x94], edx
push 0x60
push 0x58
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x98]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x98], eax
push 0x60
push 0x5a
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x94]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x94], eax
lea edx, [ebp - 0x504]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x504]
mov eax, 0x56be80
call fcn.004074cc
test eax, eax
jle 0x569b3d
lea eax, [ebp - 0x28]
mov ecx, 5
mov edx, 1
call fcn.0040722c
mov eax, dword [ebp - 0x28]
push eax
push 1
movzx eax, byte [ebp + 0x84]
xor al, 1
push eax
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0x64]
push eax
mov eax, dword [ebp + 0x94]
push dword [eax + 0x4c]
push dword [eax + 0x48]
lea eax, [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x38]
call fcn.00563b90
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x4c8]
mov dword [eax - 0x98], edx
mov edx, dword [ebp - 0x4c4]
mov dword [eax - 0x94], edx
push 0x60
push 0x58
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x98]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x98], eax
push 0x60
push 0x5a
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x94]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x94], eax
mov eax, dword [ebp + 0x38]
sub eax, dword [ebp - 0x418]
mov edx, dword [ebp + 0x7c]
cmp eax, dword [edx]
jle 0x569bf5
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x94]
add eax, dword [edx - 0x98]
mov edx, dword [ebp + 0x38]
sub edx, dword [ebp - 0x418]
cmp eax, edx
jle 0x569bf5
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp - 0x424]
jl 0x569bf5
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x94]
add eax, dword [ebp - 0x424]
cmp eax, dword [ebp + 0x34]
jle 0x569bf5
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je 0x569bf5
mov eax, dword [ebp + 0x1c]
mov byte [eax], 1
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx - 0x40]
call fcn.004069b0
mov eax, dword [ebp + 0x94]
cmp dword [eax - 0x28], 0
je 0x569bdd
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx - 0x28]
call fcn.004069b0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0xa0]
mov edx, dword [ebp + 0x94]
mov dword [edx - 0xa4], eax
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x64], 0
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x94]
add eax, dword [edx - 0x98]
mov edx, dword [ebp - 0x410]
sub edx, dword [ebp - 0x418]
cmp eax, edx
jle 0x569c40
mov eax, dword [ebp - 0x410]
sub eax, dword [ebp - 0x418]
mov edx, dword [ebp + 0x94]
cmp eax, dword [edx - 0x98]
jle 0x569c40
mov byte [ebp - 0x42], 1
jmp 0x569c87
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x98]
mov edx, dword [ebp + 0x7c]
add dword [edx], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x98]
add dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x94]
mov edx, dword [ebp + 0x78]
cmp eax, dword [edx]
jle 0x569c87
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x94]
mov edx, dword [ebp + 0x78]
mov dword [edx], eax
mov edx, dword [ebp - 0x20]
mov eax, 0x56bfd0
call fcn.004074cc
test eax, eax
jle 0x569ce6
mov edx, dword [ebp - 0x20]
mov eax, 0x56bfe8
call fcn.004074cc
test eax, eax
jle 0x569cbf
mov eax, dword [ebp - 0x38]
call fcn.005647f0
mov edx, dword [ebp + 0x78]
mov edx, dword [edx]
sub edx, eax
mov eax, dword [ebp + 0x60]
mov dword [eax], edx
jmp 0x569ce6
mov edx, dword [ebp - 0x20]
mov eax, 0x56c000
call fcn.004074cc
test eax, eax
jle 0x569ce6
mov eax, dword [ebp - 0x38]
call fcn.005647f0
mov edx, dword [ebp + 0x78]
mov edx, dword [edx]
sub edx, eax
shr edx, 1
mov eax, dword [ebp + 0x60]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov eax, 0x56c01c
call fcn.004074cc
test eax, eax
jle case.0x56759c.67
mov eax, dword [ebp - 0x38]
call fcn.005647f0
mov edx, dword [ebp + 0x78]
mov dword [edx], eax
mov eax, dword [ebp + 0x60]
xor edx, edx
mov dword [eax], edx
jmp case.0x56759c.67
mov eax, dword [edi]
movzx eax, word [eax + 4]
mov word [ebp - 0x292], ax
movzx eax, word [ebp - 0x292]
mov word [ebp - 0x294], ax
movzx eax, word [ebp - 0x292]
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x569d51
movzx eax, word [ebp - 0x292]
and ax, 0xffdf
mov word [ebp - 0x294], ax
movzx eax, word [ebp - 0x294]
sub ax, 0x49
jne 0x569e80
mov eax, dword [edi]
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x298]
mov eax, 0x56bcd4
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
jle case.0x56759c.67
lea eax, [ebp - 0x508]
push eax
mov ecx, dword [ebp - 0x78]
sub ecx, 2
mov eax, dword [edi]
mov edx, 2
call fcn.0040715c
mov eax, dword [ebp - 0x508]
lea edx, [ebp - 0x20]
call fcn.0046fb70
mov edx, dword [ebp - 0x20]
mov eax, 0x56be0c
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jle case.0x56759c.67
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
je 0x569e12
mov eax, dword [ebp - 0x2a4]
sub eax, 0xa
cmp word [eax], 2
je 0x569e12
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x569e38
mov eax, dword [ebp - 0x2a8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 9
mov ecx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x50c]
mov eax, dword [ebp - 0x28]
call fcn.005642a0
mov edx, dword [ebp - 0x50c]
lea eax, [ebp - 0x28]
call fcn.00406a04
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.00470aa4
mov edx, dword [ebp + 0x6c]
mov dword [edx], eax
jmp case.0x56759c.67
mov dword [ebp - 0x88], 0x1fffffff
mov eax, dword [ebp + 0x94]
add eax, 0xffffff58
xor edx, edx
call fcn.00406a04
mov eax, dword [edi]
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x2ac]
mov eax, 0x56bcd4
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
jle 0x56a0e0
lea eax, [ebp - 0x510]
push eax
mov ecx, dword [ebp - 0x78]
dec ecx
mov eax, dword [edi]
mov edx, 3
call fcn.0040715c
mov eax, dword [ebp - 0x510]
lea edx, [ebp - 0x20]
call fcn.0046fb70
mov edx, dword [ebp - 0x20]
mov eax, 0x56c034
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jle 0x56a036
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0
je 0x569f4a
mov eax, dword [ebp - 0x2b8]
sub eax, 0xa
cmp word [eax], 2
je 0x569f4a
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0
je 0x569f70
mov eax, dword [ebp - 0x2bc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2bc], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 4
mov ecx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
je 0x569fba
mov eax, dword [ebp - 0x2c0]
sub eax, 0xa
cmp word [eax], 2
je 0x569fba
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
je 0x569fe0
mov eax, dword [ebp - 0x2c4]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040715c
mov eax, dword [ebp + 0x94]
add eax, 0xffffff58
mov edx, dword [ebp - 0x28]
call fcn.00406a04
mov edx, dword [ebp - 0x20]
mov eax, 0x56bf4c
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0
jle 0x56a0e0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
je 0x56a08e
mov eax, dword [ebp - 0x2cc]
sub eax, 0xa
cmp word [eax], 2
je 0x56a08e
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0
je 0x56a0b4
mov eax, dword [ebp - 0x2d0]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 5
mov ecx, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x28]
call fcn.00564414
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x50]
mov eax, dword [eax]
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
mov edx, dword [ebp + 0x7c]
add dword [edx], eax
cmp byte [ebp - 0x43], 0
je 0x56a0fd
mov byte [ebp - 0x42], 1
jmp 0x56a101
mov byte [ebp - 0x43], 1
mov eax, dword [ebp + 0x50]
mov eax, dword [eax]
dec eax
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
add dword [ebp - 0x428], eax
cmp byte [ebp + 0x84], 0
jne 0x56a5cf
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x37], 0
jne 0x56a5cf
mov eax, dword [ebp + 0x94]
cmp dword [eax - 0xa8], 0
jne 0x56a35a
cmp dword [ebp - 0x88], 0x1fffffff
je 0x56a176
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x94]
mov dword [edx - 0xac], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x88]
call fcn.0049d47c
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d740
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, 0x56c04c
call fcn.0049d794
mov eax, dword [ebp + 0x94]
cmp byte [eax - 0x85], 0
jne 0x56a221
mov eax, dword [ebp + 0x50]
test byte [eax], 1
je 0x56a1e6
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
mov dword [ebp - 0x2d4], eax
push 0
lea eax, [ebp - 0x428]
push eax
push 1
mov eax, 0x56c068
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x2d4]
push eax
call sub.user32.dll_DrawTextW
mov dword [ebp - 0x2d8], eax
jmp 0x56a320
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
mov dword [ebp - 0x2dc], eax
push 0
lea eax, [ebp - 0x428]
push eax
push 1
mov eax, 0x56c078
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x2dc]
push eax
call sub.user32.dll_DrawTextW
mov dword [ebp - 0x2e0], eax
jmp 0x56a320
lea edx, [ebp - 0x514]
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0xb0]
call fcn.004707a4
mov edx, dword [ebp - 0x514]
mov eax, dword [ebp + 0x94]
add eax, 0xffffffe0
mov ecx, 0x56c088
call fcn.00406e84
mov eax, dword [ebp + 0x94]
inc dword [eax - 0xb0]
mov eax, dword [ebp - 0x38]
call fcn.0049e94c
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x20]
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0
je 0x56a2af
mov eax, dword [ebp - 0x2e4]
sub eax, 0xa
cmp word [eax], 2
je 0x56a2af
mov eax, dword [ebp + 0x94]
mov edx, dword [eax - 0x20]
mov eax, dword [ebp + 0x94]
add eax, 0xffffffe0
call fcn.00405c04
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x2e8], 0
je 0x56a2d5
mov eax, dword [ebp - 0x2e8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2e8], eax
push 0
lea eax, [ebp - 0x428]
push eax
mov eax, dword [ebp - 0x2e8]
push eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x20]
call fcn.00406a3c
push eax
mov eax, dword [ebp - 0x2ec]
push eax
call sub.user32.dll_DrawTextW
mov eax, dword [ebp + 0x94]
mov edx, dword [eax - 0x20]
mov eax, dword [ebp - 0x38]
call fcn.0049e780
add eax, dword [ebp - 0x428]
sub eax, 0xc
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x28]
call fcn.0049d794
cmp dword [ebp - 0x88], 0x1fffffff
je 0x56a5cf
mov eax, dword [ebp + 0x94]
mov edx, dword [eax - 0xac]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d47c
jmp 0x56a5cf
mov eax, dword [ebp + 0x94]
mov dword [eax - 0xb4], 0x1fffffff
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0xa8]
mov edx, 0x56c09c
call fcn.00407154
jne 0x56a496
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049e100
cmp al, 1
jne 0x56a3a1
mov dword [ebp - 0x2f0], 0x1fffffff
jmp 0x56a3b2
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa0
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x2f0]
mov dword [eax - 0xb4], edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x88]
call fcn.0049dbf0
cmp dword [ebp - 0x88], 0x1fffffff
jne 0x56a3f0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x56a401
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x88]
call fcn.0049dfa8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.0049e108
mov eax, dword [ebp - 0x428]
add eax, 8
push eax
mov eax, dword [ebp - 0x424]
add eax, 0xa
push eax
mov ecx, dword [ebp - 0x424]
add ecx, 2
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x38]
call fcn.0049e590
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0xb4]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0x1fffffff
jne 0x56a466
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x56a477
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x2f4]
call fcn.0049dfa8
mov eax, dword [ebp + 0x94]
cmp dword [eax - 0xb4], 0x1fffffff
jne 0x56a496
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0xa8]
mov edx, 0x56c0b8
call fcn.00407154
jne 0x56a5c2
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049e100
cmp al, 1
jne 0x56a4cd
mov dword [ebp - 0x2f8], 0x1fffffff
jmp 0x56a4de
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa0
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x2f8]
mov dword [eax - 0xb4], edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x88]
call fcn.0049dbf0
cmp dword [ebp - 0x88], 0x1fffffff
jne 0x56a51c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x56a52d
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x88]
call fcn.0049dfa8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.0049e108
mov eax, dword [ebp - 0x428]
add eax, 8
push eax
mov eax, dword [ebp - 0x424]
add eax, 0xa
push eax
mov ecx, dword [ebp - 0x424]
add ecx, 2
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x38]
call fcn.0049e3e4
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0xb4]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0x1fffffff
jne 0x56a592
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x56a5a3
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x2fc]
call fcn.0049dfa8
mov eax, dword [ebp + 0x94]
cmp dword [eax - 0xb4], 0x1fffffff
jne 0x56a5c2
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
add dword [ebp - 0x428], 0xc
jmp case.0x56759c.67
mov eax, dword [edi]
cmp word [eax + 4], 0x3e
je 0x56a607
mov eax, dword [ebp + 0x50]
inc dword [eax]
mov eax, dword [ebp + 0x7c]
cmp dword [eax], 0
jle 0x56a5f5
mov byte [ebp - 0x41], 1
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x85], 0
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d82c
mov edx, eax
or dl, byte [0x56bd98]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d838
jmp case.0x56759c.67
mov eax, dword [edi]
movzx eax, word [eax + 4]
mov word [ebp - 0x2fe], ax
movzx eax, word [ebp - 0x2fe]
mov word [ebp - 0x300], ax
movzx eax, word [ebp - 0x2fe]
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x56a667
movzx eax, word [ebp - 0x2fe]
and ax, 0xffdf
mov word [ebp - 0x300], ax
movzx eax, word [ebp - 0x300]
mov word [ebp - 0xa2], ax
cmp word [ebp - 0xa2], 0x4c
jne 0x56a6ad
mov eax, dword [ebp + 0x50]
inc dword [eax]
mov eax, dword [ebp + 0x7c]
cmp dword [eax], 0
jle 0x56a690
mov byte [ebp - 0x41], 1
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x85], 1
mov eax, dword [ebp + 0x94]
mov dword [eax - 0xb0], 1
cmp word [ebp - 0xa2], 0x46
jne case.0x56759c.67
lea eax, [ebp - 0x20]
push eax
mov edx, dword [edi]
mov eax, 0x56bcd4
call fcn.004074cc
mov ecx, eax
dec ecx
mov eax, dword [edi]
mov edx, 3
call fcn.0040715c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x304], 0
je 0x56a70c
mov eax, dword [ebp - 0x304]
sub eax, 0xa
cmp word [eax], 2
je 0x56a70c
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x308], eax
cmp dword [ebp - 0x308], 0
je 0x56a732
mov eax, dword [ebp - 0x308]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x308], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x20]
mov eax, 0x56bf64
call fcn.00564024
mov edx, eax
add edx, 2
mov ecx, dword [ebp - 0x308]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 0
je 0x56a788
mov eax, dword [ebp - 0x30c]
sub eax, 0xa
cmp word [eax], 2
je 0x56a788
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x310], eax
cmp dword [ebp - 0x310], 0
je 0x56a7ae
mov eax, dword [ebp - 0x310]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x310], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x310]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
call fcn.00403b1c
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
add eax, dword [edx]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp + 0x7c]
mov dword [edx], eax
jmp case.0x56759c.67
mov eax, dword [edi]
mov dword [ebp - 0x314], eax
mov edx, dword [ebp - 0x314]
mov eax, 0x56bcd4
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0
jle case.0x56759c.67
lea eax, [ebp - 0x518]
push eax
mov ecx, dword [ebp - 0x78]
dec ecx
mov eax, dword [edi]
mov edx, 3
call fcn.0040715c
mov eax, dword [ebp - 0x518]
lea edx, [ebp - 0x20]
call fcn.0046fb70
mov edx, dword [ebp - 0x20]
mov eax, 0x56bfd0
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0
jle 0x56a97a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x320], eax
cmp dword [ebp - 0x320], 0
je 0x56a8d7
mov eax, dword [ebp - 0x320]
sub eax, 0xa
cmp word [eax], 2
je 0x56a8d7
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
je 0x56a8fd
mov eax, dword [ebp - 0x324]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x324], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 5
mov ecx, dword [ebp - 0x324]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x51c]
mov eax, dword [ebp - 0x28]
call fcn.005642a0
mov edx, dword [ebp - 0x51c]
lea eax, [ebp - 0x28]
call fcn.00406a04
mov edx, dword [ebp - 0x28]
mov eax, 0x56c0d4
call fcn.004074cc
test eax, eax
jle 0x56a94a
mov eax, dword [ebp + 0x40]
mov byte [eax], 1
jmp 0x56a97a
mov edx, dword [ebp - 0x28]
mov eax, 0x56c0ec
call fcn.004074cc
test eax, eax
jle 0x56a963
mov eax, dword [ebp + 0x40]
mov byte [eax], 0
jmp 0x56a97a
mov edx, dword [ebp - 0x28]
mov eax, 0x56c104
call fcn.004074cc
test eax, eax
jle 0x56a97a
mov eax, dword [ebp + 0x40]
mov byte [eax], 2
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x34]
cmp dword [eax], 0
je 0x56a9aa
mov byte [ebp - 0x41], 1
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x34]
mov edx, 0x56bd90
call fcn.00406dc4
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x34]
jmp 0x56a9bc
mov eax, dword [ebp + 0x40]
movzx eax, byte [eax]
mov edx, dword [ebp + 0x94]
mov byte [edx - 0xb5], al
mov edx, dword [ebp - 0x20]
mov eax, 0x56c120
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
jle 0x56aafa
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
je 0x56aa14
mov eax, dword [ebp - 0x32c]
sub eax, 0xa
cmp word [eax], 2
je 0x56aa14
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x330], eax
cmp dword [ebp - 0x330], 0
je 0x56aa3a
mov eax, dword [ebp - 0x330]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 6
mov ecx, dword [ebp - 0x330]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x334], 0
je 0x56aa84
mov eax, dword [ebp - 0x334]
sub eax, 0xa
cmp word [eax], 2
je 0x56aa84
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x338], eax
cmp dword [ebp - 0x338], 0
je 0x56aaaa
mov eax, dword [ebp - 0x338]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x338]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
call fcn.00564078
mov edx, dword [ebp + 0x3c]
mov dword [edx], eax
mov edx, dword [ebp - 0x20]
mov eax, 0x56beec
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x33c], 0
jle case.0x56759c.67
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x60], 0
jne case.0x56759c.67
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0
je 0x56ab62
mov eax, dword [ebp - 0x340]
sub eax, 0xa
cmp word [eax], 2
je 0x56ab62
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x344], eax
cmp dword [ebp - 0x344], 0
je 0x56ab88
mov eax, dword [ebp - 0x344]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 7
mov ecx, dword [ebp - 0x344]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov edx, 0x1fffffff
mov eax, dword [ebp - 0x28]
call fcn.00564414
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x20]
mov eax, 0x56bf08
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x348], eax
cmp dword [ebp - 0x348], 0
jle 0x56abe9
mov eax, dword [ebp + 0x94]
movzx eax, byte [eax + 0x60]
xor al, 1
mov byte [ebp - 0x349], al
jmp 0x56abf0
mov byte [ebp - 0x349], 0
cmp byte [ebp - 0x349], 0
je 0x56ad15
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x350], 0
je 0x56ac2f
mov eax, dword [ebp - 0x350]
sub eax, 0xa
cmp word [eax], 2
je 0x56ac2f
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x354], eax
cmp dword [ebp - 0x354], 0
je 0x56ac55
mov eax, dword [ebp - 0x354]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 9
mov ecx, dword [ebp - 0x354]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov edx, 0x1fffffff
mov eax, dword [ebp - 0x28]
call fcn.00564414
mov dword [ebp - 0x8c], eax
cmp byte [ebp + 0x84], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x29], 1
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x88]
call fcn.0049dbf0
push 0x1fffffff
mov eax, dword [ebp - 0x40c]
add eax, 2
push eax
lea eax, [ebp - 0x490]
push eax
mov eax, dword [ebp + 0x94]
mov ecx, dword [eax + 0x8c]
mov ecx, dword [ecx + 8]
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x414]
call fcn.00409744
lea eax, [ebp - 0x490]
push eax
push 1
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x38]
call fcn.00563dc4
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp case.0x56759c.67
cmp byte [ebp + 0x84], 0
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x29], 1
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049e100
cmp al, 1
jne 0x56ad47
mov dword [ebp - 0x358], 0x1fffffff
jmp 0x56ad58
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa0
mov dword [ebp - 0x358], eax
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x358]
mov dword [eax - 0x8c], edx
cmp dword [ebp - 0x88], 0x1fffffff
jne 0x56ad85
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x56ad96
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x88]
call fcn.0049dfa8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
call fcn.0049dbe8
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x88]
call fcn.0049dbf0
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x40c]
push eax
mov eax, dword [ebp + 0x94]
mov edx, dword [eax + 0x8c]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x38]
call fcn.0049e590
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0xc0]
call fcn.0049dbf0
jmp case.0x56759c.67
mov eax, dword [edi]
mov dword [ebp - 0x35c], eax
mov edx, dword [ebp - 0x35c]
mov eax, 0x56bcd4
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0
jle case.0x56759c.67
cmp byte [ebp + 0x84], 0
jne 0x56ae76
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049e100
cmp al, 1
jne 0x56ae56
mov dword [ebp - 0x364], 0x1fffffff
jmp 0x56ae67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa0
mov dword [ebp - 0x364], eax
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x364]
mov dword [eax - 0x7c], edx
lea eax, [ebp - 0x520]
push eax
mov ecx, dword [ebp - 0x78]
sub ecx, 6
mov eax, dword [edi]
mov edx, 6
call fcn.0040715c
mov eax, dword [ebp - 0x520]
lea edx, [ebp - 0x20]
call fcn.0046fb70
mov edx, dword [ebp - 0x20]
mov eax, 0x56c13c
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0
jle 0x56af5d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x36c], eax
cmp dword [ebp - 0x36c], 0
je 0x56aef5
mov eax, dword [ebp - 0x36c]
sub eax, 0xa
cmp word [eax], 2
je 0x56aef5
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0
je 0x56af1b
mov eax, dword [ebp - 0x370]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 4
mov ecx, dword [ebp - 0x370]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x524]
mov eax, dword [ebp - 0x28]
call fcn.005642a0
mov edx, dword [ebp - 0x524]
lea eax, [ebp - 0x28]
call fcn.00406a04
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x28]
call fcn.0049d794
mov edx, dword [ebp - 0x20]
mov eax, 0x56c154
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0
jle 0x56b045
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x60], 0
jne 0x56b045
cmp byte [ebp + 0x84], 0
jne 0x56b045
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x378], eax
cmp dword [ebp - 0x378], 0
je 0x56afd2
mov eax, dword [ebp - 0x378]
sub eax, 0xa
cmp word [eax], 2
je 0x56afd2
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x56aff8
mov eax, dword [ebp - 0x37c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x37c], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 6
mov ecx, dword [ebp - 0x37c]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x54]
call fcn.0049d47c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x28]
call fcn.00564414
mov edx, eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d47c
mov edx, dword [ebp - 0x20]
mov eax, 0x56beec
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0
jle 0x56b078
movzx eax, byte [ebp + 0x84]
xor al, 1
mov byte [ebp - 0x381], al
jmp 0x56b07f
mov byte [ebp - 0x381], 0
cmp byte [ebp - 0x381], 0
je 0x56b185
mov eax, dword [ebp + 0x94]
cmp byte [eax + 0x60], 0
jne 0x56b185
cmp byte [ebp + 0x84], 0
jne 0x56b185
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x388], eax
cmp dword [ebp - 0x388], 0
je 0x56b0db
mov eax, dword [ebp - 0x388]
sub eax, 0xa
cmp word [eax], 2
je 0x56b0db
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x388]
mov dword [ebp - 0x38c], eax
cmp dword [ebp - 0x38c], 0
je 0x56b101
mov eax, dword [ebp - 0x38c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x38c], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 7
mov ecx, dword [ebp - 0x38c]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049e100
cmp al, 1
jne 0x56b134
mov dword [ebp - 0x390], 0x1fffffff
jmp 0x56b145
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa0
mov dword [ebp - 0x390], eax
mov edx, dword [ebp - 0x390]
mov eax, dword [ebp - 0x28]
call fcn.00564414
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x394], 0x1fffffff
jne 0x56b174
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp 0x56b185
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x394]
call fcn.0049dfa8
mov edx, dword [ebp - 0x20]
mov eax, 0x56c170
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x398], eax
cmp dword [ebp - 0x398], 0
jle 0x56b3db
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x39c], eax
cmp dword [ebp - 0x39c], 0
je 0x56b1dd
mov eax, dword [ebp - 0x39c]
sub eax, 0xa
cmp word [eax], 2
je 0x56b1dd
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x39c]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x3a0], 0
je 0x56b203
mov eax, dword [ebp - 0x3a0]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x3a0], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 5
mov ecx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x56b24d
mov eax, dword [ebp - 0x3a4]
sub eax, 0xa
cmp word [eax], 2
je 0x56b24d
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x3a8], eax
cmp dword [ebp - 0x3a8], 0
je 0x56b273
mov eax, dword [ebp - 0x3a8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x3a8], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56c188
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x3a8]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3ac], eax
cmp dword [ebp - 0x3ac], 0
je 0x56b2c7
mov eax, dword [ebp - 0x3ac]
sub eax, 0xa
cmp word [eax], 2
je 0x56b2c7
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x3b0], eax
cmp dword [ebp - 0x3b0], 0
je 0x56b2ed
mov eax, dword [ebp - 0x3b0]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x3b0], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x3b0]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea edx, [ebp - 0x528]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x528]
mov eax, 0x56c198
call fcn.004074cc
test eax, eax
jle case.0x56759c.67
lea eax, [ebp - 0x28]
mov ecx, 0xa
mov edx, 1
call fcn.0040722c
lea edx, [ebp - 0x52c]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x52c]
mov eax, 0x56c1bc
call fcn.004074cc
test eax, eax
jle case.0x56759c.67
lea eax, [ebp - 0x534]
push eax
lea edx, [ebp - 0x538]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x538]
mov eax, 0x56c1bc
call fcn.004074cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040715c
mov eax, dword [ebp - 0x534]
lea edx, [ebp - 0x530]
call fcn.0047021c
mov edx, dword [ebp - 0x530]
lea eax, [ebp - 0x28]
call fcn.00406a04
mov eax, dword [ebp - 0x28]
call fcn.00564078
mov edx, eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d80c
jmp case.0x56759c.67
mov edx, dword [ebp - 0x20]
mov eax, 0x56c1d0
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0
jle case.0x56759c.67
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b8], 0
je 0x56b433
mov eax, dword [ebp - 0x3b8]
sub eax, 0xa
cmp word [eax], 2
je 0x56b433
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], eax
cmp dword [ebp - 0x3bc], 0
je 0x56b459
mov eax, dword [ebp - 0x3bc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x3bc], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 4
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x53c]
mov eax, dword [ebp - 0x28]
call fcn.005642a0
mov edx, dword [ebp - 0x53c]
lea eax, [ebp - 0x28]
call fcn.00406a04
mov eax, dword [ebp - 0x28]
call fcn.00564078
cmp eax, 5
ja case.0x56b49e.0
jmp dword [eax*4 + 0x56b4a5]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, 8
call fcn.0049d80c
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, 0xa
call fcn.0049d80c
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, 0xc
call fcn.0049d80c
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, 0xe
call fcn.0049d80c
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, 0x10
call fcn.0049d80c
jmp case.0x56759c.67
mov eax, dword [ebp - 0x28]
call fcn.00564078
mov edx, eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d80c
jmp case.0x56759c.67
mov eax, dword [edi]
movzx eax, word [eax + 4]
mov word [ebp - 0x3be], ax
movzx eax, word [ebp - 0x3be]
mov word [ebp - 0x3c0], ax
movzx eax, word [ebp - 0x3be]
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x56b57d
movzx eax, word [ebp - 0x3be]
and ax, 0xffdf
mov word [ebp - 0x3c0], ax
movzx eax, word [ebp - 0x3c0]
mov word [ebp - 0xa2], ax
cmp word [ebp - 0xa2], 0x3e
jne 0x56b5b8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d82c
mov edx, eax
or dl, byte [0x56bd7c]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d838
jmp case.0x56759c.67
cmp word [ebp - 0xa2], 0x54
jne 0x56b5e5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d82c
mov edx, eax
or dl, byte [0x56bd7c]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
call fcn.0049d838
jmp case.0x56759c.67
cmp word [ebp - 0xa2], 0x48
jne 0x56b5fe
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x39], 1
jmp case.0x56759c.67
cmp word [ebp - 0xa2], 0x50
jne 0x56b8ca
mov eax, dword [edi]
mov dword [ebp - 0x3c4], eax
mov edx, dword [ebp - 0x3c4]
mov eax, 0x56bcd4
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3c8], 0
jle case.0x56759c.67
lea eax, [ebp - 0x540]
push eax
mov ecx, dword [ebp - 0x78]
sub ecx, 6
mov eax, dword [edi]
mov edx, 6
call fcn.0040715c
mov eax, dword [ebp - 0x540]
lea edx, [ebp - 0x20]
call fcn.0046fb70
mov edx, dword [ebp - 0x20]
mov eax, 0x56c170
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3cc], eax
cmp dword [ebp - 0x3cc], 0
jle case.0x56759c.67
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
je 0x56b6bc
mov eax, dword [ebp - 0x3d0]
sub eax, 0xa
cmp word [eax], 2
je 0x56b6bc
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d4], eax
cmp dword [ebp - 0x3d4], 0
je 0x56b6e2
mov eax, dword [ebp - 0x3d4]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x3d4], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x78]
add edx, 5
mov ecx, dword [ebp - 0x3d4]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x3d8], 0
je 0x56b72c
mov eax, dword [ebp - 0x3d8]
sub eax, 0xa
cmp word [eax], 2
je 0x56b72c
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 0x3dc], eax
cmp dword [ebp - 0x3dc], 0
je 0x56b752
mov eax, dword [ebp - 0x3dc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56c188
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x3dc]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
je 0x56b7a6
mov eax, dword [ebp - 0x3e0]
sub eax, 0xa
cmp word [eax], 2
je 0x56b7a6
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00405c04
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x3e4], eax
cmp dword [ebp - 0x3e4], 0
je 0x56b7cc
mov eax, dword [ebp - 0x3e4]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x3e4], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x56beb8
call fcn.004074cc
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x3e4]
mov eax, dword [ebp - 0x28]
call fcn.0040715c
lea edx, [ebp - 0x544]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x544]
mov eax, 0x56c1e8
call fcn.004074cc
test eax, eax
jle case.0x56759c.67
lea eax, [ebp - 0x28]
mov ecx, 0x11
mov edx, 1
call fcn.0040722c
lea edx, [ebp - 0x548]
mov eax, dword [ebp - 0x28]
call fcn.0046fb70
mov edx, dword [ebp - 0x548]
mov eax, 0x56c218
call fcn.004074cc
dec eax
jne case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049e100
cmp al, 1
jne 0x56b866
mov dword [ebp - 0x3e8], 0x1fffffff
jmp 0x56b877
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
call fcn.0049dfa0
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x3e8]
mov dword [eax - 0x7c], edx
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.00563f6c
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 0x1fffffff
jne 0x56b8b4
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0049e108
jmp case.0x56759c.67
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x3ec]
call fcn.0049dfa8
jmp case.0x56759c.67
mov edx, dword [edi]
mov eax, 0x56c228
call fcn.00564024
dec eax
jne 0x56b8e8
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x35], 1
jmp case.0x56759c.67
mov edx, dword [edi]
mov eax, 0x56c240
call fcn.00564024
dec eax
jne case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x36], 1
jmp case.0x56759c.67
lea eax, [ebp - 0x20]
push eax
mov edx, dword [edi]
mov eax, 0x56bcd4
call fcn.004074cc
mov ecx, eax
dec ecx
mov eax, dword [edi]
mov edx, 3
call fcn.0040715c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f0], 0
je 0x56b95b
mov eax, dword [ebp - 0x3f0]
sub eax, 0xa
cmp word [eax], 2
je 0x56b95b
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00405c04
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x56b981
mov eax, dword [ebp - 0x3f4]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x3f4], eax
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x20]
mov eax, 0x56c258
call fcn.00564024
mov edx, eax
add edx, 2
mov ecx, dword [ebp - 0x3f4]
mov eax, dword [ebp - 0x20]
call fcn.0040715c
lea edx, [ebp - 0x54c]
mov eax, dword [ebp - 0x28]
call fcn.005642a0
mov edx, dword [ebp - 0x54c]
lea eax, [ebp - 0x28]
call fcn.00406a04
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
call fcn.00403b1c
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x94]
push eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x38]
call fcn.0056487c
pop ecx
jmp case.0x56759c.67
mov eax, dword [ebp + 0x94]
mov byte [eax - 0x37], 1
cmp dword [ebp - 0x10], 0
je 0x56ba09
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00406a04
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.00406a04
mov eax, dword [edi]
mov dword [ebp - 0x3f8], eax
mov edx, dword [ebp - 0x3f8]
mov eax, 0x56bcd4
call fcn.004074cc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0
jle 0x56ba44
movzx eax, byte [ebp - 0x42]
xor al, 1
mov byte [ebp - 0x3fd], al
jmp 0x56ba4b
mov byte [ebp - 0x3fd], 0
cmp byte [ebp - 0x3fd], 0
je 0x56baad
lea eax, [ebp - 0x550]
push eax
mov eax, dword [edi]
mov ecx, dword [ebp - 0x78]
mov edx, 1
call fcn.0040715c
mov edx, dword [ebp - 0x550]
lea eax, [ebp - 0x1c]
call fcn.00406dc4
lea eax, [ebp - 0x554]
push eax
mov eax, dword [edi]
mov ecx, dword [ebp - 0x78]
mov edx, 1
call fcn.0040715c
mov edx, dword [ebp - 0x554]
lea eax, [ebp - 0x14]
call fcn.00406dc4
mov eax, edi
mov ecx, dword [ebp - 0x78]
mov edx, 1
call fcn.0040722c
jmp 0x56bb1a
cmp byte [ebp - 0x42], 0
jne 0x56bb1a
mov eax, dword [edi]
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
je 0x56bae2
mov eax, dword [ebp - 0x404]
sub eax, 0xa
cmp word [eax], 2
je 0x56bae2
mov edx, dword [edi]
mov eax, edi
call fcn.00405c04
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
je 0x56bb08
mov eax, dword [ebp - 0x408]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x408], eax
mov eax, edi
mov ecx, dword [ebp - 0x408]
mov edx, 1
call fcn.0040722c
mov eax, edi
call fcn.00405c14
call fcn.00406d20
test eax, eax
jle 0x56bb3a
cmp byte [ebp - 0x41], 0
jne 0x56bb3a
cmp byte [ebp - 0x42], 0
je 0x564bdc
mov eax, dword [ebp + 0x48]
cmp dword [eax], 0xfffffffe
jne 0x56bb5f
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 0
jle 0x56bb5f
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x48]
mov dword [edx], eax
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
jmp 0x56bc50
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp - 0xc8]
mov dword [eax], edx
movzx eax, byte [ebp - 0xa9]
xor al, 1
and al, byte [ebp - 0x41]
je 0x56bbad
cmp byte [ebp + 0x80], 0
je 0x56bbad
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xb0]
jle 0x56bb97
mov eax, dword [ebp + 0x78]
mov edx, dword [ebp - 0xb0]
mov dword [eax], edx
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0xb4]
jle 0x56bbad
mov eax, dword [ebp + 0x74]
mov edx, dword [ebp - 0xb4]
mov dword [eax], edx
mov eax, dword [ebp + 0x7c]
mov edx, dword [ebp - 0x54]
sub dword [eax], edx
mov eax, dword [ebp + 0x7c]
cmp dword [eax], 0
jge 0x56bbc4
mov eax, dword [ebp + 0x7c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0x94]
cmp dword [eax + 0x78], 0
jl 0x56bc45
mov eax, dword [ebp + 0x94]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp + 0x58]
mov edx, dword [edx]
dec edx
cmp eax, edx
jne 0x56bc45
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je 0x56bc45
cmp byte [ebp + 0x84], 0
jne 0x56bc45
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x428]
mov dword [eax - 0x6c], edx
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp - 0x41c]
mov dword [eax - 0x68], edx
mov eax, dword [ebp + 0x94]
lea edx, [eax - 0x74]
mov eax, dword [ebp - 0x38]
call fcn.0049e3b0
mov eax, dword [ebp - 0x418]
inc eax
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x74], eax
mov eax, dword [ebp + 0x94]
mov eax, dword [eax - 0x68]
mov edx, dword [ebp + 0x94]
mov dword [edx - 0x70], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.004069b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56bcad
lea eax, [ebp - 0x554]
mov edx, 0x23
call fcn.004069a8
lea eax, [ebp - 0x4c0]
mov edx, 0xb
call fcn.004069a8
lea eax, [ebp - 0x494]
call fcn.004069a0
lea eax, [ebp - 0x480]
mov edx, 3
call fcn.004069a8
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.004069a8
ret