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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
mov ebp, dword [esp + 0xc4]
push esi
mov esi, dword [esp + 0xc0]
mov ebx, dword [esp + 0xbc]
push edi
mov dword [esp + 0x58], 0
lea eax, [esi + 0x50]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xbc]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x24], eax
movzx eax, byte [ebp + 0x3c]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*8]
add eax, 8
mov dword [esp + 0x68], eax
mov eax, dword [eax + 0x2c]
push eax
mov dword [esp + 0x34], eax
lea eax, [esi + 0x1f0]
push eax
call fcn.00511800
not eax
not edx
and eax, dword [esp + 0xd8]
add esp, 8
and edx, dword [esp + 0xd4]
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], edx
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
mov esi, dword [esp + 0xc8]
mov ecx, esi
call fcn.0052edc0
mov edx, dword [esp + 0xbc]
and eax, 1
mov dword [esp + 0x18], eax
mov edi, dword [edx + 0x38]
dec edi
mov dword [edx + 0x38], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], edi
mov eax, dword [edx + 0x38]
dec eax
mov dword [esp + 0x20], edi
mov dword [edx + 0x38], eax
cmp byte [ebp + 0x3c], 0
mov dword [esp + 0x78], eax
mov dword [ebp + 0x18], eax
jbe 0x50dd6e
mov eax, dword [esp + 0x68]
test byte [eax + 0x24], 8
je 0x50dd6e
mov eax, dword [edx + 0x2c]
inc eax
push eax
push 0
push 0x47
mov dword [edx + 0x2c], eax
push ebx
mov dword [ebp], eax
call fcn.004fdf80
add esp, 0x10
mov ecx, esi
test esi, esi
jle 0x50dda3
mov ebp, dword [esp + 0xc4]
lea eax, [esi + esi*2]
shl eax, 5
add ebp, 0x330
add eax, ebp
nop dword [eax]
cmp dword [eax - 0x38], 0
jne 0x50dda3
cmp dword [eax], 0
jne 0x50dda3
dec ecx
sub eax, 0x60
test ecx, ecx
jg 0x50dd90
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0xc4]
shl eax, 5
mov ebp, dword [eax + ecx + 0x304]
mov eax, dword [esp + 0x68]
test byte [eax + 0x28], 0x20
je 0x50de9f
mov ecx, dword [ebx + 0x6c]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x50dde4
push edx
push 0
push esi
push 0xb
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x50de0f
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x50de4e
push 0
push edi
push esi
push 0xc
push ebx
call fcn.004b0300
mov ecx, dword [esp + 0xe0]
mov edx, eax
add esp, 0x14
mov dword [ecx + 0x44], edx
mov edx, ecx
xor ecx, ecx
neg ecx
sbb ecx, ecx
mov byte [edx + 0x3d], 9
add ecx, 2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
jmp 0x50f997
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xcc]
mov dword [ecx + 0x44], edx
mov edx, ecx
xor ecx, ecx
neg ecx
sbb ecx, ecx
mov byte [edx + 0x3d], 9
add ecx, 2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
jmp 0x50f997
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 0x2c]
test edx, 0x400
je 0x50e3ee
movzx eax, word [edi + 0x30]
mov dword [esp + 0x14], eax
lea ecx, [eax + 2]
cmp ecx, 1
jne 0x50def1
mov edx, dword [esp + 0xbc]
mov al, byte [edx + 0x13]
test al, al
jne 0x50dedc
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x28], eax
jmp 0x50df26
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov eax, dword [edx + eax*4 + 0xa0]
mov dword [esp + 0x28], eax
jmp 0x50df26
mov esi, dword [esp + 0xbc]
mov edx, dword [esi + 0x1c]
mov ebp, dword [esi + 0x20]
mov dword [esp + 0x28], ebp
cmp ecx, edx
jg 0x50df15
sub edx, ecx
lea eax, [ecx + ebp]
mov dword [esi + 0x1c], edx
mov edx, esi
mov dword [esi + 0x20], eax
jmp 0x50df26
mov eax, dword [esi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x28], edx
mov edx, esi
mov dword [edx + 0x2c], eax
mov esi, dword [esp + 0xcc]
xor ebp, ebp
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x14], ebp
jbe 0x50e02b
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + ebp*4]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x50e019
test byte [ecx + 0xc], 1
je 0x50dfd5
cmp ebp, 0x1f
ja 0x50df6c
mov ecx, ebp
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x20]
jmp 0x50df6e
xor eax, eax
test dword [edi + 0x28], eax
je 0x50dfb2
mov edi, dword [edx + 0x28]
inc dword [edx + 0x2c]
mov esi, dword [edx + 0x2c]
push edi
lea eax, [edi + 1]
mov dword [edx + 0x28], eax
push dword [ecx]
push edx
call fcn.004d1e70
mov eax, dword [esp + 0x34]
push esi
add eax, 2
add eax, ebp
push eax
push edi
push 0xae
push ebx
call fcn.004fdfe0
mov edi, dword [esp + 0x44]
add esp, 0x20
mov esi, dword [esp + 0xcc]
jmp 0x50e019
mov eax, dword [esp + 0x28]
add eax, 2
add eax, ebp
push eax
push dword [esp + 0x1c]
push ebp
push esi
push ecx
push edx
call fcn.004a08a0
mov eax, dword [esi + 0x10]
add esp, 0x18
mov dword [esp + 0x1c], eax
jmp 0x50e019
mov eax, dword [esp + 0x28]
add eax, 2
push 1
add eax, ebp
push eax
mov eax, dword [ecx]
push dword [eax + 0x10]
push edx
call fcn.004a0ef0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp byte [eax + 0xf], 0x4a
jne 0x50e019
test byte [edi + 0x1c], 2
je 0x50e019
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 0x10]
push dword [eax + 0xc]
push 0
push 0x47
push ebx
call fcn.004fdf80
add esp, 0x10
mov edx, dword [esp + 0xbc]
inc ebp
cmp ebp, dword [esp + 0x14]
jl 0x50df40
mov ecx, dword [ebx + 0x6c]
mov edx, dword [edi + 0x18]
mov esi, dword [esp + 0x28]
cmp dword [ebx + 0x70], ecx
jg 0x50e04b
push 0
push esi
push edx
push 0x47
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x50e076
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
lea edx, [esi + 1]
cmp dword [ebx + 0x70], ecx
jg 0x50e095
push 0
push edx
push dword [esp + 0x1c]
push 0x47
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x50e0c4
mov ebp, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test byte [edi + 0x1c], 1
mov eax, 0xfffffffa
mov edx, dword [ebx + 0x6c]
mov edi, 0xffffffff
cmovne edi, eax
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 0x24]
cmp dword [ebx + 0x70], edx
jg 0x50e0fc
push esi
push dword [esp + 0x20]
push dword [esp + 0x38]
push 6
push ebx
call fcn.004b0300
add esp, 0x14
mov edx, eax
jmp 0x50e12f
mov esi, dword [esp + 0x30]
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 6
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
push edi
push ebp
push edx
push ebx
call fcn.004fe420
mov edx, dword [esp + 0x34]
add esp, 0x10
mov eax, dword [esp + 0x44]
and dword [edx + 0x1c], 0xfffffffe
cmp byte [eax + 0x57], 0
je 0x50e154
mov dword [edx + 0x24], 0
mov ecx, dword [esp + 0xcc]
mov edi, 0xb8
mov ebp, dword [esp + 0xc4]
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x40], eax
mov eax, 0x3f
cmp byte [ebp + 0x2e], 0
cmovne eax, edi
xor ebp, ebp
mov byte [ecx + 0x3d], al
mov eax, dword [ebx + 0x6c]
mov dword [ecx + 0x44], eax
cmp dword [esp + 0x14], ebp
jbe 0x50f963
lea eax, [esi + 2]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x38]
mov edi, dword [eax + ebp*4]
mov dword [esp + 0x1c], edi
cmp ebp, 0x10
jae 0x50e1c5
mov ax, word [edx + 0x22]
mov cx, bp
shr ax, cl
test al, 1
je 0x50e1c5
push edi
push dword [esp + 0xd0]
call fcn.004a5430
jmp 0x50e3bf
test byte [edi + 0xc], 1
je 0x50e3c6
cmp ebp, 0x1f
ja 0x50e1df
mov eax, 1
mov ecx, ebp
shl eax, cl
jmp 0x50e1e1
xor eax, eax
test dword [edx + 0x28], eax
jne 0x50e3c6
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x57], 0
jne 0x50e3c6
mov ecx, dword [esp + 0xcc]
xor esi, esi
cmp dword [ecx + 0x48], esi
jle 0x50e2be
mov eax, dword [ebx]
xor edi, edi
mov dh, byte [eax + 0x57]
test dh, dh
je 0x50e21c
mov ecx, 0x590c20
jmp 0x50e22c
mov eax, dword [ecx + 0x4c]
mov eax, dword [edi + eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea ecx, [eax + ecx*4]
mov dl, byte [ecx]
cmp dl, 0x5e
jne 0x50e23e
mov eax, dword [esp + 0x34]
add eax, ebp
cmp dword [ecx + 0xc], eax
jmp 0x50e24c
cmp dl, 0x87
jne 0x50e24e
mov eax, dword [esp + 0x34]
add eax, ebp
cmp dword [ecx + 8], eax
je 0x50e260
mov ecx, dword [esp + 0xcc]
inc esi
add edi, 0x14
cmp esi, dword [ecx + 0x48]
jl 0x50e211
jmp 0x50e2ba
mov eax, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x2c], eax
cmp dword [ebx + 0x70], ecx
jg 0x50e287
push esi
push edi
push eax
movzx eax, dl
push eax
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x50e2ba
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xbc]
push 0
push 0x34
push dword [eax]
call fcn.004d5b60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50e31a
push 0x34
push 0
push esi
call fcn.005326d0
mov ecx, dword [esp + 0xc8]
or eax, 0xffffffff
mov byte [esi], 0x35
add esp, 0xc
mov word [esi + 0x22], ax
mov dword [esi + 0x18], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
cmp eax, 1
jge 0x50e31a
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.004d7b40
add esp, 0xc
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x57], 0
jne 0x50e3b4
mov eax, dword [edi]
mov ecx, dword [edi + 0x1c]
mov edx, dword [eax + 0xc]
test ecx, ecx
jle 0x50e33e
mov eax, dword [edx + 0x14]
lea ecx, [ecx + ecx*4]
mov edx, dword [eax + ecx*4 - 0xc]
mov eax, dword [esp + 0x44]
push 0
push 0x35
push eax
mov dword [esi + 0xc], edx
call fcn.004d5b60
mov edi, eax
add esp, 0xc
test edi, edi
je 0x50e3a6
push 0x34
push 0
push edi
call fcn.005326d0
or eax, 0xffffffff
mov byte [edi], 0xb0
mov word [edi + 0x22], ax
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
mov byte [eax], 0
mov eax, dword [esp + 0x40]
mov dword [edi + 0x18], 1
add eax, ebp
mov dword [esi + 0x10], edi
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0xd8]
push 0x10
push dword [eax + 0x18]
push esi
push dword [esp + 0xd4]
call fcn.004dba00
add esp, 0x1c
jmp 0x50e3a9
mov dword [esi + 0x10], edi
mov eax, dword [esp + 0x44]
mov dword [esi + 0xc], 0
test esi, esi
je 0x50e3c2
push esi
push eax
call fcn.004db740
add esp, 8
mov edx, dword [esp + 0x24]
inc ebp
cmp ebp, dword [esp + 0x14]
jl 0x50e196
mov edx, dword [esp + 0xcc]
xor ecx, ecx
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
jmp 0x50f997
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
je 0x50e4d7
mov eax, dword [edi + 0x38]
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0xcc]
mov eax, dword [eax]
inc dword [edx + 0x2c]
mov esi, dword [edx + 0x2c]
push esi
push ecx
push 0
push ebp
push eax
push edx
call fcn.004a08a0
mov edi, eax
add esp, 0x18
cmp edi, esi
je 0x50e454
test esi, esi
je 0x50e454
mov ecx, dword [esp + 0xbc]
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x50e454
movzx eax, al
mov dword [ecx + eax*4 + 0xa0], esi
inc byte [ecx + 0x13]
cmp dword [ebp + 0x34], 0
mov esi, dword [ebp + 0x10]
je 0x50e4a4
push esi
push edi
push 0xd
push ebx
call fcn.004fdf80
push 1
push edi
push esi
push dword [ebp + 0x34]
push 0x40
push ebx
call fcn.004fe0c0
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
push edx
push eax
push esi
push dword [esp + 0xfc]
push dword [esp + 0xfc]
push dword [esp + 0xf8]
call fcn.004a9f00
add esp, 0x40
mov ebp, dword [esp + 0x30]
push edi
push esi
push ebp
push 0x1e
push ebx
call fcn.004fdfe0
mov edx, dword [esp + 0xe0]
xor ecx, ecx
add esp, 0x14
neg ecx
sbb ecx, ecx
add ecx, 2
mov byte [edx + 0x3d], 0xb8
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
jmp 0x50f997
mov eax, edx
and eax, 0x102
cmp eax, 0x102
jne 0x50e707
xor edi, edi
mov dword [esp + 0x1c], 0xb8
xor esi, esi
mov dword [esp + 0x34], 0
test dl, 0x20
je 0x50e510
mov eax, dword [esp + 0x24]
lea ecx, [edi + 4]
mov eax, dword [eax + 0x38]
mov esi, dword [eax]
jmp 0x50e512
xor ecx, ecx
test dl, 0x10
je 0x50e521
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x38]
mov edi, dword [ecx + eax]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x50e533
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x18]
test esi, esi
je 0x50e5f3
mov ebp, dword [esi]
mov dword [esp + 0x3c], 0x17151618
mov edx, dword [ebp + 0x10]
push edx
call fcn.004dc4c0
add esp, 4
test eax, eax
je 0x50e586
mov edx, dword [esp + 0xbc]
push edx
call fcn.004e3df0
push 1
mov esi, eax
push esi
push dword [ebp + 0x10]
push edx
call fcn.004a0ef0
movzx eax, byte [ebp]
add esp, 0x14
inc eax
mov ecx, esi
and eax, 2
or eax, 1
mov al, byte [esp + eax + 0x3c]
jmp 0x50e5bc
lea eax, [esp + 0x2c]
push eax
push edx
push dword [esp + 0xc4]
call fcn.004daf00
push esi
push dword [esp + 0xdc]
mov dword [esp + 0x74], eax
call fcn.004a5430
movzx ecx, byte [ebp]
add esp, 0x14
mov esi, dword [esp + 0x2c]
mov al, byte [esp + ecx + 6]
mov ecx, dword [esp + 0x60]
push ecx
push dword [esp + 0x24]
movzx eax, al
push dword [esp + 0x38]
push eax
push ebx
call fcn.004fdfe0
mov ecx, dword [esp + 0xd0]
add esp, 0x14
test esi, esi
je 0x50e613
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x50e613
movzx eax, al
mov dword [ecx + eax*4 + 0xa0], esi
inc byte [ecx + 0x13]
jmp 0x50e613
xor eax, 1
push ebp
push dword [esp + 0x34]
lea eax, [eax*4 + 0x20]
push eax
push ebx
call fcn.004fdf80
mov ecx, dword [esp + 0xcc]
add esp, 0x10
test edi, edi
je 0x50e689
mov esi, dword [edi]
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
push 1
push eax
push dword [esi + 0x10]
mov dword [esp + 0x40], eax
push ecx
call fcn.004a0ef0
mov ebp, dword [esi + 0x10]
push ebp
call fcn.004dc4c0
add esp, 0x14
test eax, eax
jne 0x50e65d
mov al, byte [esi]
cmp al, 0x38
je 0x50e649
cmp al, 0x36
jne 0x50e65d
mov eax, dword [esp + 0x18]
xor eax, 1
lea edx, [eax*2 + 0x37]
mov dword [esp + 0x1c], edx
jmp 0x50e66c
mov eax, dword [esp + 0x18]
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x1c], eax
push ebp
call fcn.004dc4c0
add esp, 4
test eax, eax
jne 0x50e689
push edi
push dword [esp + 0xd0]
call fcn.004a5430
add esp, 8
cmp dword [esp + 0x18], 0
mov edx, dword [esp + 0xcc]
mov ecx, dword [ebx + 0x6c]
sete al
mov edi, dword [esp + 0x1c]
add al, 0x26
mov ebp, dword [esp + 0x30]
mov byte [edx + 0x3d], al
mov dword [edx + 0x40], ebp
mov dword [edx + 0x44], ecx
cmp edi, 0xb8
je 0x50e3d8
mov eax, dword [esp + 0xbc]
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push ebp
push 0x87
push ebx
call fcn.004fdf80
push esi
push dword [esp + 0x34]
push dword [esp + 0x4c]
push edi
push ebx
call fcn.004fdfe0
mov eax, dword [ebx + 0x6c]
add esp, 0x24
test eax, eax
jle 0x50e3d1
lea ecx, [eax + eax*4]
mov edx, 0x53
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x50e3d1
test edx, 0x200
je 0x50f05e
movzx eax, word [edi + 0x18]
xor esi, esi
movzx edi, word [edi + 0x1a]
mov ecx, edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0
movzx ebp, word [ecx + 0x1c]
mov ecx, ebp
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x13], cl
mov byte [esp + 0x5f], cl
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xcc]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x14], ecx
movzx ecx, ax
test dl, 0x20
je 0x50e78d
mov eax, dword [esp + 0x24]
mov esi, edi
mov eax, dword [eax + 0x38]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esp + 0x54], eax
test dl, 0x10
je 0x50e843
mov eax, dword [esp + 0x24]
mov edi, ebp
cmp esi, edi
cmova edi, esi
mov eax, dword [eax + 0x38]
mov eax, dword [eax + ecx*4]
mov ecx, 0x100
mov dword [esp + 0x4c], eax
test word [eax + 0xa], cx
je 0x50e805
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0xcc]
mov eax, dword [ecx + 0x2c]
inc eax
push eax
push 1
push 0x47
mov dword [ecx + 0x2c], eax
push ebx
mov dword [esi + 0x2c], eax
call fcn.004fdf80
mov ecx, dword [esp + 0x68]
add esp, 0x10
mov eax, dword [ebx + 0x6c]
shl dword [esi + 0x2c], 1
mov ebp, dword [esp + 0x50]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
movzx edx, bp
cmp byte [edx + eax], 1
sete cl
xor ecx, dword [esp + 0x18]
or dword [esi + 0x2c], ecx
jmp 0x50e809
mov ebp, dword [esp + 0x50]
cmp dword [esp + 0x54], 0
mov esi, edi
jne 0x50e843
movzx ecx, bp
mov ebp, dword [esp + 0x58]
mov eax, dword [ebp + 4]
movsx edx, word [eax + ecx*2]
test edx, edx
js 0x50e835
mov eax, dword [ebp + 0xc]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
je 0x50e83c
mov esi, edi
cmp edx, 0xfffffffe
jne 0x50e843
mov byte [esp + 0x13], 1
mov esi, edi
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x2c]
test al, 0x30
jne 0x50e897
test eax, 0x80000
je 0x50e897
mov ebp, dword [esp + 0xbc]
mov esi, 1
mov edi, dword [esp + 0xcc]
mov byte [esp + 0x13], 1
inc dword [ebp + 0x2c]
cmp dword [edi], 0
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x48], eax
mov dword [edi + 0x24], eax
je 0x50e88d
push eax
push 0
push 0x47
push ebx
call fcn.004fdf80
add esp, 0x10
mov eax, dword [ebp + 0x38]
dec eax
mov dword [ebp + 0x38], eax
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x50]
cmp bp, word [eax + 0x34]
jae 0x50e8ee
mov eax, dword [eax + 0x1c]
xor edx, edx
movzx ecx, bp
cmp byte [ecx + eax], dl
sete dl
cmp dword [esp + 0x18], edx
jne 0x50e8ee
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x5f], al
mov eax, dword [esp + 0x20]
movzx ecx, cx
movzx edi, al
mov byte [esp + 0x13], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], edi
jmp 0x50e8f2
mov edi, dword [esp + 0x40]
cmp dword [esp + 0xc8], 0
jle 0x50e91b
mov eax, dword [esp + 0x24]
test dword [eax + 0x2c], 0x100000
je 0x50e91b
push dword [esp + 0x14]
push 0x88
push ebx
call fcn.004fdf20
add esp, 0xc
lea eax, [esp + 0x60]
push eax
push esi
push dword [esp + 0x20]
mov esi, dword [esp + 0xd8]
push esi
push dword [esp + 0xcc]
call fcn.0049fcc0
mov edx, eax
add esp, 0x14
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
test eax, eax
je 0x50e9ab
test di, di
je 0x50e9ab
movzx edi, bp
add edi, eax
jne 0x50e95e
xor eax, eax
mov dword [esp + 0x3c], eax
jmp 0x50e9ab
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50e963
mov eax, dword [esp + 0x44]
sub ecx, edx
push 0
lea esi, [ecx + 1]
push esi
test eax, eax
je 0x50e985
push eax
call fcn.004d5b60
add esp, 0xc
jmp 0x50e98d
call fcn.004e8780
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
je 0x50e9a0
push esi
push edi
push eax
call fcn.00532150
add esp, 0xc
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0xcc]
mov edi, dword [esp + 0x48]
test edi, edi
je 0x50e9b8
mov eax, dword [esi + 0x28]
jmp 0x50e9bb
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x50e9d5
test byte [ecx + 0xc], 0x28
mov dword [esp + 0x64], 0
je 0x50e9dd
mov dword [esp + 0x64], 1
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x50e9f3
test byte [eax + 0xc], 0x28
mov dword [esp + 0x34], 0
je 0x50e9fb
mov dword [esp + 0x34], 1
test ecx, ecx
jne 0x50ea43
test bp, bp
jne 0x50ea43
xor eax, eax
movzx esi, bp
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x13]
test al, al
je 0x50eb20
mov dword [esp + 0x64], 0
movzx eax, bp
add eax, edx
push eax
push 0
push 0x4b
push ebx
call fcn.004fdf80
mov al, byte [esp + 0x23]
add esp, 0x10
mov edi, 1
inc esi
jmp 0x50eb2c
mov dword [esp + 0x2c], 1
movzx esi, bp
test ecx, ecx
je 0x50ea0d
mov eax, dword [ecx]
mov edi, dword [eax + 0x10]
mov eax, dword [esp + 0x20]
movzx ebp, ax
mov eax, dword [esp + 0x50]
movzx eax, ax
add eax, edx
push ebp
push eax
push edi
push dword [esp + 0xc8]
mov dword [esp + 0x3c], eax
call fcn.004a0ef0
push dword [esp + 0x64]
push dword [esp + 0xe0]
push ebx
call fcn.00521000
mov eax, dword [esp + 0x70]
add esp, 0x1c
test byte [eax + 0xa], 0x80
jne 0x50eab8
push edi
call fcn.004d8880
add esp, 4
test eax, eax
je 0x50eab8
push dword [esp + 0x38]
push dword [esp + 0x30]
push 0x32
push ebx
call fcn.004fdf80
add esp, 0x10
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x50ead4
mov eax, dword [esp + 0x50]
movzx eax, ax
add eax, ecx
push eax
push ebp
push edi
call fcn.00517dc0
add esp, 0xc
push edi
add esi, ebp
call fcn.004dc4c0
add esp, 4
test eax, eax
jne 0x50eb07
push dword [esp + 0x54]
push dword [esp + 0xd0]
call fcn.004a5430
mov ebp, dword [esp + 0x58]
add esp, 8
xor al, al
mov edi, 1
mov byte [esp + 0x13], al
jmp 0x50eb2c
mov ebp, dword [esp + 0x50]
xor al, al
mov dword [esp + 0x64], 1
mov edi, 1
mov byte [esp + 0x13], al
jmp 0x50eb2c
test edi, edi
jne 0x50ea21
mov edi, dword [esp + 0x2c]
push dword [esp + 0x60]
movzx eax, al
mov ecx, esi
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push dword [esp + 0xc8]
call fcn.004a0150
mov eax, dword [esp + 0x34]
add esp, 0x10
movzx eax, word [eax + 0x32]
test ax, ax
je 0x50eb61
cmp esi, eax
je 0x50ecbb
mov eax, dword [esp + 0x48]
test eax, eax
je 0x50eb77
push eax
push 1
push 0x47
push ebx
call fcn.004fdf80
add esp, 0x10
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x50ebcb
movzx eax, bp
push eax
push dword [esp + 0x2c]
push dword [esp + 0x40]
push ecx
push 0x40
push ebx
call fcn.004fe0c0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
push edx
push eax
push dword [esp + 0x58]
push dword [esp + 0xec]
push dword [esp + 0xec]
push dword [esp + 0xe8]
call fcn.004a9f00
add esp, 0x30
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
lea eax, [eax + edi*2]
movzx edi, byte [ecx + eax*2 + 0x5714f8]
mov eax, dword [esp + 0x24]
test dword [eax + 0x2c], 0x100000
je 0x50ec4f
cmp edi, 0x17
jne 0x50ec4f
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 8]
movsx ecx, word [eax]
mov eax, 0x66666667
add ecx, 9
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0x7c
push ebx
call fcn.004fdf20
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x54], 0
jne 0x50ec2c
cmp dword [esp + 0x4c], 0
je 0x50ec4f
push 1
push ebx
call fcn.004fe4a0
mov eax, dword [ebx + 0x6c]
mov ecx, dword [esp + 0x24]
inc eax
push eax
push ecx
push ebx
call fcn.004fe3c0
add esp, 0x14
mov dword [esp + 0x1c], 0
push esi
push dword [esp + 0x2c]
push dword [esp + 0x40]
push dword [esp + 0x20]
push edi
push ebx
call fcn.004fe0c0
mov eax, dword [esp + 0x60]
add esp, 0x18
test eax, eax
je 0x50ecbf
mov eax, dword [ebx + 0x6c]
add eax, 2
push eax
push 0
push 9
push ebx
call fcn.004fdf80
mov edi, dword [esp + 0x38]
mov eax, esi
sub eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
push eax
mov eax, 1
cmp eax, esi
push edi
push dword [esp + 0x50]
sbb eax, eax
push dword [esp + 0x30]
and eax, 4
movzx eax, byte [eax + ecx + 0x5714fa]
push eax
push ebx
call fcn.004fe0c0
mov eax, dword [esp + 0x70]
add esp, 0x28
jmp 0x50ecc3
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
movzx esi, bp
test ecx, ecx
je 0x50ed9a
mov eax, dword [ecx]
mov ecx, dword [esp + 0x40]
movzx ebp, cx
push ebp
mov edi, dword [eax + 0x10]
mov eax, dword [esp + 0x54]
movzx eax, ax
add eax, dword [esp + 0x2c]
push eax
push edi
push dword [esp + 0xc8]
mov dword [esp + 0x3c], eax
call fcn.004a0ef0
push dword [esp + 0x5c]
push dword [esp + 0xe0]
push ebx
call fcn.00521000
mov eax, dword [esp + 0x68]
add esp, 0x1c
test byte [eax + 0xa], 0x80
jne 0x50ed3a
push edi
call fcn.004d8880
add esp, 4
test eax, eax
je 0x50ed3a
push dword [esp + 0x38]
push dword [esp + 0x30]
push 0x32
push ebx
call fcn.004fdf80
add esp, 0x10
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x50ed63
push eax
push ebp
push edi
call fcn.00517dc0
mov ecx, dword [esp + 0x48]
push ecx
push ebp
push dword [esp + 0x40]
push dword [esp + 0xd4]
call fcn.004a0150
add esp, 0x1c
push edi
add esi, ebp
call fcn.004dc4c0
mov edi, dword [esp + 0xd0]
add esp, 4
test eax, eax
jne 0x50ed8c
push dword [esp + 0x4c]
push edi
call fcn.004a5430
mov ebp, dword [esp + 0x58]
add esp, 8
jmp 0x50edc8
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x34], 1
jmp 0x50edc8
cmp byte [esp + 0x5f], 0
je 0x50edc1
test eax, eax
jne 0x50edc0
movzx eax, bp
add eax, edi
push eax
push 0
push 0x4b
push ebx
call fcn.004fdf80
add esp, 0x10
mov dword [esp + 0x34], 0
inc esi
mov edi, dword [esp + 0xcc]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x50edde
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.004d5c80
add esp, 8
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x50edf3
push eax
push dword [esp + 0x48]
call fcn.004d5c80
add esp, 8
mov eax, dword [ebx + 0x6c]
mov dword [edi + 0x44], eax
test esi, esi
je 0x50ee54
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x50ee18
mov eax, dword [ebx + 0x6c]
add eax, 3
push eax
push ecx
push 0x11
push ebx
call fcn.004fdf80
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
push esi
push dword [esp + 0x2c]
movzx eax, byte [eax + ecx*2 + str.___]
push edi
push dword [esp + 0x20]
push eax
push ebx
call fcn.004fe0c0
mov eax, dword [esp + 0x34]
add esp, 0x18
test eax, eax
je 0x50ee58
push eax
push ebx
call fcn.00508390
add esp, 8
jmp 0x50ee58
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x50ee9f
mov eax, dword [ebx + 0x6c]
add eax, 2
push eax
push ecx
push 0x10
push ebx
call fcn.004fdf80
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x28]
add eax, esi
push eax
push dword [esp + 0x3c]
movzx eax, byte [esp + 0x2b]
push edi
mov edi, dword [esp + 0x30]
push edi
movzx eax, byte [eax + ecx*2 + str.___]
push eax
push ebx
call fcn.004fe0c0
add esp, 0x28
jmp 0x50eea3
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
test dword [eax + 0x2c], 0x40000
je 0x50eec4
movzx eax, bp
push eax
movzx eax, bp
push eax
push edi
push 0x7d
push ebx
call fcn.004fdfe0
add esp, 0x14
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0xc4]
test byte [ebp + 0x2c], 0x40
je 0x50ef2b
mov eax, 0x1020
test word [ecx + 0x28], ax
jne 0x50ef2b
mov esi, 1
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0xcc]
cmp dword [edx], 0
jne 0x50ef15
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x50ef15
push dword [esp + 0x74]
push edi
push eax
call fcn.00520860
mov edx, dword [esp + 0xd8]
add esp, 0xc
test dword [ebp + 0x2c], 0x1000
je 0x50f016
mov byte [edx + 0x3d], 0xb8
jmp 0x50f023
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0xc]
test byte [eax + 0x1c], 0x80
jne 0x50ef4c
push edi
mov edi, dword [esp + 0x34]
push edi
push edx
push ecx
call fcn.004a0490
add esp, 0x10
xor esi, esi
jmp 0x50eee9
xor esi, esi
cmp dword [esp + 0x30], edi
je 0x50eee5
push eax
call fcn.004f12c0
mov ebp, eax
movzx ecx, word [ebp + 0x32]
push ecx
push dword [esp + 0xc4]
call fcn.004e3d90
movzx ecx, word [ebp + 0x32]
add esp, 0xc
mov dword [esp + 0x2c], eax
xor edi, edi
xor eax, eax
mov edx, ecx
cmp ax, cx
jae 0x50efe9
mov dword [esp + 0x20], eax
nop word [eax + eax]
mov eax, dword [esp + 0x58]
xor ecx, ecx
movzx edx, word [eax + 0x34]
test edx, edx
je 0x50efbd
mov eax, dword [ebp + 4]
movzx esi, word [eax + edi*2]
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
nop dword [eax]
cmp si, word [eax]
je 0x50f011
inc ecx
add eax, 2
cmp ecx, edx
jl 0x50efb0
or ecx, 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, edi
push eax
movsx eax, cx
push eax
push dword [esp + 0x1c]
push 0x5e
push ebx
call fcn.004fdfe0
movzx ecx, word [ebp + 0x32]
inc edi
add esp, 0x14
cmp edi, ecx
jl 0x50ef90
mov esi, dword [esp + 0x20]
mov edx, ecx
mov edi, dword [esp + 0x30]
movzx eax, dx
push eax
push dword [esp + 0x30]
push dword [esp + 0x80]
push edi
push 0x1c
push ebx
call fcn.004fe0c0
mov ebp, dword [esp + 0x3c]
add esp, 0x18
jmp 0x50eee9
movzx ecx, cx
jmp 0x50efc0
cmp dword [esp + 0x18], 0
sete al
add al, 0x26
mov byte [edx + 0x3d], al
mov eax, dword [esp + 0x14]
mov dword [edx + 0x40], eax
mov al, byte [ebp + 0x2e]
and al, 1
mov byte [edx + 0x3e], al
test byte [ebp + 0x2c], 0xf
jne 0x50f03c
mov byte [edx + 0x3f], 1
test esi, esi
je 0x50f978
xor ecx, ecx
mov dword [esp + 0x58], ecx
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
jmp 0x50f997
test edx, 0x2000
je 0x50f8ef
mov edx, dword [esp + 0xbc]
mov eax, dword [edx + 0x28]
lea ebp, [edx + 0x28]
mov dword [esp + 0x2c], eax
lea edi, [edx + 0x2c]
inc eax
mov dword [esp + 0x50], 0
mov dword [ebp], eax
mov eax, dword [edi]
inc eax
mov dword [esp + 0x40], 0
mov dword [edi], eax
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x38]
dec eax
mov dword [esp + 0x1c], 0
mov dword [edx + 0x38], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x54], 0
mov dword [esp + 0x38], 0
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
mov eax, dword [eax + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x18]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x40], edx
mov edx, dword [esp + 0xc4]
mov byte [eax + 0x3d], 0x43
mov al, byte [edx + 0x2c]
cmp al, 1
jbe 0x50f201
movzx eax, al
sub eax, esi
dec eax
mov dword [esp + 0x34], eax
push 0
lea eax, [eax + eax*8]
lea eax, [eax*8 + 0x50]
push eax
push dword [esp + 0x4c]
call fcn.004d5b60
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x50f147
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
mov edx, dword [esp + 0x34]
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [esp + 0x68]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x18], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x28], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x38], xmm0
movq xmm0, qword [eax + 0x40]
mov eax, dword [esp + 0xc4]
movq qword [ecx + 0x48], xmm0
mov eax, dword [eax + 4]
add eax, 8
cmp edx, 1
jl 0x50f1f4
mov esi, dword [esp + 0xcc]
add ecx, 0x50
add esi, 0x9c
mov ebp, eax
movzx eax, byte [esi]
lea esi, [esi + 0x60]
lea ecx, [ecx + 0x48]
lea eax, [eax + eax*8]
movups xmm0, xmmword [ebp + eax*8]
movups xmmword [ecx - 0x48], xmm0
movups xmm0, xmmword [ebp + eax*8 + 0x10]
movups xmmword [ecx - 0x38], xmm0
movups xmm0, xmmword [ebp + eax*8 + 0x20]
movups xmmword [ecx - 0x28], xmm0
movups xmm0, xmmword [ebp + eax*8 + 0x30]
movups xmmword [ecx - 0x18], xmm0
movq xmm0, qword [ebp + eax*8 + 0x40]
movq qword [ecx - 8], xmm0
sub edx, 1
jne 0x50f1a7
mov eax, dword [esp + 0xbc]
lea edi, [eax + 0x2c]
lea ebp, [eax + 0x28]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xc4]
jmp 0x50f208
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
test byte [edx + 0x28], 0x10
jne 0x50f267
test byte [ecx + 0x1c], 0x80
jne 0x50f22c
inc dword [edi]
mov eax, dword [edi]
push eax
push 0
push 0x4b
push ebx
mov dword [esp + 0x50], eax
call fcn.004fdf80
add esp, 0x10
jmp 0x50f25f
push ecx
call fcn.004f12c0
mov esi, eax
mov eax, dword [ebp]
mov dword [esp + 0x44], eax
lea ecx, [eax + 1]
mov dword [ebp], ecx
movzx ecx, word [esi + 0x32]
push ecx
push eax
push 0x76
push ebx
call fcn.004fdf80
push esi
push dword [esp + 0xd4]
call fcn.0050ad90
add esp, 0x1c
inc dword [edi]
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
push dword [esp + 0x60]
push 0
push 0x47
push ebx
call fcn.004fdf80
mov ecx, dword [esp + 0x84]
add esp, 0x10
mov dword [esp + 0x6c], eax
cmp dword [ecx + 0xc], 1
jle 0x50f32a
mov ebx, dword [esp + 0xbc]
xor edi, edi
mov ebp, dword [esp + 0x28]
xor esi, esi
mov edx, 0x8006
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + esi]
add eax, esi
cmp eax, ebp
je 0x50f2f3
test word [eax + 0xa], dx
jne 0x50f2f3
mov edx, 0x3fff
test word [eax + 0xc], dx
mov edx, 0x8006
je 0x50f2f3
test dword [ecx + 4], 0x400000
jne 0x50f2f3
push 0
push 0
push ecx
push dword [esp + 0x50]
call fcn.004a85e0
push eax
push dword [esp + 0x4c]
push ebx
call fcn.004d8390
add esp, 0x1c
mov dword [esp + 0x38], eax
mov edx, 0x8006
jmp 0x50f2f7
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x74]
inc edi
add esi, 0x30
cmp edi, dword [ecx + 0xc]
jl 0x50f2a1
mov ebx, dword [esp + 0xc0]
test eax, eax
je 0x50f32a
push eax
push 0
push 0x1002c
push dword [esp + 0xc8]
call fcn.004e97f0
add esp, 0x10
mov dword [esp + 0x38], eax
mov ebp, dword [esp + 0xbc]
push str.MULTI_INDEX_OR
push 1
push ebp
call fcn.00507a40
mov edx, dword [esp + 0x54]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x18], ecx
cmp dword [edx + 0xc], ecx
jle 0x50f701
mov esi, dword [esp + 0x30]
mov edi, 0x400
nop dword [eax]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, dword [edx + 0x18]
cmp dword [eax + 0x14], esi
je 0x50f378
test word [eax + 0xc], di
je 0x50f6f3
mov eax, dword [eax]
xor edi, edi
mov dword [esp + 0x3c], edi
test eax, eax
je 0x50f39f
push edi
push edi
push eax
push dword [esp + 0x50]
call fcn.004a85e0
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov edx, dword [esp + 0x48]
mov esi, eax
jmp 0x50f3a1
xor esi, esi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], esi
cmp byte [eax + 0x57], 0
je 0x50f3be
test esi, esi
je 0x50f6ea
push esi
push eax
jmp 0x50f6da
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50f3cb
mov dword [eax + 0xc], esi
mov esi, eax
lea eax, [ecx + 1]
push eax
push str.INDEX__d
push 1
push ebp
call fcn.00507a40
push dword [esp + 0x3c]
push 0x20
push 0
push 0
push 0
push esi
mov esi, dword [esp + 0x74]
push esi
push ebp
call fcn.0050cd50
mov ebp, eax
add esp, 0x30
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x50f6c6
push 0
lea ecx, [ebp + 0x2f8]
push ecx
push esi
push dword [esp + 0xc8]
call fcn.00511240
mov eax, dword [esp + 0xd4]
add esp, 0x10
mov esi, dword [esp + 0x18]
test byte [eax + 0x28], 0x10
jne 0x50f596
mov eax, dword [esp + 0x48]
mov ebp, esi
mov eax, dword [eax + 0xc]
dec eax
cmp esi, eax
mov eax, 0xffffffff
cmove ebp, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], ebp
test byte [eax + 0x1c], 0x80
jne 0x50f481
mov edi, dword [esp + 0x1c]
push edi
push 0xffffffffffffffff
push dword [esp + 0x38]
push eax
push ebx
call fcn.004d8dd0
push ebp
push edi
push 0
push dword [esp + 0x60]
push 0x2f
push ebx
call fcn.004fe0c0
add esp, 0x2c
mov edi, eax
jmp 0x50f592
mov esi, dword [eax + 8]
test esi, esi
je 0x50f498
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x50f498
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x50f488
movzx ebp, word [esi + 0x32]
push ebp
push dword [esp + 0xc0]
call fcn.004e3d90
add esp, 8
mov dword [esp + 0x34], eax
xor edi, edi
test ebp, ebp
je 0x50f4dc
lea ecx, [edi + eax]
mov eax, dword [esi + 4]
push ecx
movsx eax, word [eax + edi*2]
push eax
push dword [esp + 0x38]
push dword [esp + 0x70]
push ebx
call fcn.004d8dd0
mov eax, dword [esp + 0x48]
inc edi
add esp, 0x14
cmp edi, ebp
jl 0x50f4b6
mov edi, dword [esp + 0x24]
test edi, edi
je 0x50f4ff
push ebp
push eax
push 0
push dword [esp + 0x4c]
push 0x1d
push ebx
call fcn.004fe0c0
add esp, 0x18
mov dword [esp + 0x3c], eax
test edi, edi
js 0x50f546
push dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
push ebp
push esi
push 0x61
push ebx
call fcn.004fdfe0
push ebp
push esi
push dword [esp + 0x38]
push dword [esp + 0x60]
push 0x8a
push ebx
call fcn.004fe0c0
add esp, 0x2c
test edi, edi
je 0x50f54a
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x50f54a
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x50f54a
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
cmp ebp, 1
jne 0x50f57c
mov ebp, dword [esp + 0x14]
test esi, esi
je 0x50f576
mov ecx, dword [esp + 0xbc]
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x50f576
movzx eax, al
mov dword [ecx + eax*4 + 0xa0], esi
inc byte [ecx + 0x13]
mov esi, dword [esp + 0x18]
jmp 0x50f596
mov eax, dword [esp + 0xbc]
cmp ebp, dword [eax + 0x1c]
jle 0x50f58e
mov dword [eax + 0x1c], ebp
mov dword [eax + 0x20], esi
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x50f5b5
push 0
push dword [esp + 0x24]
push dword [esp + 0x68]
push 0xa
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x50f5e8
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
je 0x50f60a
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x50f5fe
mov eax, 0x590c20
jmp 0x50f607
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x30]
mov ecx, 1
mov eax, dword [esp + 0x54]
test dl, 2
cmovne eax, ecx
mov ecx, dword [ebp + 0x348]
mov dword [esp + 0x54], eax
test dword [ecx + 0x2c], 0x200
je 0x50f65b
test esi, esi
je 0x50f63c
mov eax, dword [esp + 0x50]
cmp dword [ecx + 0x20], eax
jne 0x50f65b
mov eax, dword [esp + 0x64]
test byte [eax + 0x1c], 0x80
je 0x50f652
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x50f65b
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x50], eax
jmp 0x50f663
mov dword [esp + 0x50], 0
test dl, 1
je 0x50f673
mov eax, dword [esp + 0xc4]
or dword [eax + 0x30], 1
push ebp
call fcn.00510260
mov ebp, dword [esp + 0xc0]
add esp, 4
mov ecx, dword [ebp + 0xe4]
test ecx, ecx
jne 0x50f697
xor eax, eax
mov dword [ebp + 0xe4], eax
jmp 0x50f6cd
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x50f6b2
mov eax, 0x590c20
mov eax, dword [eax + 8]
mov dword [ebp + 0xe4], eax
jmp 0x50f6cd
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebp + 0xe4], eax
jmp 0x50f6cd
mov ebp, dword [esp + 0xbc]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x50f6e2
push eax
push dword [esp + 0x48]
call fcn.004db740
add esp, 8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
mov edi, 0x400
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [edx + 0xc]
jl 0x50f360
mov ecx, dword [ebp + 0xe4]
test ecx, ecx
jne 0x50f70f
xor eax, eax
jmp 0x50f72d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x50f721
mov eax, 0x590c20
jmp 0x50f72a
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0xcc]
mov dword [ebp + 0xe4], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x48], eax
test eax, eax
je 0x50f74c
mov eax, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
test eax, eax
je 0x50f769
push eax
push ebp
mov dword [eax + 0xc], 0
call fcn.004db740
add esp, 8
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x50f77b
mov eax, 0x590c20
jmp 0x50f788
mov eax, dword [esp + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 0x6c]
mov edx, dword [esi + 0xc]
cmp dword [ebx + 0x70], ecx
jg 0x50f7a8
push 0
push edx
push 0
push 9
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x50f7d7
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x50f7f5
push edx
push ebx
push ecx
call fcn.004c4330
add esp, 0xc
jmp 0x50f7fe
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [ebx + 0x6c]
mov edx, esi
mov dword [edx + 0x44], eax
mov eax, dword [esp + 0xc4]
cmp byte [eax + 0x2c], 1
jbe 0x50f8d2
mov esi, dword [esp + 0x4c]
test ebp, ebp
je 0x50f872
cmp esi, dword [ebp + 0x164]
jae 0x50f85d
cmp esi, dword [ebp + 0x15c]
jb 0x50f842
mov eax, dword [ebp + 0x158]
mov dword [esi], eax
mov dword [ebp + 0x158], esi
jmp 0x50f8d2
cmp esi, dword [ebp + 0x160]
jb 0x50f85d
mov eax, dword [ebp + 0x150]
mov dword [esi], eax
mov dword [ebp + 0x150], esi
jmp 0x50f8d2
cmp dword [ebp + 0x210], 0
je 0x50f872
push esi
push ebp
call fcn.004b8600
add esp, 8
jmp 0x50f8cb
test esi, esi
je 0x50f8d2
cmp dword [0x58d428], 0
je 0x50f8c1
mov eax, dword [0x590a50]
test eax, eax
je 0x50f892
push eax
call dword [0x58d478]
add esp, 4
push esi
call dword [0x58d454]
sub dword [0x5909e8], eax
dec dword [0x590a0c]
push esi
call dword [0x58d44c]
mov eax, dword [0x590a50]
add esp, 8
test eax, eax
je 0x50f8cb
push eax
call dword [0x58d480]
jmp 0x50f8c8
push esi
call dword [0x58d44c]
add esp, 4
mov edx, dword [esp + 0xcc]
cmp dword [esp + 0x54], 0
jne 0x50e3d8
push dword [esp + 0x28]
push edx
call fcn.004a5430
add esp, 8
jmp 0x50e3d1
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0xcc]
test byte [eax + 0x28], 0x40
je 0x50f91a
xor ecx, ecx
mov byte [edx + 0x3d], 0xb8
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
jmp 0x50f997
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push ebp
push edi
mov al, byte [ecx + 0x571528]
mov byte [edx + 0x3d], al
movzx eax, byte [ecx + 0x57152c]
push eax
push ebx
mov dword [edx + 0x40], edi
call fcn.004fdf80
mov edx, dword [esp + 0xdc]
xor ecx, ecx
inc eax
add esp, 0x10
neg ecx
sbb ecx, ecx
mov dword [edx + 0x44], eax
add ecx, 2
mov byte [edx + 0x3f], 1
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
jmp 0x50f997
mov edx, ecx
xor ecx, ecx
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
jmp 0x50f997
mov ecx, dword [esp + 0x58]
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
jmp 0x50f997
mov edx, dword [esp + 0xcc]
mov eax, dword [ecx + 0xc]
xor edi, edi
mov esi, dword [ecx + 0x18]
mov dword [esp + 0x40], edi
mov dword [esp + 0x20], eax
test eax, eax
jle 0x50fc10
jmp 0x50f9b8
mov edx, dword [esp + 0xcc]
xor ebp, ebp
test byte [esi + 0xa], 6
jne 0x50fbf8
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edx + 0x58]
and eax, dword [edx + 0x5c]
or ecx, eax
je 0x50f9e4
mov eax, dword [esp + 0xc4]
or dword [eax + 0x30], 2
jmp 0x50fbf8
mov eax, dword [esp + 0x68]
mov edx, dword [esi]
mov dword [esp + 0x2c], edx
mov al, byte [eax + 0x24]
test al, 0x58
je 0x50fa95
mov ecx, dword [edx + 4]
test cl, 3
je 0x50fbf8
test al, 8
je 0x50fa12
test cl, 1
je 0x50fbf8
mov ecx, dword [esp + 0xc4]
mov edx, dword [edx + 0x24]
cmp dword [ecx + 0x1f8], edx
jne 0x50fa2d
mov ecx, 1
xor edx, edx
jmp 0x50fa63
mov edi, dword [ecx + 0x1f4]
mov eax, 1
cmp edi, eax
jle 0x50fa4e
add ecx, 0x1fc
cmp dword [ecx], edx
je 0x50fa7e
inc eax
add ecx, 4
cmp eax, edi
jl 0x50fa42
xorps xmm0, xmm0
movlpd qword [esp + 0x6c], xmm0
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xcc]
and ecx, dword [eax + 0x58]
and edx, dword [eax + 0x5c]
or ecx, edx
jne 0x50fbf8
mov edx, dword [esp + 0x2c]
jmp 0x50fa9c
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x50fa5f
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
jne 0x50fb1a
mov eax, dword [eax + 4]
xorps xmm0, xmm0
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x84], ebp
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
mov dword [esp + 0x88], 0x4a89d0
mov dword [esp + 0x9c], eax
test edx, edx
je 0x50fb02
push edx
lea eax, [esp + 0x88]
push eax
call fcn.0050c9c0
add esp, 8
cmp word [esp + 0x98], bp
je 0x50fb1f
mov edi, 2
mov dword [esp + 0x40], edi
jmp 0x50fbf8
cmp ecx, 3
jge 0x50fb40
mov eax, 0x1000
test word [esi + 0xa], ax
je 0x50fb40
test edi, edi
jne 0x50fbf8
mov edi, 3
mov dword [esp + 0x40], edi
jmp 0x50fbf8
mov eax, 0x200
test word [esi + 0xa], ax
je 0x50fbae
mov eax, dword [esp + 0xcc]
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x50fbae
mov ebp, dword [ebx + 0x6c]
mov edi, edx
and edx, 1
shr edi, 1
or edx, 0x10
cmp dword [ebx + 0x70], ebp
jg 0x50fb7e
push 0
push 0
push edi
push edx
push ebx
call fcn.004b0300
add esp, 0x14
mov ebp, eax
jmp 0x50fbae
lea eax, [ebp + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [ebx + 0x68]
add ecx, ebp
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
push 0x10
push dword [esp + 0x7c]
push dword [esp + 0x34]
push dword [esp + 0xc8]
call fcn.004dba00
add esp, 0x10
test ebp, ebp
je 0x50fbef
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x50fbdd
mov eax, 0x590c20
jmp 0x50fbec
mov eax, dword [ebx + 0x68]
lea ecx, [ebp*4]
add ecx, ebp
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
or word [esi + 0xa], 4
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
add esi, 0x30
dec ebp
mov dword [esp + 0x20], ebp
test ebp, ebp
jg 0x50f9b1
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x1c], edi
test edi, edi
jg 0x50f990
mov ebp, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
test ebp, ebp
jle 0x50fd42
mov ebx, dword [esp + 0xbc]
mov edx, 0xb
test byte [edi + 0xa], 6
jne 0x50fd2f
movzx eax, word [edi + 0xc]
test al, 0x82
setne cl
bt ax, dx
setb al
test al, cl
je 0x50fd2f
mov ecx, dword [esp + 0x30]
cmp dword [edi + 0x14], ecx
jne 0x50fd2f
mov eax, dword [esp + 0x68]
test byte [eax + 0x24], 0x58
jne 0x50fd2f
mov eax, dword [edi]
push 0
push 0x83
push dword [esp + 0xdc]
mov dword [esp + 0x78], eax
push dword [esp + 0xdc]
push dword [edi + 0x18]
push ecx
push dword [esp + 0x8c]
call fcn.00511760
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x50fd2a
test byte [esi + 0xa], 4
jne 0x50fd2a
test byte [esi + 0xc], 1
je 0x50fcd1
mov eax, dword [esi]
test dword [eax + 4], 0x1000
je 0x50fcd1
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jg 0x50fd2a
mov eax, dword [esi]
push 0x10
push dword [esp + 0x7c]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x8c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x9c], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0xac], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x8c]
push eax
push ebx
call fcn.004dba00
add esp, 0x10
or word [esi + 0xa], 4
mov edx, 0xb
dec ebp
add edi, 0x30
test ebp, ebp
jg 0x50fc36
mov ebx, dword [esp + 0xc0]
mov esi, dword [esp + 0xcc]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x20], eax
test eax, eax
je 0x5100b6
movzx eax, byte [esi + 0x3c]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx*8 + 0x18]
mov dword [esp + 0x7c], ecx
test byte [ecx + 0x1c], 0x80
jne 0x50fe0e
mov edx, dword [esp + 0xbc]
mov ecx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
cmp ecx, 2
jl 0x50fd9b
lea eax, [ebp + 2]
mov dword [edx + 0x20], eax
lea eax, [ecx - 2]
mov dword [edx + 0x1c], eax
jmp 0x50fda7
mov eax, dword [edx + 0x2c]
lea ebp, [eax + 1]
add eax, 2
mov dword [edx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
lea edx, [ebp + 1]
mov esi, dword [esi + 4]
cmp dword [ebx + 0x70], ecx
jg 0x50fdd5
push 0
push edx
push esi
push 0x87
push ebx
call fcn.004b0300
mov edx, 1
add esp, 0x14
mov dword [esp + 0x14], edx
jmp 0x50fef8
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, 1
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esp + 0x14], edx
jmp 0x50fef8
mov esi, dword [ecx + 8]
test esi, esi
je 0x50fe25
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x50fe25
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x50fe15
movzx edx, word [esi + 0x32]
mov dword [esp + 0x14], edx
lea edi, [edx + 1]
cmp edi, 1
jne 0x50fe5c
mov edi, dword [esp + 0xbc]
mov al, byte [edi + 0x13]
test al, al
jne 0x50fe4b
inc dword [edi + 0x2c]
mov ebp, dword [edi + 0x2c]
jmp 0x50feaf
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebp, dword [edi + eax*4 + 0xa0]
jmp 0x50feaf
mov eax, dword [esp + 0xbc]
mov ebp, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x6c], eax
cmp edi, eax
jg 0x50fe96
mov ebx, dword [esp + 0xbc]
lea eax, [edi + ebp]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x6c]
sub eax, edi
mov edi, ebx
mov ebx, dword [esp + 0xc0]
mov dword [edi + 0x1c], eax
jmp 0x50feb3
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0x2c]
lea ebp, [eax + 1]
add eax, edi
mov edi, dword [esp + 0xbc]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x1c], ebp
xor edi, edi
test edx, edx
je 0x50fef8
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
add eax, edi
push eax
mov eax, dword [esi + 4]
movsx eax, word [eax + edi*2]
push eax
push dword [esp + 0x38]
push ecx
push ebx
call fcn.004d8dd0
mov ecx, dword [esp + 0x90]
inc edi
mov eax, dword [esp + 0x80]
add esp, 0x14
cmp edi, ebp
jl 0x50fec4
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
lea esi, [ebp + 1]
mov edi, dword [ebx + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
cmp dword [ebx + 0x70], edi
jg 0x50ff25
push edx
push esi
push 0
push eax
push 0x1d
push ebx
call fcn.00497760
mov edx, dword [esp + 0x2c]
add esp, 0x18
mov edi, eax
jmp 0x50ff53
mov esi, dword [esp + 0x6c]
lea eax, [edi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], esi
lea esi, [ebp + 1]
mov dword [eax + ecx*4], 0xfd1d
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x50ff6f
push ebp
push edx
push esi
push 0x61
push ebx
call fcn.004b0300
mov edx, dword [esp + 0x28]
add esp, 0x14
jmp 0x50ff99
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
lea esi, [ebp + 1]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
cmp dword [ebx + 0x70], ecx
jg 0x50ffc3
push edx
push esi
push ebp
push eax
push 0x8a
push ebx
call fcn.00497760
mov edx, dword [esp + 0x2c]
add esp, 0x18
jmp 0x50ffed
mov esi, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], esi
lea esi, [ebp + 1]
mov dword [eax + ecx*4], 0xfd8a
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
cmp dword [ebx + 0x70], ecx
jg 0x510019
push edx
push esi
push 0
push eax
push 0xb4
push ebx
call fcn.00497760
mov edx, dword [esp + 0x2c]
add esp, 0x18
jmp 0x510048
mov edx, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xfdb4
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], edx
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x51005f
lea ecx, [eax + eax*4]
mov esi, 0x10
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], si
mov eax, dword [ebx]
mov esi, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x510071
mov eax, 0x590c20
jmp 0x51007a
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
inc edx
mov dword [eax + 8], esi
cmp edx, 1
jne 0x5100a4
test ebp, ebp
je 0x5100b6
mov ecx, dword [esp + 0xbc]
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x5100b6
movzx eax, al
mov dword [ecx + eax*4 + 0xa0], ebp
inc byte [ecx + 0x13]
jmp 0x5100b6
mov ecx, dword [esp + 0xbc]
cmp edx, dword [ecx + 0x1c]
jle 0x5100b6
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], ebp
mov eax, dword [esp + 0xcc]
mov ecx, eax
mov edx, dword [eax]
test edx, edx
je 0x510145
mov eax, dword [ebx + 0x6c]
lea esi, [ebx + 0x6c]
mov dword [ecx + 0x1c], eax
mov ecx, dword [esi]
cmp dword [ebx + 0x70], ecx
jg 0x5100ee
push 0
push edx
push 1
push 0x47
push ebx
call fcn.004b0300
add esp, 0x14
lea ebp, [ebx + 0x68]
jmp 0x51011f
lea eax, [ecx + 1]
mov dword [esi], eax
lea ebp, [ebx + 0x68]
mov eax, dword [ebp]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0xcc]
cmp dword [edx + 0x38], 0
je 0x5101e6
mov eax, dword [esp + 0xcc]
mov edx, esi
mov dword [esp + 0x2c], esi
mov edi, dword [eax + 0x38]
lea eax, [ebx + 0x70]
jmp 0x51015f
mov edi, dword [ecx + 0x38]
lea edx, [ebx + 0x6c]
mov dword [esp + 0x2c], edx
lea eax, [ebx + 0x70]
lea ebp, [ebx + 0x68]
mov esi, edx
test edi, edi
je 0x510246
mov ecx, dword [edi + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x51019c
mov edx, dword [esp + 0x20]
push 0
push edx
push 0
push 0x4a
push ebx
call fcn.004b0300
mov ebx, dword [esp + 0xd0]
add esp, 0x14
mov eax, dword [esi]
mov edx, dword [esp + 0xcc]
mov dword [edi + 0xc], eax
inc byte [ebx + 0x1a]
jmp 0x5101ed
mov ebx, dword [esp + 0xbc]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebp]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xcc]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov dword [edi + 0xc], eax
inc byte [ebx + 0x1a]
jmp 0x5101ed
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x74]
xor edi, edi
mov esi, dword [ebp + 0x18]
cmp dword [ebp + 0x14], edi
jle 0x510246
nop dword [eax + eax]
test byte [esi + 0xa], 6
jne 0x510236
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edx + 0x58]
and eax, dword [edx + 0x5c]
or ecx, eax
jne 0x510236
mov eax, dword [esp + 0x68]
test byte [eax + 0x24], 0x40
jne 0x510236
push 0x10
push dword [esp + 0x7c]
push dword [esi]
push ebx
call fcn.004dba00
add esp, 0x10
or word [esi + 0xa], 4
mov edx, dword [esp + 0xcc]
inc edi
add esi, 0x30
cmp edi, dword [ebp + 0x14]
jl 0x510200
mov edx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
mov eax, dword [edx + 0x58]
mov edx, dword [edx + 0x5c]
pop ebx
add esp, 0xa8
ret