Function at 0x5d5420
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push esi
push edi
lea edi, [ebp - 0x268]
mov ecx, 0x9a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6c2008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 8]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
add ecx, 0x50
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
imul ecx, dword [ebp + 0xc], 0x50
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x2f0]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x2c]
imul edx, eax, 0x50
lea eax, [ecx + edx + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1e8
push ecx
call fcn.005d8580
add esp, 8
not eax
not edx
and eax, dword [ebp + 0x10]
and edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
mov edx, dword [edx + 0x44]
mov ecx, dword [ebp + 0xc]
call fcn.004fe460
and eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x24]
and ecx, 0x40
je 0x5d551b
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x2c]
and eax, 0x20
jne 0x5d551b
mov dword [ebp - 0x1e8], 1
jmp 0x5d5525
mov dword [ebp - 0x1e8], 0
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.005ccf90
add esp, 4
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1ec]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1ec]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.005ccf90
add esp, 4
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1f0]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x2c]
test ecx, ecx
jle 0x5d55e4
mov edx, 0x50
imul eax, edx, 0
mov ecx, dword [ebp - 0x3c]
movzx edx, byte [ecx + eax + 0x24]
and edx, 8
je 0x5d55e4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1f4]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1f4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ecx
push 0
push 0x43
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1d90
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x5d55f5
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jle 0x5d560e
imul edx, dword [ebp - 8], 0x50
mov eax, dword [ebp + 8]
cmp dword [eax + edx + 0x2f0], 0
jne 0x5d560e
jmp 0x5d55ec
imul ecx, dword [ebp - 8], 0x50
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x2fc]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x28]
shr edx, 4
and edx, 1
je 0x5d5679
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x5c]
push ecx
push 0xf
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1dc0
add esp, 0x14
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x10
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1d90
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x2d], 0xd
jmp 0x5d7301
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x24]
and ecx, 0x400
je 0x5d599c
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x28]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0059e0a0
add esp, 4
mov edx, dword [ebp - 0x68]
add edx, 2
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.005a6cb0
add esp, 8
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x64], edx
mov dword [ebp - 8], 0
jmp 0x5d56d2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x68]
jge 0x5d575f
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x60]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jne 0x5d5702
jmp 0x5d56c9
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0xc]
and ecx, 1
je 0x5d5739
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0056cfd0
add esp, 0x18
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x64], eax
jmp 0x5d575a
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x74], eax
push 1
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0056d450
add esp, 0x10
jmp 0x5d56c9
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x18]
push eax
push 0x43
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c1d90
add esp, 0x10
mov edx, dword [ebp - 0x60]
add edx, 1
push edx
mov eax, dword [ebp - 0x68]
push eax
push 0x43
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c1d90
add esp, 0x10
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + 0x1c]
test eax, eax
je 0x5d57a8
mov dword [ebp - 0x1f8], 0xfffffff9
jmp 0x5d57b2
mov dword [ebp - 0x1f8], 0xffffffff
mov ecx, dword [ebp - 0x1f8]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0xb
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c1e80
add esp, 0x1c
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x1c], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x31]
test eax, eax
je 0x5d5801
mov dword [ebp - 0x1fc], 0xa9
jmp 0x5d580b
mov dword [ebp - 0x1fc], 0x3d
mov ecx, dword [ebp - 0x20]
mov dl, byte [ebp - 0x1fc]
mov byte [ecx + 0x2d], dl
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c28d0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x68]
sub ecx, 1
mov dword [ebp - 8], ecx
jmp 0x5d5846
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jl 0x5d598b
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 8], 0x10
jge 0x5d588b
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 0x1e]
mov ecx, dword [ebp - 8]
sar edx, cl
and edx, 1
je 0x5d588b
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00571790
add esp, 8
jmp 0x5d5986
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 0xc]
and eax, 1
je 0x5d5986
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x5d58f5
mov eax, dword [ebp - 0x6c]
sub eax, 1
mov dword [ebp - 0x6c], eax
imul ecx, dword [ebp - 0x6c], 0xc
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + ecx + 4]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.005cbf50
add esp, 8
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x80]
movzx ecx, byte [eax]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1dc0
add esp, 0x14
push 0
push 0
push 0x35
mov eax, dword [ebp - 0x30]
push eax
call fcn.005ae3c0
add esp, 0x10
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x5d5986
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x78]
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
push 0
push 0x98
mov edx, dword [ebp - 0x34]
push edx
call fcn.0059d570
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x10], ecx
cmp dword [ebp - 0x7c], 0
je 0x5d596c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x60]
lea ecx, [eax + edx + 2]
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x1c], ecx
push 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.005a1300
add esp, 0x10
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.005a1020
add esp, 8
jmp 0x5d583d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0059e030
add esp, 4
jmp 0x5d7301
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x24]
and eax, 0x100
je 0x5d5a84
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x24]
and edx, 5
je 0x5d5a84
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x30]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x2c]
add eax, 1
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x200]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0056cfd0
add esp, 0x18
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
je 0x5d5a2d
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.005b6d90
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x1f
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1dc0
add esp, 0x14
push 1
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0059df20
add esp, 0xc
mov edx, dword [ebp - 0x4c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0059e140
add esp, 0x10
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x2d], 0xa9
jmp 0x5d7301
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x24]
and ecx, 0x100
je 0x5d5eb4
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x24]
and eax, 2
je 0x5d5eb4
mov dword [ebp - 0x84], 0xa9
mov dword [ebp - 0x8c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x24]
and eax, 0x20
je 0x5d5afc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x24]
and ecx, 0x10
je 0x5d5b22
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 0x1c], 0
je 0x5d5b46
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x90], 0
je 0x5d5c8b
mov byte [ebp - 0xb4], 0x1b
mov byte [ebp - 0xb3], 0x19
mov byte [ebp - 0xb2], 0x18
mov byte [ebp - 0xb1], 0x1a
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.005a21a0
add esp, 4
test eax, eax
je 0x5d5bf2
mov edx, dword [ebp - 0x30]
push edx
call fcn.005a6d40
add esp, 4
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x9c], eax
push 1
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0056d450
add esp, 0x10
mov edx, dword [ebp - 0x98]
movzx eax, byte [edx]
sub eax, 0x37
and eax, 3
or eax, 1
movzx ecx, byte [ebp + eax - 0xb4]
mov dword [ebp - 0xac], ecx
jmp 0x5d5c3f
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.005a0840
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00571790
add esp, 8
mov edx, dword [ebp - 0x98]
movzx eax, byte [edx]
movzx ecx, byte [ebp + eax - 0xea]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1dc0
add esp, 0x14
push 1
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0059df20
add esp, 0xc
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005b6d90
add esp, 8
jmp 0x5d5cc2
cmp dword [ebp - 0x1c], 0
je 0x5d5c9d
mov dword [ebp - 0x204], 0x21
jmp 0x5d5ca7
mov dword [ebp - 0x204], 0x25
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x204]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1d90
add esp, 0x10
cmp dword [ebp - 0x94], 0
je 0x5d5dd0
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x2c]
add eax, 1
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x208]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x8c], eax
push 1
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0056d450
add esp, 0x10
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x10]
push eax
call fcn.005a21a0
add esp, 4
test eax, eax
jne 0x5d5d7f
mov ecx, dword [ebp - 0xbc]
movzx edx, byte [ecx]
cmp edx, 0x38
je 0x5d5d55
mov eax, dword [ebp - 0xbc]
movzx ecx, byte [eax]
cmp ecx, 0x36
jne 0x5d5d7f
cmp dword [ebp - 0x1c], 0
je 0x5d5d67
mov dword [ebp - 0x20c], 0x37
jmp 0x5d5d71
mov dword [ebp - 0x20c], 0x39
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x84], edx
jmp 0x5d5da7
cmp dword [ebp - 0x1c], 0
je 0x5d5d91
mov dword [ebp - 0x210], 0x38
jmp 0x5d5d9b
mov dword [ebp - 0x210], 0x36
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x10]
push edx
call fcn.005a21a0
add esp, 4
test eax, eax
jne 0x5d5dd0
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00571790
add esp, 8
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c28d0
add esp, 4
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x1c], 0
je 0x5d5df4
mov dword [ebp - 0x214], 6
jmp 0x5d5dfe
mov dword [ebp - 0x214], 7
mov eax, dword [ebp - 0x20]
mov cl, byte [ebp - 0x214]
mov byte [eax + 0x2d], cl
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x88]
mov dword [ecx + 0x34], edx
cmp dword [ebp - 0x84], 0xa9
je 0x5d5eaf
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x218]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x7d
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c1d90
add esp, 0x10
mov edx, dword [ebp - 0x4c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0059e140
add esp, 0x10
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1dc0
add esp, 0x14
push 0x53
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c2520
add esp, 8
jmp 0x5d7301
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x24]
and eax, 0x200
je 0x5d69aa
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx + 0x18]
mov word [ebp - 0xc0], dx
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0x1a]
mov word [ebp - 0xc4], cx
mov edx, dword [ebp - 0x24]
mov ax, word [edx + 0x1c]
mov word [ebp - 0xc8], ax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x100], 0
mov byte [ebp - 0x101], 0
mov byte [ebp - 0x102], 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x2c]
and eax, 1
je 0x5d5f74
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x2f]
test edx, edx
jle 0x5d5f74
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax + 0x32]
movzx edx, word [ebp - 0xc0]
cmp ecx, edx
jle 0x5d5f74
mov byte [ebp - 0x101], 1
mov dword [ebp - 0xec], 1
movzx eax, word [ebp - 0xc0]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x24]
and edx, 0x20
je 0x5d5fda
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x1a]
cmp dword [ebp - 0xec], eax
jle 0x5d5fc1
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x21c], ecx
jmp 0x5d5fce
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x1a]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x24]
and eax, 0x10
je 0x5d6137
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x1c]
cmp dword [ebp - 0xec], ecx
jle 0x5d6021
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x220], edx
jmp 0x5d602e
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x1c]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xd4]
movzx ecx, word [eax + 0xa]
and ecx, 0x100
je 0x5d60ef
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x2c]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x224]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x224]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x24]
push eax
push 1
push 0x43
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c1d90
add esp, 0x10
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c28d0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x24]
shl eax, 1
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x24], eax
movzx edx, word [ebp - 0xc0]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x1c]
movzx edx, byte [ecx + edx]
cmp edx, 1
jne 0x5d60d0
mov dword [ebp - 0x228], 1
jmp 0x5d60da
mov dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x20]
or eax, dword [ecx + 0x24]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x24], eax
cmp dword [ebp - 0xd0], 0
jne 0x5d6137
movzx eax, word [ebp - 0xc0]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 4]
movsx eax, word [edx + eax*2]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x5d612a
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 8]
shl eax, 4
mov ecx, dword [edx + 4]
movzx edx, byte [ecx + eax + 0xc]
test edx, edx
je 0x5d6130
cmp dword [ebp - 8], 0xfffffffe
jne 0x5d6137
mov byte [ebp - 0x101], 1
movzx eax, word [ebp - 0xc0]
mov ecx, dword [ebp - 0x54]
movzx edx, word [ecx + 0x32]
cmp eax, edx
jge 0x5d617f
movzx eax, word [ebp - 0xc0]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x1c]
movzx eax, byte [edx + eax]
test eax, eax
jne 0x5d616a
mov dword [ebp - 0x22c], 1
jmp 0x5d6174
mov dword [ebp - 0x22c], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x22c]
je 0x5d619b
cmp dword [ebp - 0x1c], 0
je 0x5d620c
mov edx, dword [ebp - 0x54]
movzx eax, word [edx + 0x32]
movzx ecx, word [ebp - 0xc0]
cmp eax, ecx
jne 0x5d620c
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0xd0], ecx
mov dl, byte [ebp - 0x101]
mov byte [ebp - 0x109], dl
mov al, byte [ebp - 0x102]
mov byte [ebp - 0x101], al
mov cl, byte [ebp - 0x109]
mov byte [ebp - 0x102], cl
mov dl, byte [ebp - 0xc4]
mov byte [ebp - 0x10a], dl
mov ax, word [ebp - 0xc8]
mov word [ebp - 0xc4], ax
movzx cx, byte [ebp - 0x10a]
mov word [ebp - 0xc8], cx
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0056c730
add esp, 0x14
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xf8], 0
je 0x5d6268
movzx ecx, word [ebp - 0xc8]
test ecx, ecx
je 0x5d6268
movzx edx, word [ebp - 0xc0]
add edx, dword [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.0059ad70
add esp, 8
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xd0], 0
je 0x5d6295
mov eax, dword [ebp - 0xd0]
movzx ecx, word [eax + 0xc]
and ecx, 0x28
jne 0x5d6295
mov dword [ebp - 0x230], 0
jmp 0x5d629f
mov dword [ebp - 0x230], 1
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0xd8], edx
cmp dword [ebp - 0xd4], 0
je 0x5d62cf
mov eax, dword [ebp - 0xd4]
movzx ecx, word [eax + 0xc]
and ecx, 0x28
jne 0x5d62cf
mov dword [ebp - 0x234], 0
jmp 0x5d62d9
mov dword [ebp - 0x234], 1
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0xdc], edx
cmp dword [ebp - 0xd0], 0
jne 0x5d6305
movzx eax, word [ebp - 0xc0]
test eax, eax
jg 0x5d6305
mov dword [ebp - 0x238], 0
jmp 0x5d630f
mov dword [ebp - 0x238], 1
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0xe0], ecx
movzx edx, word [ebp - 0xc0]
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xd0], 0
je 0x5d6444
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x110], edx
movzx eax, word [ebp - 0xc4]
push eax
movzx ecx, word [ebp - 0xc0]
add ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0056d450
add esp, 0x10
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.005e4db0
add esp, 0xc
mov ecx, dword [ebp - 0xd0]
movzx edx, word [ecx + 0xa]
and edx, 0
jne 0x5d63c8
mov eax, dword [ebp - 0x110]
push eax
call fcn.0059e260
add esp, 4
test eax, eax
je 0x5d63c8
mov ecx, dword [ebp - 0x14]
push ecx
movzx edx, word [ebp - 0xc0]
add edx, dword [ebp - 0xcc]
push edx
push 0x32
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1d90
add esp, 0x10
cmp dword [ebp - 0xf8], 0
je 0x5d63f6
movzx ecx, word [ebp - 0xc0]
add ecx, dword [ebp - 0xf8]
push ecx
movzx edx, word [ebp - 0xc4]
push edx
mov eax, dword [ebp - 0x110]
push eax
call fcn.005db170
add esp, 0xc
movzx ecx, word [ebp - 0xc4]
add ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0x110]
push edx
call fcn.005a21a0
add esp, 4
test eax, eax
jne 0x5d6431
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00571790
add esp, 8
jmp 0x5d643b
mov dword [ebp - 0xd8], 1
mov byte [ebp - 0x101], 0
jmp 0x5d6490
movzx edx, byte [ebp - 0x101]
test edx, edx
je 0x5d6490
movzx eax, word [ebp - 0xc0]
add eax, dword [ebp - 0xcc]
push eax
push 0
push 0x46
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c1d90
add esp, 0x10
mov edx, dword [ebp - 0xe4]
add edx, 1
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0xf8]
push eax
movzx ecx, byte [ebp - 0x101]
mov edx, dword [ebp - 0xe4]
sub edx, ecx
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0056ca30
add esp, 0x10
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x2a]
test eax, eax
jle 0x5d64d6
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 0x2a]
cmp dword [ebp - 0xe4], edx
jne 0x5d64d6
jmp 0x5d6522
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax*2]
mov eax, dword [ebp - 0xe0]
movzx ecx, byte [edx + eax*4 + 0x674b00]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c1f50
add esp, 0x18
movzx edx, word [ebp - 0xc0]
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xd4], 0
je 0x5d6682
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x114], edx
push 1
movzx eax, word [ebp - 0xc0]
add eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0059e0c0
add esp, 0xc
movzx edx, word [ebp - 0xc8]
push edx
movzx eax, word [ebp - 0xc0]
add eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0056d450
add esp, 0x10
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.005e4db0
add esp, 0xc
mov eax, dword [ebp - 0xd4]
movzx ecx, word [eax + 0xa]
and ecx, 0
jne 0x5d65eb
mov edx, dword [ebp - 0x114]
push edx
call fcn.0059e260
add esp, 4
test eax, eax
je 0x5d65eb
mov eax, dword [ebp - 0x14]
push eax
movzx ecx, word [ebp - 0xc0]
add ecx, dword [ebp - 0xcc]
push ecx
push 0x32
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1d90
add esp, 0x10
cmp dword [ebp - 0x100], 0
je 0x5d663b
mov eax, dword [ebp - 0x100]
push eax
movzx ecx, word [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call fcn.005db170
add esp, 0xc
mov eax, dword [ebp - 0x100]
push eax
movzx ecx, word [ebp - 0xc8]
push ecx
movzx edx, word [ebp - 0xc0]
add edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0056ca30
add esp, 0x10
movzx ecx, word [ebp - 0xc8]
add ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0x114]
push edx
call fcn.005a21a0
add esp, 4
test eax, eax
jne 0x5d6676
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00571790
add esp, 8
jmp 0x5d6680
mov dword [ebp - 0xdc], 1
jmp 0x5d66e0
movzx edx, byte [ebp - 0x102]
test edx, edx
je 0x5d66e0
movzx eax, word [ebp - 0xc0]
add eax, dword [ebp - 0xcc]
push eax
push 0
push 0x46
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c1d90
add esp, 0x10
push 1
movzx edx, word [ebp - 0xc0]
add edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0059e0c0
add esp, 0xc
mov dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0xe4]
add ecx, 1
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.0059a820
add esp, 8
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.0059a820
add esp, 8
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c28d0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x34], eax
cmp dword [ebp - 0xe4], 0
je 0x5d6764
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xdc]
movzx ecx, byte [eax + edx*2 + 0x674aec]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c1f50
add esp, 0x18
cmp dword [ebp - 0x18], 0
je 0x5d676f
jmp 0x5d6903
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x24]
and ecx, 0x20
jne 0x5d683a
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x2c]
and eax, 0x400
jne 0x5d67aa
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x2c]
and edx, 0x1000
je 0x5d681a
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x31]
cmp ecx, 1
jne 0x5d681a
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x2c]
add eax, 1
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x23c]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
push 0x85
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1d90
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0059e140
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0x20
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1dc0
add esp, 0x14
jmp 0x5d6835
mov ecx, dword [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0056cdd0
add esp, 0x10
jmp 0x5d6903
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xe8]
je 0x5d6903
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.005b6080
add esp, 4
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
movzx eax, word [edx + 0x32]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005a6cb0
add esp, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 8], 0
jmp 0x5d688a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x118]
movzx ecx, word [eax + 0x32]
cmp dword [ebp - 8], ecx
jge 0x5d68de
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 8]
movzx edx, word [eax + ecx*2]
push edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.00598620
add esp, 8
movsx ecx, ax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
push 0x63
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1dc0
add esp, 0x14
jmp 0x5d6881
mov eax, dword [ebp - 0x118]
movzx ecx, word [eax + 0x32]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x1d
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1f50
add esp, 0x18
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.005e4b10
add esp, 0x10
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x24]
and edx, 0x1000
je 0x5d6935
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x2d], 0xa9
jmp 0x5d694b
cmp dword [ebp - 0x1c], 0
je 0x5d6944
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x2d], 6
jmp 0x5d694b
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x2d], 7
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xe8]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x24]
and eax, 0x10000
je 0x5d6970
mov dword [ebp - 0x240], 1
jmp 0x5d697a
mov dword [ebp - 0x240], 0
mov ecx, dword [ebp - 0x20]
mov dl, byte [ebp - 0x240]
mov byte [ecx + 0x2e], dl
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x24]
and ecx, 0xf
jne 0x5d6998
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x2f], 1
cmp dword [ebp - 0x18], 0
je 0x5d69a5
mov dword [ebp - 0x54], 0
jmp 0x5d7301
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x24]
and ecx, 0x2000
je 0x5d72a3
mov dword [ebp - 0x124], 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x28]
add edx, 1
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x244]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x38]
push eax
call fcn.005ccf90
add esp, 4
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x14c], 0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x150], edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x30]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x2d], 0x3f
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x12c]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x2e]
cmp edx, 1
jle 0x5d6b6b
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x2e]
sub ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp - 0x154], ecx
imul edx, dword [ebp - 0x154], 0x50
add edx, 0x58
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0059a8d0
add esp, 0xc
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x5d6ad8
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x5d7722
mov edx, dword [ebp - 0x154]
add edx, 1
movzx eax, dl
mov ecx, dword [ebp - 0x120]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
mov edi, dword [ebp - 0x120]
add edi, 8
mov ecx, 0x14
mov esi, dword [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
add eax, 8
mov dword [ebp - 0x158], eax
mov dword [ebp - 0xc], 1
jmp 0x5d6b32
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x154]
jg 0x5d6b69
imul eax, dword [ebp - 0xc], 0x50
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + eax + 0x2c]
imul esi, edx, 0x50
add esi, dword [ebp - 0x158]
imul eax, dword [ebp - 0xc], 0x50
mov ecx, dword [ebp - 0x120]
lea edi, [ecx + eax + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
jmp 0x5d6b29
jmp 0x5d6b77
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x2c]
and edx, 0x10
jne 0x5d6c5f
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x24]
and ecx, 0x20
jne 0x5d6bd5
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x2c]
add eax, 1
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x248]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
push ecx
push 0
push 0x46
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1d90
add esp, 0x10
jmp 0x5d6c38
mov eax, dword [ebp - 0x150]
push eax
call fcn.005b6080
add esp, 4
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x28]
add ecx, 1
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp - 0x15c]
movzx ecx, word [eax + 0x32]
push ecx
mov edx, dword [ebp - 0x130]
push edx
push 0x6e
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1d90
add esp, 0x10
mov ecx, dword [ebp - 0x15c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.005d0270
add esp, 8
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24c]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x12c]
push edx
push 0
push 0x43
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1d90
add esp, 0x10
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0xc], 1
jle 0x5d6d91
mov dword [ebp - 0x160], 0
jmp 0x5d6ca4
mov edx, dword [ebp - 0x160]
add edx, 1
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x160]
cmp ecx, dword [eax + 0xc]
jge 0x5d6d68
imul edx, dword [ebp - 0x160], 0x30
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + edx]
mov dword [ebp - 0x164], edx
imul eax, dword [ebp - 0x160], 0x30
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x14]
cmp eax, dword [ebp - 0x2c]
jne 0x5d6ce0
jmp 0x5d6c95
mov edx, dword [ebp - 0x164]
mov eax, dword [edx + 4]
and eax, 1
je 0x5d6cf0
jmp 0x5d6c95
imul ecx, dword [ebp - 0x160], 0x30
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x14]
movzx ecx, word [eax + ecx + 0xa]
and ecx, 6
je 0x5d6d09
jmp 0x5d6c95
imul edx, dword [ebp - 0x160], 0x30
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x14]
movzx edx, word [ecx + edx + 0xc]
and edx, 0x1fff
jne 0x5d6d28
jmp 0x5d6c95
push 0
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005a1130
add esp, 0xc
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
push edx
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0059db00
add esp, 0xc
mov dword [ebp - 0x14c], eax
jmp 0x5d6c95
cmp dword [ebp - 0x14c], 0
je 0x5d6d91
mov edx, dword [ebp - 0x14c]
push edx
push 0
push 0x12c
mov eax, dword [ebp - 0x30]
push eax
call fcn.005ae3c0
add esp, 0x10
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x2c]
and edx, 0x400
or edx, 0x20
mov word [ebp - 0x148], dx
mov dword [ebp - 0x144], 0
jmp 0x5d6dc3
mov eax, dword [ebp - 0x144]
add eax, 1
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x144]
cmp edx, dword [ecx + 0xc]
jge 0x5d71d9
imul eax, dword [ebp - 0x144], 0x30
mov ecx, dword [ebp - 0x11c]
add eax, dword [ecx + 0x14]
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0x14]
cmp eax, dword [ebp - 0x10]
je 0x5d6e12
mov ecx, dword [ebp - 0x168]
movzx edx, word [ecx + 0xc]
and edx, 0x400
je 0x5d71d4
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax]
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x174], 0
cmp dword [ebp - 0x14c], 0
je 0x5d6e5c
mov edx, dword [ebp - 0x170]
mov eax, dword [edx + 4]
and eax, 1
jne 0x5d6e5c
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x170]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x128]
push ecx
movzx edx, word [ebp - 0x148]
push edx
push 0
push 0
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.005d44b0
add esp, 0x1c
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x5d71d4
push 0
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x2c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, 0x50
imul ecx, eax, 0
mov edx, dword [ebp - 0x16c]
lea eax, [edx + ecx + 0x2f0]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.005d7e70
add esp, 0x18
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x2c]
and ecx, 0x10
jne 0x5d70f2
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0xc]
sub eax, 1
cmp dword [ebp - 0x144], eax
jne 0x5d6f09
mov dword [ebp - 0x250], 0xffffffff
jmp 0x5d6f15
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x24]
and ecx, 0x20
jne 0x5d6f87
push 0
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0059e9c0
add esp, 0x18
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x180]
push ecx
push 0
mov edx, dword [ebp - 0x130]
push edx
push 0x2d
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1f50
add esp, 0x18
mov dword [ebp - 0x174], eax
jmp 0x5d70f2
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.005b6080
add esp, 4
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
movzx eax, word [edx + 0x32]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.005a6cb0
add esp, 8
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x190], 0
jmp 0x5d6fe0
mov eax, dword [ebp - 0x190]
add eax, 1
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
cmp ecx, dword [ebp - 0x18c]
jge 0x5d7034
mov edx, dword [ebp - 0x188]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x190]
movsx edx, word [eax + ecx*2]
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x180]
add eax, dword [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0059ebe0
add esp, 0x14
jmp 0x5d6fd1
cmp dword [ebp - 0x184], 0
je 0x5d7068
mov edx, dword [ebp - 0x18c]
push edx
mov eax, dword [ebp - 0x180]
push eax
push 0
mov ecx, dword [ebp - 0x130]
push ecx
push 0x1e
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1f50
add esp, 0x18
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x184], 0
jl 0x5d70d8
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x180]
push edx
push 0x65
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1dc0
add esp, 0x14
mov ecx, dword [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
push 0x81
mov edx, dword [ebp - 0x38]
push edx
call fcn.005c1f50
add esp, 0x18
cmp dword [ebp - 0x184], 0
je 0x5d70d8
push 0x10
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c2520
add esp, 8
mov ecx, dword [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.005b6d30
add esp, 0xc
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
push 0xe
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1d90
add esp, 0x10
cmp dword [ebp - 0x174], 0
je 0x5d712a
mov ecx, dword [ebp - 0x174]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.005cc940
add esp, 8
mov eax, dword [ebp - 0x16c]
movzx ecx, byte [eax + 0x32]
test ecx, ecx
je 0x5d7142
mov dword [ebp - 0x140], 1
mov edx, 0x50
imul eax, edx, 0
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ecx + eax + 0x330]
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x24]
and ecx, 0x200
je 0x5d71bb
cmp dword [ebp - 0x144], 0
je 0x5d7188
mov edx, dword [ebp - 0x178]
mov eax, dword [edx + 0x20]
cmp eax, dword [ebp - 0x124]
jne 0x5d71bb
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x24]
and edx, 0x20
je 0x5d71aa
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 0x38]
and edx, 3
cmp edx, 2
je 0x5d71bb
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x124], ecx
jmp 0x5d71c5
mov dword [ebp - 0x124], 0
mov edx, dword [ebp - 0x16c]
push edx
call fcn.005d77b0
add esp, 4
jmp 0x5d6db4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x124]
mov dword [eax + 0x38], ecx
cmp dword [ebp - 0x124], 0
je 0x5d71fa
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x128]
mov dword [edx + 8], eax
cmp dword [ebp - 0x14c], 0
je 0x5d7223
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.005a1020
add esp, 8
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c28d0
add esp, 4
push eax
mov edx, dword [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c23a0
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.005cbf90
add esp, 8
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.005cfa20
add esp, 8
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x2e]
cmp ecx, 1
jle 0x5d7288
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.0059a820
add esp, 8
cmp dword [ebp - 0x140], 0
jne 0x5d72a1
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00571790
add esp, 8
jmp 0x5d7301
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x28]
shr ecx, 5
and ecx, 1
je 0x5d72ba
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x2d], 0xa9
jmp 0x5d7301
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 0x674b08]
mov byte [eax + 0x2d], dl
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x674b0c]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1d90
add esp, 0x10
add eax, 1
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x2f], 1
cmp dword [ebp - 0x54], 0
je 0x5d7313
mov dword [ebp - 0x254], 1
jmp 0x5d731d
mov dword [ebp - 0x254], 2
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x198], 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
jmp 0x5d7356
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x2c]
add eax, 0x30
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 8], 0
jle 0x5d74e4
mov dword [ebp - 0x1a0], 0
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + 0xa]
and edx, 6
je 0x5d7378
jmp 0x5d7344
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x28]
and edx, dword [ecx + 0x48]
mov eax, dword [eax + 0x2c]
and eax, dword [ecx + 0x4c]
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x25c]
or ecx, dword [ebp - 0x258]
je 0x5d73ad
mov edx, dword [ebp + 8]
mov byte [edx + 0x32], 1
jmp 0x5d7344
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0
je 0x5d73d3
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax + 4]
and ecx, 1
jne 0x5d73d3
jmp 0x5d7344
cmp dword [ebp - 0x58], 1
jne 0x5d7406
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x19c]
push edx
call fcn.005a0f50
add esp, 0xc
test eax, eax
jne 0x5d7406
mov dword [ebp - 0x198], 2
jmp 0x5d7344
cmp dword [ebp - 0x58], 3
jge 0x5d7433
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0xa]
and ecx, 0x1000
je 0x5d7433
cmp dword [ebp - 0x198], 0
jne 0x5d742e
mov dword [ebp - 0x198], 3
jmp 0x5d7344
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 0xa]
and eax, 0x200
je 0x5d7499
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x1a4], edx
cmp dword [ebp - 0x1a4], 0
jbe 0x5d7499
mov eax, dword [ebp - 0x1a4]
and eax, 1
je 0x5d746d
mov dword [ebp - 0x260], 0x16
jmp 0x5d7477
mov dword [ebp - 0x260], 0x15
mov ecx, dword [ebp - 0x1a4]
shr ecx, 1
push ecx
mov edx, dword [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c1d60
add esp, 0xc
mov dword [ebp - 0x1a0], eax
push 0x10
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x19c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.005a1300
add esp, 0x10
cmp dword [ebp - 0x1a0], 0
je 0x5d74ce
mov ecx, dword [ebp - 0x1a0]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.005cc940
add esp, 8
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0xa]
or ecx, 4
mov edx, dword [ebp - 0x2c]
mov word [edx + 0xa], cx
jmp 0x5d7344
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jg 0x5d7326
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
jmp 0x5d751d
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x2c]
add eax, 0x30
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 8], 0
jle 0x5d7640
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + 0xa]
and edx, 6
je 0x5d7535
jmp 0x5d750b
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0xc]
and ecx, 0x82
jne 0x5d7546
jmp 0x5d750b
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 0xc]
and eax, 0x800
jne 0x5d7556
jmp 0x5d750b
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x14]
cmp edx, dword [ebp - 0x10]
je 0x5d7563
jmp 0x5d750b
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x5d756d
jmp 0x5d750b
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x1a8], edx
push 0
push 0x83
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.005d8470
add esp, 0x1c
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0
jne 0x5d75b2
jmp 0x5d750b
mov eax, dword [ebp - 0x1e4]
movzx ecx, word [eax + 0xa]
and ecx, 4
je 0x5d75c6
jmp 0x5d750b
mov edx, dword [ebp - 0x1e4]
movzx eax, word [edx + 0xc]
and eax, 1
je 0x5d75fe
mov ecx, dword [ebp - 0x1e4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
and eax, 0x800
je 0x5d75fe
mov ecx, dword [ebp - 0x1e4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
cmp dword [ecx], 1
jle 0x5d75fe
jmp 0x5d750b
mov edx, dword [ebp - 0x1e4]
mov ecx, 0xc
mov esi, dword [edx]
lea edi, [ebp - 0x1dc]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1d0], ecx
push 0x10
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x1dc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005a1300
add esp, 0x10
jmp 0x5d750b
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0
je 0x5d7719
mov eax, dword [ebp - 0x38]
push eax
call fcn.005c28d0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
push 1
push 0x43
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c1d90
add esp, 0x10
mov edx, dword [ebp - 0x30]
push edx
call fcn.0059df40
add esp, 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], 0
jmp 0x5d76a4
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x2c]
add eax, 0x30
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0xc]
jge 0x5d7719
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0xa]
and ecx, 6
je 0x5d76bd
jmp 0x5d7692
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [edx + 0x28]
and ecx, dword [eax + 0x48]
mov edx, dword [edx + 0x2c]
and edx, dword [eax + 0x4c]
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x268]
or eax, dword [ebp - 0x264]
je 0x5d76eb
jmp 0x5d7692
push 0x10
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005a1300
add esp, 0x10
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 0xa]
or eax, 4
mov ecx, dword [ebp - 0x2c]
mov word [ecx + 0xa], ax
jmp 0x5d7692
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x48]
mov edx, dword [edx + 0x4c]
push edx
mov ecx, ebp
push eax
lea edx, [0x5d7750]
call fcn.0060cf79
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004297f5
add esp, 0x268
cmp ebp, esp
call fcn.0060cfcd
mov esp, ebp
pop ebp
ret